What to do
- Restricting where the agent can send data. For example, an allowlist of destinations for HTTP requests, email and messages, and no rendering of model-chosen URLs in links or images.
Evidence
Config: Egress allowlistNetwork policy, proxy configuration or tool code showing outbound destinations are limited to an allowlist enforced outside the model, and output rendering that blocks model-chosen image and link URLs. May include an egress proxy configuration, a URL allowlist in the HTTP tool, or a content security policy.
- Gating sensitive and state-changing tools once untrusted content enters the context. For example, tracking when web pages, emails, tickets, files or tool results from outside parties reach the model, then blocking, or requiring human approval for, tools that read sensitive data, send data out or change state.
Evidence
Config: Untrusted content gateCode or policy showing the runtime marks a context that holds untrusted content and restricts which tools can run afterwards. May include taint tracking in a policy engine, separate tool sets for agents that read untrusted content, or a test showing a send or write tool is blocked after untrusted content is read.
- Passing data from untrusted content between agents only in constrained form. For example, an agent that reads untrusted content returns fixed fields checked against a schema, not free text, to the agent that holds sensitive data or outbound tools.
Evidence
Config: Structured handoffSchema definitions and validation code on the handoff between an agent that reads untrusted content and one that holds sensitive data or outbound tools, such as enumerated or length-limited fields checked before use.
- Limiting who can trigger an unattended agent. For example, acting on an inbound issue, email or webhook only when it comes from a verified sender or a user with the required role, where the source supports this.
Evidence
Config: Trigger authorizationCode or workflow configuration that checks the identity or role of an event's author before the agent acts, such as a CI condition on the author's repository permission or a sender allowlist.
