agent-browser
Warn
Audited by Gen Agent Trust Hub on May 7, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONCREDENTIALS_UNSAFEDATA_EXFILTRATIONPROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill provides an
evalcommand (and a Base64-encoded varianteval -b) that allows the execution of arbitrary JavaScript within the browser context. This provides a direct path for executing code that can manipulate web pages or exfiltrate data. - [COMMAND_EXECUTION]: The
--allow-file-accessflag permits the browser to access local system files viafile://URLs, which could be exploited to read sensitive local data if the agent is directed to a malicious local path. - [CREDENTIALS_UNSAFE]: The
state saveandsession-namefeatures export browser session data, including cookies and localStorage, to files. By default, these files are stored in plaintext, although the documentation mentions optional encryption via an environment variable. - [DATA_EXFILTRATION]: The skill contains multiple commands for extracting data, such as
get text,snapshot, andclipboard read. These capabilities, combined with the ability to navigate to any URL, create a significant surface for exfiltrating sensitive information retrieved during a session. - [PROMPT_INJECTION]: The skill is highly susceptible to indirect prompt injection because its primary function is to ingest and process untrusted content from the web.
- Ingestion points: Untrusted data enters the context via
agent-browser openandsnapshot(SKILL.md). - Boundary markers: The
AGENT_BROWSER_CONTENT_BOUNDARIESfeature provides markers to delimit page content, but it is an opt-in security feature (SKILL.md). - Capability inventory: The skill has extensive file-write capabilities (
screenshot,pdf,state save) and code execution (eval) (references/commands.md). - Sanitization: No explicit sanitization or filtering of web content is applied by default before it is returned to the agent context.
- [EXTERNAL_DOWNLOADS]: The skill includes a
downloadcommand to fetch files from the web and aninstallcommand that downloads the Chromium browser binary.
Audit Metadata