agent-browser
Warn
Audited by Gen Agent Trust Hub on May 14, 2026
Risk Level: MEDIUMPROMPT_INJECTIONDATA_EXFILTRATIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it instructs the agent to process content from untrusted external websites through commands like snapshot and get text.
- Ingestion points: Commands such as
agent-browser snapshot,agent-browser get text @e1, andagent-browser get html @e1bring external data into the agent's context. - Boundary markers: There are no instructions or delimiters defining how the agent should distinguish between web content and its primary instructions.
- Capability inventory: The agent can use powerful tools like
eval,cookies,storage, andnetworkwhich could be abused if the agent is manipulated. - Sanitization: The skill lacks mechanisms to sanitize or filter web content before the agent processes it.
- [DATA_EXFILTRATION]: The tool enables the extraction of sensitive information from both the browser and the host system.
- Browser Data: Commands like
agent-browser cookiesandagent-browser storage localprovide direct access to authentication session identifiers and local storage data. - System Files: The
opencommand explicitly supports thefile://protocol, which can be used to read local system files (e.g., /etc/passwd or SSH keys) if the browser environment allows it. - Session Persistence: Instructions for saving and loading browser state (
state save/load) to local files likeauth.jsoncould lead to sensitive authentication tokens being stored in insecure local files. - [COMMAND_EXECUTION]: The skill allows for dynamic execution within the browser and configuration of the browser binary itself.
- JavaScript Execution: The
evalcommand allows the agent to execute arbitrary JavaScript code within the current page context. - Custom Executables: The
--executable-pathflag and theAGENT_BROWSER_EXECUTABLE_PATHenvironment variable allow the execution of a custom binary, which could be a malicious file instead of a legitimate browser.
Audit Metadata