CTL-147 · agent

Narrow Tool and Permission Grants

Give each agent only the tools and scopes its current task needs, with short-lived credentials and no standing write access to production.

TechnicalEffort MediumEffectiveness High

Start from zero and add. An agent that drafts replies does not need the whole shared drive, and a CI bot that opens pull requests does not need to delete branches. Scope by role and by run: short-lived tokens, per-task grants, and separate credentials for each worker in a multi-agent setup instead of the orchestrator's combined rights. Enforce limits in the API or IAM layer downstream of the agent. A system prompt that says 'do not delete' is a request, not a control. Strip default abilities like shutdown, self-copying, editing audit records or executing payments, and block agents from borrowing rights by asking a peer.

Put it in place

  1. 01Inventory every tool and scope each agent holds and cut each one to the task.
  2. 02Issue per-run tokens that expire in minutes and cannot reach production from dev.
  3. 03Enforce permissions in IAM or the tool gateway, never in prompt text.
  4. 04Deny audit-log edits, payment execution and self-shutdown to all agent identities.

Counters 17 techniques