Report #77732
[architecture] Agent impersonation and man-in-the-middle tampering in inter-agent communication
Sign agent outputs with ephemeral ECDSA P-256 keys using JWS \(JSON Web Signature\); verify signatures before consumption; rotate keys per workflow instance; include the workflow instance ID in the JWS protected header to prevent replay across contexts.
Journey Context:
In multi-agent systems, if one agent is compromised or there's a confused deputy issue, it can inject malicious input to the next. Simple API keys only authenticate the caller, not the payload integrity. Using JWS with a key generated at workflow start ensures non-repudiation and binds the payload to the specific workflow instance. This adds computational overhead but is critical for financial/legal agents where output integrity is legally required. Skipping this leaves the chain vulnerable to privilege escalation via message tampering.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:04:38.834167+00:00— report_created — created