agent-browser
Warn
Audited by Gen Agent Trust Hub on Nov 10, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill provides an
evalcommand that allows the agent to execute arbitrary JavaScript within the browser context. While the documentation provides a benign Base64-encoded example, this capability allows for the execution of complex, runtime-generated logic. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest data from external websites through commands like
snapshotandget text, creating a significant attack surface for indirect prompt injection. - Ingestion points:
agent-browser open,snapshot,get text(found inSKILL.mdandtemplates/capture-workflow.sh). - Boundary markers: None explicitly implemented within the skill instructions to separate web content from system instructions.
- Capability inventory: The skill possesses extensive browser control capabilities including
click,fill,eval, andstate save. - Sanitization: There is no mention of sanitizing or filtering the scraped text before it is returned to the agent context.
- [DATA_EXFILTRATION]: The skill manages sensitive browser data through
state saveandstate loadcommands, which store cookies, local storage, and session tokens in JSON files. Theevalcommand also allows reading browser secrets via JavaScript. If an agent is influenced by malicious external data, these capabilities could be misused to exfiltrate session credentials. - [COMMAND_EXECUTION]: The skill enables interaction with the browser via the
agent-browserCLI, which includes capabilities like accessing local files usingfile://protocols and uploading files from the local system.
Audit Metadata