In-Browser LLM-Guided Fuzzing for Real-Time Prompt Injection Testing in Agentic AI Browsers
Avihay Cohen
TL;DR
This paper tackles the vulnerability of agentic AI browsers to indirect prompt injections by introducing an in-browser, LLM-guided fuzzing framework that operates within live browser contexts. It combines preset templates with generative mutations guided by feedback to automatically discover prompt-injection vulnerabilities, monitored through a real-time instrumentation layer and a closed-loop fuzzing algorithm. The authors demonstrate a comprehensive framework architecture, implement it with multiple LLM backends, and provide preliminary analyses showing defense inadequacy and feature-specific risks, including high susceptibility in page summarization and QA tasks. The work offers a practical, continuous-testing approach and publicly releases the platform to enable researchers and security practitioners to stress-test and harden AI browser implementations against evolving prompt-injection threats.
Abstract
Large Language Model (LLM) based agents integrated into web browsers (often called agentic AI browsers) offer powerful automation of web tasks. However, they are vulnerable to indirect prompt injection attacks, where malicious instructions hidden in a webpage deceive the agent into unwanted actions. These attacks can bypass traditional web security boundaries, as the AI agent operates with the user privileges across sites. In this paper, we present a novel fuzzing framework that runs entirely in the browser and is guided by an LLM to automatically discover such prompt injection vulnerabilities in real time.
