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

Tool-Call Replay Attacks

Agentic & Tool Layer · L3 · MCP + tool calls

A recorded tool call (an authenticated request the agent made) can be captured and replayed later, or by another actor, if the protocol has no freshness semantics. The agent's own history becomes its weapon cache.

01Control Architecture

How it is defended

Replay windows are built into the gate: nonces and timestamps on state-changing calls, per-grant replay budgets, and a replay-attempt detector on the tool boundary. A repeated call outside its window is an attack signal, logged to the L5 observability tier.

02Why It Breaks Naive Defenses

A recorded tool call (an authenticated request the agent made) can be captured and replayed later, or by another actor, if the protocol has no freshness semantics. The agent's own history becomes its weapon cache. Replay windows are built into the gate: nonces and timestamps on state-changing calls, per-grant replay budgets, and a replay-attempt detector on the tool boundary. A repeated call outside its window is an attack signal, logged to the L5 observability tier.

👤 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

What is tool-call replay and how is it prevented?

Captured state-changing calls being resent later, by anyone with the record. Freshness is the fix: nonces plus timestamp bounds on state-changing calls, per-grant replay budgets, and detection at the boundary that flags out-of-window repeats.

How do you defend against tool-call replay attacks?

Replay windows are built into the gate: nonces and timestamps on state-changing calls, per-grant replay budgets, and a replay-attempt detector on the tool boundary. A repeated call outside its window is an attack signal, logged to the L5 observability tier.

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