Report #56773
[architecture] Agent impersonation and prompt injection via malicious inter-agent messages
Cryptographically sign all inter-agent messages using ephemeral Ed25519 keys rotated per session; each agent verifies the signature of the upstream agent against a known public key registry before processing, treating unsigned or invalid messages as untrusted external input subject to strict sanitization.
Journey Context:
In multi-agent systems, agents often identify themselves in prompts \('You are Agent B, you received this from Agent A'\). This is trivial to spoof if any agent is compromised or if user input is injected into the message bus. The solution is treating agents like microservices with mutual authentication. Ed25519 signatures are compact and fast. The registry maps agent IDs to public keys. This prevents downstream agents from being tricked by malicious upstream agents or prompt injection attacks that spoof the sender identity. The tradeoff is latency \(signing/verification\) and key management complexity.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T01:46:57.342537+00:00— report_created — created