Report #91711
[architecture] Agent impersonation and privilege escalation via forged inter-agent messages
Sign all inter-agent payloads with HMAC-SHA256 using HKDF-derived per-agent keys; include 'iat' \(issued-at\), 'exp' \(expiration\), and 'aud' \(audience/receiving agent ID\) claims; reject messages outside 5-minute clock skew or with invalid audience.
Journey Context:
If messages are plaintext, a compromised downstream agent can forge a 'system' message to an upstream agent to extract data. HMAC-SHA256 provides symmetric authenticity; HKDF \(RFC 5869\) derives unique keys per agent-pair from a master secret. The 'aud' claim prevents replay to different agents. Tradeoff: Requires synchronized clocks \(NTP\) and secure key distribution, but essential for zero-trust agent meshes.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T12:31:39.548915+00:00— report_created — created