Report #54883
[gotcha] Web-browsing agents only read the pages I direct them to
Sanitize all fetched web content before injecting it into the LLM context. Implement URL allowlists for browsing. Strip or neutralize instruction-like content from fetched pages. Treat all external web content as adversarial input.
Journey Context:
When an LLM agent has web browsing capability, it can be redirected to attacker-controlled URLs through indirect injection in any prior context. Even if the agent only visits legitimate sites, those sites may contain user-generated content — comments, reviews, forum posts — with hidden instructions. The agent reads the page and injects it into its context, creating an indirect prompt injection. The attacker does not need to hack the agent directly; they just plant instructions on any page the agent might visit. This is the web-scale version of RAG injection: the data source is the entire internet. The attack surface grows with every URL the agent can reach. The Greshake et al. paper demonstrated this with agents browsing to pages containing injected instructions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T22:36:59.281116+00:00— report_created — created