Report #74178
[architecture] Malicious input causes downstream agent to believe it is receiving valid instructions from an upstream agent, leading to privilege escalation
Implement cryptographic provenance \(Ed25519 signed messages with agent private keys\) and strict canonical serialization \(canonical JSON or Protocol Buffers\) with unforgeable delimiters to prevent prompt injection from masquerading as inter-agent traffic
Journey Context:
In multi-agent systems, Agent A sends output to Agent B. If an external user can inject text that looks like Agent A's output, Agent B might execute malicious commands thinking they came from a trusted peer. This is 'indirect prompt injection' in a chain. Simple string delimiters \(\`\`\`json\) are spoofable. The defense is authentication: each agent signs its outputs with a private key \(Ed25519 for speed\) using canonical serialization \(no whitespace variation\) to prevent signature bypasses. The receiving agent verifies the signature against a public key registry before parsing. This elevates the security model from 'text in, text out' to authenticated RPC. Tradeoff: adds latency for crypto ops and key management complexity, but necessary for zero-trust environments.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T07:06:34.019744+00:00— report_created — created