CTL-128 · agent
Distrusting Messages From Other Agents
Handle anything another agent sends as untrusted input, never as an internal command.
TechnicalEffort MediumEffectiveness High
A compromised or tricked agent can pass bad instructions to its peers. Each receiver should authenticate the sender, validate and sanitize the message, sandbox it and lower its trust before it reaches an instruction context. Apply the same injection defenses used for external data. Keep provenance tags on peer content throughout and never let a message from an untrusted agent direct actions without separate authorization.
Put it in place
- 01Authenticate agent-to-agent calls and verify sender identity.
- 02Run peer messages through the same sanitization as external content.
- 03Keep source tags attached to peer-originated content.
- 04Require independent authorization for any action requested by a peer.