CTL-149 · agent

Never Mix Secrets, Untrusted Input and an Outbound Path

Make sure no single agent context holds private data, outside content and a way to send data out at once.

TechnicalEffort MediumEffectiveness High

Any two of these three are manageable. All three together is how data theft by injection works. If sensitive data and untrusted content share a context, cut every outbound channel for that context. Enforce this per context, not per destination, so an attacker cannot find some route you forgot. Cover chat rendering, mail, web and document content, CRM records, background tool actions tied to a service identity, and citation or image paths through trusted proxies or CDNs.

Put it in place

  1. 01Classify each agent context by data sensitivity, input trust and outbound tools.
  2. 02Disable outbound tools and rendering when private data and untrusted input coexist.
  3. 03Split tasks into separate agents so no one context has all three.
  4. 04Test with a planted instruction that tries to send data out.

Counters 8 techniques