Agent protocols often miss security guarantees, especially when composed, exposing credential and consent gaps
Existing agent protocols contain security design gaps that become evident when protocols are composed
Security & privacy arXiv 25 Mar 2026 Measurement Prototype evidence
Published as “AgentRFC: Security Design Principles and Conformance Testing for Agent Protocols”
Why it matters
Cross-protocol composition can introduce exploitable security gaps that are invisible to single-protocol analysis, suggesting that standards bodies and implementers need to define and verify bridge security properties.
Summary
The paper finds that composing AI agent protocols can break security properties, uncovering 20 composition-safety violations across five protocol-pair models, and confirming 33 specification-level and 42 implementation-level violations in existing protocols. It introduces a 6-layer Agent Protocol Stack, an Agent-Agnostic Security Model with 11 TLA+ invariants, and the two-phase AgentConform checker that extracts normative clauses, builds TLA+ models, and replays counterexample traces against live SDKs. Evidence comes from bounded model checking of five protocols and live testing of reference implementations, but the analysis is limited to small-scale models and manual extraction, so the findings may not generalize to larger deployments.
What they found 4
- Composition Safety violations show that security properties can break when protocols are composed.
“Our most significant finding is the Composition Safety (CS) principle (§6): when MCP and A2A operate through a shared bridge (conductor/proxy), a prompt-injection attack in MCP propagates to amplify A2A delegation beyond its original scope.”
- Model checking reveals 33 specification-level violations across the five studied protocols.
“Phase 1 model-checks five protocols against 11 principles, yielding a 5 × 11 matrix with 33 spec-level violations.”
- Implementation testing confirms 42 violations in live SDKs and reference servers.
“Phase 2 replays counterexample traces as tests against live SDKs, executing 42 tests across reference SDK implementations and official reference servers, confirming violations at implementation level.”
- Composition analysis uncovers 20 cross-protocol safety violations.
“Additionally, 5 composed models reveal 20 composition safety violations across all protocol pairs (§6).”
Caveats 6
- Bounded model checking uses small constants (2-3 agents, 2 capabilities), so violations may not appear in larger deployments.
- The extraction pipeline relies on manual interpretation of specifications, which can introduce model-fail errors.
- Rapid protocol evolution means the results apply only to the specific specification snapshots studied.
- Bounded model checking. TLC explores a finite state space bounded by constants. Our models use small bounds (2-3 agents, 2 capabilities).
- Specification fidelity. The IR extraction pipeline depends on human interpretation of protocol documentation. While the IR provides traceability, the extraction itself is not fully automated and may introduce model-fail errors.
- Protocol drift. Agent protocols evolve rapidly. Results correspond to specification snapshots and should be interpreted as versioned evidence.
What’s new here 4
- A 6-layer Agent Protocol Stack (APS) that makes explicit what a complete agent protocol must specify at each layer.
- An Agent-Agnostic Security Model (AASM) defining 11 security and completeness principles formalized as TLA+ invariants.
- AgentConform, a provenance-preserving pipeline that extracts protocol clauses, compiles them into TLA+ models, and replays counterexample traces as executable tests.
- The introduction of a Composition Safety (CS) principle that captures security gaps emerging only when protocols are composed through shared bridges.