Guides · ← All guides · Published November 14, 2026 · Reviewed November 14, 2026 · Ingenious AI team · 8 min read
AdministratorAccess on an Eval Role: The CRITICAL Finding Explained
The most powerful managed policy in the account, attached to the identity that runs untrusted test data. One reference costs 25 points — here is what to replace it with.
The short answer: remove it and replace it with a scoped custom policy — today. A reference to AdministratorAccess or PowerUserAccess in your declared files is EvalEgress's admin_managed_policy class (CRITICAL, weight 25, the joint-heaviest in the scanner). An eval agent running under that policy can do nearly everything in the account, and eval agents follow instructions found in the data they evaluate. Build the replacement from the actions one logged run actually calls, attach it, detach the admin policy, and confirm with the free scan that the class no longer appears in the declared set.
What is an admin managed policy?
An admin managed policy is a vendor-supplied policy document granting broad administrative power: AdministratorAccess allows every action on every resource, and PowerUserAccess allows everything except managing the account's own users and billing. Attaching either to a role gives that role's holder near-total control of the cloud account. EvalEgress matches either name in declared files as class admin_managed_policy, CRITICAL severity.
Why is the eval role the worst place for an admin policy?
Consider what an eval identity is for. It runs a model against test data that is adversarial on purpose — prompt-injection cases, tool-use traps, documents with embedded instructions — to find out what the model does with them. The harness gives the agent tools and credentials so it can work. Attaching AdministratorAccess to that identity means the experiment's failure mode is not 'the model produced a bad answer' but 'the model, or the data steering it, exercised admin rights in a production account'. The policy converts an evaluation result into an infrastructure event.
It also inverts the usual defence. Ordinary admin roles are held by named humans with MFA, whose actions are attributable and who can be asked what they intended. An eval role is held by software, acts at machine speed across hundreds of test cases, and its 'intent' is whatever the test set asked for. The scanner's CRITICAL rating encodes exactly this: of the three CRITICAL permission classes, this one is the most common in real eval folders, because it is the one consoles offer as the one-click default when a role is created in a hurry.
What does a scoped replacement look like?
Small. A real eval's footprint is a dataset read, a results write, a model invocation, perhaps a parameter fetch at start-up — a policy of a dozen lines naming those actions on those resources. Build it from a logged run: let the eval execute once under observation, collect the distinct actions it called, and write exactly those. The gap between that list and AdministratorAccess is the exposure you were carrying without knowing — usually hundreds of services' worth of operations that no eval has ever called.
Attach the scoped policy before detaching the admin one if the run schedule demands continuity, but treat the overlap as measured in hours, not weeks: IAM unions all attached policies, so while both are attached the role is still an admin role, and the scan will keep reporting the class until the reference is gone from the declared files. Detach, re-run one eval in staging to surface any genuinely-missed action as a named denial, add that action if it is legitimate, and the replacement is done.
How does this class interact with the rest of a report?
An admin reference rarely travels alone. It arrives by copying: the deployment role's policy file was duplicated for the eval, and the same copying tends to bring the credentials file, the open ingress rule and the debug settings from the same source. When admin_managed_policy appears, read the whole report as an X-ray of one decision — 'we reused the production setup' — and fix the decision, not just the line. The boundary framing in eval-to-production exposure exists for exactly this pattern.
It also changes the priority of neighbouring findings. A generic_api_key beside an admin policy means the key's owner can do anything; scoped down, the same key is a billing concern. Weights triage a single report, but combinations set the real urgency: CRITICAL permission classes multiply every credential class near them. That is why the pre-deployment checklist works permissions immediately after credentials, before network and debug classes.
Worked example: Granite Peak Insurance, scored end to end
Example. Granite Peak Insurance, a fictional regional insurer, stood up a claims-letter eval in a week by cloning its deployment role — admin policy and all — 'to unblock the team', with a note to scope it later. The declared set the scanner read also contained the cloned role's wildcard principal statement and a pasted service key. The scan returned:
| Finding | Class | Severity | Weight |
|---|---|---|---|
| AdministratorAccess referenced in the cloned role policy | admin_managed_policy | CRITICAL | 25 |
| Wildcard principal ("*") in the cloned policy statement | wildcard_principal | CRITICAL | 25 |
| Service API key (sk-) in the harness config | generic_api_key | HIGH | 15 |
The arithmetic: 25 + 25 + 15 = 65 points of exposure, so the score is 100 − 65 = 35/100, grade D. Scoring uses EvalEgress's published weights — CRITICAL 25, HIGH 15, MEDIUM 8, LOW 3 — with grades at A ≥ 90, B ≥ 75, C ≥ 50 and D ≥ 25.
Later arrived via the scan report. A logged run showed the eval called nine distinct actions; the scoped replacement policy names those nine on the eval's dataset and results resources. The admin reference and the wildcard principal both vanished with the cloned file, the service key was rotated into the secrets manager as a dedicated eval key, and the re-scan reported zero findings. The team's retrospective kept one sentence: the clone saved an hour in week one and spent it, with interest, in week three.
Replace an admin policy on an eval role: the five actions
Scope from evidence, then detach:
- Log one full eval run and collect every action called. The replacement policy is written from this list — distinct actions, distinct resources, nothing speculative.
- Write and attach the scoped custom policy. Named actions on the dataset and results resources; expect a dozen lines where the admin policy granted the account.
- Detach AdministratorAccess or PowerUserAccess. While it remains attached — or referenced in the declared files — the role is an admin role and the class keeps firing.
- Stage one run and answer denials individually. A denied call names its action; add it only if the eval legitimately needs it, with a comment recording why.
- Re-scan the declared set and keep the report. Confirm admin_managed_policy is absent; the before-and-after pair is the audit trail for the scoping decision.
Admin on an eval role is a copied shortcut with account-wide consequences. The replacement is an afternoon of evidence-based scoping — and the same operation closes the wildcard classes described in the wildcard action guide.
Keep checking the boundary
Run the free exposure scan on the files your next eval will run with. Compare plans, read the scoring documentation, and keep reading: what is eval-to-production exposure?, what is egress in AI evaluation?, pre-deployment eval safety checklist, how to stop an AI evaluation from reaching production secrets, wildcard principal in a resource policy, public-read bucket holding eval results, open ingress in an eval network configuration. EvalEgress is one of the Ingenious AI platforms.
Sources
- EvalEgress scoring documentation — the 16 finding classes, severity weights and declared-surface scope every judgement in this guide applies, published 2026.
- What Is Eval-to-Production Exposure? — the companion guide this page builds on, published November 7, 2026.
- AWS IAM User Guide — IAM JSON policy elements reference — AWS's reference for the Action, Principal and Resource elements these findings are read from, current edition.
Frequently asked questions
Is PowerUserAccess safer than AdministratorAccess?
Marginally — it excludes managing users, groups and billing. For an eval role the difference is immaterial: everything the eval could damage or exfiltrate remains granted. The scanner classes them together, and so should you.
We only attached it temporarily. Does the scan know that?
The scan reads declarations, not intentions — the reference in the file is the exposure, for exactly as long as it sits there. Temporary admin grants are how permanent ones begin; scope first, then run.
What if the eval genuinely needs many services?
Then the scoped policy will be longer — dozens of named actions across the services the run demonstrably calls. Length is fine. What no eval needs is every action on every resource, which is the only thing the admin policy adds beyond a long honest list.
Who should approve the scoped replacement?
Whoever owns the account's IAM — and the review is quick precisely because the policy is short and each line maps to a logged call. Admin policies bypass that review; scoped ones invite it.
Does removing the reference from our template files suffice if the role still has it attached?
The scanner judges declared files, so the finding closes — but the role remains admin in fact. Align the two: the declared template is supposed to describe the real role, and drift between them is its own finding waiting to happen.