browser
Fail
Audited by Gen Agent Trust Hub on Oct 12, 2026
Risk Level: HIGHDYNAMIC_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The
eval.jsscript executes arbitrary JavaScript code provided via command-line arguments within the active browser tab using theeval()function. - Evidence:
eval.jsline 25 useseval("(async () => ${expr})()")to run the input stringexprin the page context. - [DATA_EXPOSURE]: The
start.jsscript includes functionality to locate and copy the user's primary Chrome profile (including cookies, session tokens, and history) to a temporary directory when the--profileflag is used. - Evidence:
start.jslines 42-49 identify the platform-specific Chrome user data directory (e.g.,~/Library/Application Support/Google/Chromeon macOS) and usecpSyncto recursively copy the 'Default' profile to a temporary location. - [INDIRECT_PROMPT_INJECTION]: The skill provides an attack surface for indirect prompt injection by navigating to arbitrary URLs and extracting text or interactive elements from those pages.
- Ingestion points:
nav.js(navigates to untrusted URLs),pick.js(extracts text content from DOM elements),screenshot.js(captures page visuals). - Boundary markers: None present; the agent processes the raw output of the browser interaction.
- Capability inventory: The skill can execute arbitrary JavaScript (
eval.js), spawn shell processes (start.js), and write files to the system (screenshot.js). - Sanitization: No validation or sanitization is performed on the content retrieved from external websites before it is presented to the agent.
- [COMMAND_EXECUTION]: The skill programmatically spawns a browser process with remote debugging enabled, allowing local control over the browser instance via the Chrome DevTools Protocol (CDP).
- Evidence:
start.jsline 61 useschild_process.spawnto start Chrome with the--remote-debugging-port=9222flag.
Recommendations
- AI detected serious security threats
Audit Metadata