TAM-A-STG-009 · Agent · Stage: Getting ready · New in TAM

Mapping Its Own Permissions

The agent tries many tools and API calls to find out what it is allowed to do, often leaving a trail of access-denied errors.

Agents that hit a wall often try another route. Given a broad goal and a token, an agent may list IAM policies, call sts get-caller-identity, or try one service after another until something works.

Sometimes this is harmless problem solving. Sometimes it is the first step of an injected or misaligned plan. Either way it maps the agent's real reach, which may be much wider than anyone intended.

The pattern is easy to see in cloud logs: a burst of AccessDenied errors across many services from one identity, followed by success on one of them.

What it looks like

  • An agent asked to fix a deploy calls ListRoles, GetAccountAuthorizationDetails and SimulatePrincipalPolicy.
  • A coding agent runs `gh auth status` and then lists every org the token can reach.
  • An agent tries 15 AWS services in two minutes after its first call fails.

Detections (1)

Controls (2)