TAM-A-RCH-003 · Agent · Reach: What they can touch
Agents With Their Own Accounts
The agent has its own service account, key or token, and the quality of how that identity is managed decides how much damage it can do.
When agents get their own identities, the usual machine-identity problems follow. Keys live too long, scopes are too wide, secrets end up in code, accounts are shared between agents, and nobody removes the identity when the project ends.
These problems are worse for agents because an agent can decide what to do with its access. A static script uses a token in one way. An agent might use it in any way the token allows.
It is hard to spot because machine identities rarely get access reviews. A weak or forgotten one can sit for years until someone, or something, uses it.
What it looks like
- A staging agent's cloud key still works in production because nobody scoped it.
- A token committed in a test file lets anyone who clones the repo act as the agent.
- An old demo agent's service account is still an owner on a project.
Variants (7)
TAM-A-RCH-003.1Abandoned Agent Account+
The agent was retired but its identity and access were not.
Dormant identities are ideal for attackers because no one is watching them. Reconcile agent identities against a live inventory, and alert when a stale account suddenly authenticates. Tie every agent identity to a project and an owner who must renew it.
TAM-A-RCH-003.2Agent Allowed to Do Too Much+
The agent can take more actions, or heavier ones, than its job needs.
Broad tools, write permissions and no approval step let a single error cause large damage. Compare the tool list with the task, and add confirmations for risky operations. Look at calls to rarely used tools, and at anything the agent can do that the job description never mentions.
TAM-A-RCH-003.3Agent Nobody Registered+
An agent exists and holds access, but is missing from any inventory.
Shadow agents arise from team experiments and SaaS add-ons. They hold real credentials without review. Hunt through OAuth grants, API key lists and service principals for identities with no owner on record, and ask teams what they have connected. Count what you find against the inventory, and treat the gap as a risk measure.
TAM-A-RCH-003.4Keys That Never Expire+
The agent's credentials last months or years.
A stolen long-lived key stays useful for a long time. Prefer short-lived tokens issued per task. Check credential age and use patterns, especially keys used from new locations, and set rotation on every agent credential you can find. Also check whether old keys were ever rotated after staff or vendors with knowledge of them left.
TAM-A-RCH-003.5Many Agents, One Login+
Several agents use the same identity.
Logs cannot say which agent did what, and revoking the identity breaks all of them. Check for one principal active from many sources, and split by agent and task so each action has a single owner and each can be revoked on its own.
TAM-A-RCH-003.6Permissions Wider Than the Job+
The agent's roles cover far more than its task.
Wide roles mean a hijacked agent can reach many systems. Review role bindings, use access analyzers to see what is actually used, and trim to that. Compare granted permissions with the last ninety days of real calls. Start with the agents that touch production, since their reach matters most.
TAM-A-RCH-003.7Secret Baked Into the Agent+
A key or token is written into code, prompts or config.
Anyone who sees the repo, logs or prompt can use it. Models may also repeat it when asked. Scan code, prompts and traces for secrets, and rotate any that appear. Check that secrets reach the agent at run time from a vault, not from files that are committed.
Detections (13)
- DET-180Baselining the Agent's Own CredentialsLearn what normal looks like for each agent service account or token, then flag the credential acting out of pattern.Confidence MediumIdentityAWSAI Platform
- DET-181Catching Agents That Read Beyond the Asker's RightsCompare what an agent fetched or quoted with what the person who asked is allowed to see.Confidence HighAI PlatformMicrosoft 365Google Workspace
- DET-183Catching One Agent Credential Used in Many PlacesAlert when the same agent token or key shows up from several hosts, regions or sessions at once.Confidence MediumAWSIdentitySaaS
- DET-184Checking a Run Stayed Inside Its Approved ScopeCompare everything an agent run touched with the systems, data and tools approved for that run.Confidence MediumAI PlatformAWSSaaS
- DET-185Checking That Stopped Agents Stay StoppedVerify shutdown and credential revocation actually take effect, and alert on continued activity.Confidence HighAWSIdentityLinux
- DET-191Finding Agents Nobody Told You AboutKeep a live inventory of agent identities, tools, connectors, jobs and logging, and flag drift from the approved list.Confidence HighAWSAzureGCP
- DET-198Keeping Agent Conversations as EvidenceRetain complete, tamper-evident transcripts so disputed statements and commitments can be reconstructed.Confidence MediumAI PlatformAWSSaaS
- DET-200Labelling Every Action Agent or HumanRequire every log entry to say whether a person, an agent, or an agent approved by a person did it.Confidence MediumAWSSaaSAI Platform
- DET-202Logging Every Agent LoginCapture each authentication attempt an agent makes, including failures, across all resources.Confidence MediumIdentityAWSSaaS
- DET-204Making Sure the Audit Trail Is CompleteMonitor the logging pipeline itself and flag gaps where agent activity is missing or looks human.Confidence HighAWSSaaSAI Platform
- DET-209Planting Traps for AgentsSeed fake credentials, files, records and tool endpoints that no legitimate agent should ever use, and alert on any touch.Confidence HighAI PlatformAWSSaaS
- DET-216Reviewing What Agents Can Reach vs What They UseRun a recurring review comparing each agent's granted access with what it actually touched.Confidence MediumAWSIdentityMicrosoft 365
- DET-217Scanning Code and Files Agents ProduceRun static analysis, secret scanning and hidden-text checks on anything an agent writes before it ships.Confidence HighSaaSLinuxAI Platform
Controls (10)
- CTL-132Human Sign-Off GatesMake a person approve any agent action that is hard to undo, costs money, or touches production.ProcessEffort MediumEffect High
- CTL-139Knowing Everything an Agent Can TouchKeep a live inventory of every tool, connector, service and data source each agent can reach.ProcessEffort MediumEffect Medium
- CTL-144Matching Autonomy to Blast RadiusLet agents act freely only where a mistake is cheap, and default new or risky agents to read-only or plan-only.ProcessEffort MediumEffect High
- CTL-147Narrow Tool and Permission GrantsGive each agent only the tools and scopes its current task needs, with short-lived credentials and no standing write access to production.TechnicalEffort MediumEffect High
- CTL-159Real Identities for AgentsGive every agent its own short-lived, traceable identity, classed as privileged where it holds privilege.TechnicalEffort MediumEffect High
- CTL-160Regular Agent Access ReviewsRecertify every agent identity, scope and standing right on a schedule, and let unreviewed access expire.ProcessEffort MediumEffect Medium
- CTL-161Respecting Data Classes in Agent RetrievalLet agents retrieve only what the requesting person is allowed to see, and exclude top-tier data by default.TechnicalEffort HighEffect High
- CTL-163Scanning Agent-Written Code in the PipelineRun static checks on anything an agent writes or changes before it can reach a build or main branch.TechnicalEffort LowEffect Medium
- CTL-166Tamper-Proof Agent Activity LogsRecord every agent action in an append-only log produced by the platform and shipped off-box where the agent cannot reach it.TechnicalEffort MediumEffect High
- CTL-170Vaulted Secrets for AgentsKeep agent credentials in a vault and hand them out per task, never in prompts or config files.TechnicalEffort MediumEffect High