Report #92972
[architecture] Compromised agent forging identity to call downstream agents using stolen long-lived tokens
Adopt SPIFFE \(Secure Production Identity Framework For Everyone\): issue short-lived SVIDs \(SPIFFE Verifiable Identity Documents\) via SPIRE; validate mTLS using SPIFFE IDs \(spiffe://trust-domain/service\) rather than static API keys or IP whitelisting.
Journey Context:
API keys and static certificates are hard to rotate and revoke on compromise; they create 'secret sprawl'. SPIFFE provides dynamically issued, short-lived \(24h default\) identities bound to the workload \(pod/container\) via attestation, not network location. CNCF graduated project. Common mistake: using service accounts with long-lived tokens or embedding certs in images. Tradeoff: operational complexity of SPIRE server infrastructure; requires mTLS everywhere. Enables fine-grained authorization based on service identity \(e.g., 'agent-invoice-processor' can only call 'agent-payment-gateway'\) and automatic rotation without application changes.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T14:38:31.514217+00:00— report_created — created