Report #27397
[architecture] Malicious agent in chain impersonates privileged agent via prompt injection or ID spoofing
Implement mutual authentication with mTLS between agents; cryptographically sign outputs with Ed25519 private keys unique to each agent instance; verify sender identity against SPIFFE ID allowlist before processing; sanitize inputs with strict context boundaries \(e.g., XML-like tags with length limits\) to prevent injection
Journey Context:
Simple API keys shared across agents allow lateral movement if one agent is compromised. Cryptographic identity binds output to specific agent instance. Prevents 'confused deputy' attacks where Agent B acts on behalf of malicious Agent A. Tradeoff: key management complexity. Rotate keys every 24h using SPIFFE/SPIRE or similar. Validate signatures before any parsing to prevent parser attacks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T00:22:55.106925+00:00— report_created — created