agent-browser
Warn
Audited by Gen Agent Trust Hub on Apr 8, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill provides an
evalcommand that facilitates the execution of arbitrary JavaScript within the browser's context. This feature is documented with support for Base64 encoding and standard input (stdin) to allow for the execution of complex or encoded scripts while bypassing shell interpretation issues. - [EXTERNAL_DOWNLOADS]: The tool relies on
npxto fetch and execute theagent-browserpackage from the npm registry. Additionally, documentation for mobile automation recommends installing theappiumframework and associated drivers vianpm. - [DATA_EXFILTRATION]: The browser automation tool supports the
--allow-file-accessflag, allowing it to open and read local files using thefile://protocol. This presents a risk where an agent could be directed to access sensitive local system files, with the resulting data being captured through screenshots, text extraction, or PDF generation. - [COMMAND_EXECUTION]: The skill uses the
Bashtool to run numerousagent-browserCLI commands for browser control, such as navigating to URLs, interacting with page elements, and managing authentication states. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection due to its core function of processing content from external, untrusted web sources. Ingestion points: Untrusted content is ingested via
open,snapshot, andget textcommands. Boundary markers: Element references (@e1, @e2) act as an abstraction layer for interactions, but the skill lacks explicit delimiters or instructions to ignore commands embedded within the text of the pages being browsed. Capability inventory: The agent has extensive capabilities including form submission, file uploading/downloading, and JavaScript execution. Sanitization: Web content is analyzed without evidence of sanitization or filtering to remove potential malicious instructions.
Audit Metadata