APEX 100 · AI Security Red Teaming · #048 · Agentic & Tool Layer — L3 · MCP + tool calls

JSON-RPC Message Forgery at the Tool Boundary

Agentic & Tool Layer · L3 · MCP + tool calls

The protocol between agent and tools is an open lane for a compromised peer: forged method calls, replayed responses, and request/response confusion all ride the same wire. If the boundary trusts 'it's just JSON,' the transport is the attack surface.

01Control Architecture

How it is defended

The JSON-RPC boundary is gated deterministically: method allowlists per grant, per-message integrity checks, replay windows, and correlation validation. Forgery and replay are standing attack rows in the agentic catalog with owner-layer L3.

02Why It Breaks Naive Defenses

The protocol between agent and tools is an open lane for a compromised peer: forged method calls, replayed responses, and request/response confusion all ride the same wire. If the boundary trusts 'it's just JSON,' the transport is the attack surface. The JSON-RPC boundary is gated deterministically: method allowlists per grant, per-message integrity checks, replay windows, and correlation validation. Forgery and replay are standing attack rows in the agentic catalog with owner-layer L3.

👤 Dr. Deepanjan Saha · Chief AI Security Red Team Principal & Chief Cybersecurity Architect (CAISO) · 15+ yrs · 47+ CVEs · 200+ pentests · 12 patents
📞 +91 98317 43870 · 💬 WhatsApp · ✉️ core.deepanjan@gmail.com · 🔗 LinkedIn: DRDEEPANJANSAHA · 🌐 drdeepanjansaha.github.io

Book the engagement that kills this, measured

Dr. Deepanjan Saha — Chief AI Security Red Team Principal & Chief Cybersecurity Architect. 15+ years · 47+ CVEs · 200+ pentests · 12 patents. Delivered as the release gate — a residual-risk number with a trend line, not a PDF.

03FAQ

How do you stop forged tool calls in an agent stack?

Treat the agent-tool protocol as a security boundary: allowlist methods per grant, check message integrity, bound replay windows, and correlate requests to responses. The gate is code — an LLM never decides whether a call is legitimate.

How do you defend against json-rpc message forgery at the tool boundary?

The JSON-RPC boundary is gated deterministically: method allowlists per grant, per-message integrity checks, replay windows, and correlation validation. Forgery and replay are standing attack rows in the agentic catalog with owner-layer L3.

DR. DEEPANJAN SAHA · CHIEF AI SECURITY RED TEAM PRINCIPAL & CHIEF CYBERSECURITY ARCHITECT · AI SECURITY RED TEAM · EST. 2010 · 47+ CVEs · 200+ PENTESTS · 12 PATENTS