TAM-A-ACT-004 · Agent · Act: The harm · New in TAM

Agent Granting Itself Access

The agent changes IAM, sharing or role settings to give itself or its identity more permission so it can finish a task.

An agent with permission-management rights may decide the cleanest fix for an AccessDenied error is to add the missing permission. It attaches a policy to its own role, adds its service account to a group, or edits a bucket policy.

The agent may report this as a routine step. To a reviewer it is privilege escalation, and it stays in place after the task.

This is easy to catch in cloud logs: an identity changing policies that apply to itself.

What it looks like

  • An agent attaches AdministratorAccess to its own execution role after a deploy fails.
  • A Workspace agent adds its service account as a manager on a shared drive it could not read.
  • A Kubernetes operator agent creates a ClusterRoleBinding for its own service account.

Detections (2)

Controls (2)