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

Argument Injection via Retrieved Data

Agentic & Tool Layer · L3 · MCP + tool calls

Retrieved text does not stop at informing the answer — it flows into the arguments the agent constructs for its next tool call. A poisoned value in a search result becomes a crafted argument, and the tool executes what the attacker wrote.

01Control Architecture

How it is defended

The argument-construction path is gated: values that cross from retrieved data into tool arguments pass a boundary check (schema validation plus a value-integrity scan) at the seam. An argument that 'came from content' carries the data tier, full stop.

02Why It Breaks Naive Defenses

Retrieved text does not stop at informing the answer — it flows into the arguments the agent constructs for its next tool call. A poisoned value in a search result becomes a crafted argument, and the tool executes what the attacker wrote. The argument-construction path is gated: values that cross from retrieved data into tool arguments pass a boundary check (schema validation plus a value-integrity scan) at the seam. An argument that 'came from content' carries the data tier, full stop.

👤 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

Can retrieved data be injected into an agent's tool arguments?

Yes — this is the argument-injection lane: content becomes code-by-intent when the model assembles it into a tool call. The seam is the control point: schema validation and value-integrity checks on anything crossing from retrieved data into arguments.

How do you defend against argument injection via retrieved data?

The argument-construction path is gated: values that cross from retrieved data into tool arguments pass a boundary check (schema validation plus a value-integrity scan) at the seam. An argument that 'came from content' carries the data tier, full stop.

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