APEX 100 · AI-Driven Cybersecurity · #021 · Indirect & Retrieval — L2/L4 · RAG + memory

Indirect Injection via Web Pages

Indirect & Retrieval · L2/L4 · RAG + memory

An agent browsing the web reads attacker-controlled HTML, comments, rendered text. One poisoned page in search results is standing instructions to the agent that fetched it.

01Control Architecture

How it is defended

Everything from the web enters at the data tier: HTML stripped, comments flagged, directive detection runs before content can inform an answer, let alone drive an action.

02Why It Breaks Naive Defenses

An agent browsing the web reads attacker-controlled HTML, comments, rendered text. One poisoned page in search results is standing instructions to the agent that fetched it. Everything from the web enters at the data tier: HTML stripped, comments flagged, directive detection runs before content can inform an answer, let alone drive an action.

👤 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 an agent executing web-page instructions?

You demote the page. Web content enters at the untrusted data tier where directives are detected and stripped. The page can be cited, it cannot command.

How do you defend against indirect injection via web pages?

Everything from the web enters at the data tier: HTML stripped, comments flagged, directive detection runs before content can inform an answer, let alone drive an action.

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