CTL-135 · agent
Keeping Agents Out of Production
Confine each agent to its own environment, block production by default and enforce the wall in infrastructure.
TechnicalEffort MediumEffectiveness High
An agent running in dev or test should have no route, credential or network path to production systems or data. Enforce this with separate accounts and projects, separate credentials, and network rules, not with a prompt line telling it to stay put. Apply change freezes at the access layer so production writes are blocked technically while a freeze is on. Limit the blast radius of unattended runs to the specific systems, tables and assets they need, so a bad run damages a sandbox and not the business.
Put it in place
- 01Put dev, test and prod in separate cloud accounts with no shared credentials.
- 02Deny agent roles from any production resource by policy.
- 03Apply freeze windows as access-layer denies on production writes.
- 04Scope unattended runs to named tables, buckets and hosts.
- 05Use separate accounts, credentials and networks per environment.
- 06Deny cross-environment role assumption for agent identities.
Counters 11 techniques
- TAM-A-ACT-001Acting as Someone Else
- TAM-A-ACT-007Breaking Out of Its Box
- TAM-A-ACT-011Deleting or Wrecking Things
- TAM-A-DRV-001Agent Left Running Alone
- TAM-A-DRV-002Agents Started by an Event
- TAM-A-RCH-002Agent's Way Out to the Internet
- TAM-A-RCH-004Agents Working Together
- TAM-A-RCH-006Borrowing a Person's Login
- TAM-A-RCH-013Tools Plugged Into the Agent
- TAM-A-STG-003Direct Instructions to the Agent
- TAM-A-STG-010Orders Passed Machine to Machine