agent-browser
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The
executefunction defined inreferences/commands.mdallows the agent to run arbitrary JavaScript code on any web page it navigates to. This capability, while central to the skill's purpose, can be used to extract sensitive information like session cookies (document.cookie) or perform unauthorized actions on behalf of the user within the browser session. - [INDIRECT_PROMPT_INJECTION]: The skill creates a significant attack surface for indirect prompt injection as it processes untrusted data from the web.
- Ingestion points: Data from external websites is brought into the agent's context through the
snapshotfunction, which returnselements_text, and theexecutefunction, which returns the result of JavaScript execution. - Boundary markers: There are no explicit instructions or delimiters provided to the agent to distinguish between its operational instructions and untrusted content retrieved from the web.
- Capability inventory: The agent possesses powerful capabilities including
execute(for JS injection),interact(for clicking, typing, and form filling), andupload(for interacting with local files). - Sanitization: The skill does not perform sanitization or validation of the text content extracted from web pages before presenting it to the agent.
- [COMMAND_EXECUTION]: The
uploadaction within theinteractfunction (documented inreferences/commands.md) allows the agent to specify localfile_pathsto be uploaded to a web form. This provides the agent with a mechanism to read and potentially exfiltrate local files if it is manipulated into interacting with a file upload field on a malicious or compromised website.
Audit Metadata