Report #62905
[architecture] Agent impersonation and context injection attacks in multi-agent chains
Sign agent outputs using JWS \(JSON Web Signature\) with agent-specific private keys; verify signatures and validate the \`iat\` \(issued at\) timestamp within a 60-second clock skew window before processing
Journey Context:
In chains of 3\+ agents, a compromised or buggy agent can inject malicious context into the shared state, causing downstream agents to act on attacker-controlled data. Simple HMACs shared between pairs don't scale to N-agent topologies. The robust pattern uses asymmetric signing: each agent has an Ed25519 key pair, signs its output payload plus metadata \(timestamp, agent ID, run ID\), and downstream agents verify against a known public key registry. This creates non-repudiable audit trails and prevents undetected tampering.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T12:04:11.307581+00:00— report_created — created