browsing
Fail
Audited by Gen Agent Trust Hub on May 14, 2026
Risk Level: HIGHCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
lib/screenshot.jsfile contains a command injection vulnerability in thedownscaleImageIfNeededfunction. The function passes thefilepathvariable directly intoexecSynccalls to invoke system utilities such assips,identify, andconvert. Because thefilepathis derived from the unsanitizedpayloadprovided to thescreenshotaction, a maliciously crafted filename (e.g., using shell command substitution) could allow arbitrary code execution on the host machine. - [REMOTE_CODE_EXECUTION]: As identified by automated scans, the
test-raw.shutility contains a pattern where the output ofcurlis piped directly intonode. While used locally in this context to parse JSON withnode -pe, this represents a dangerous execution pattern that could be exploited if the source URL or the local DevTools endpoint were compromised. - [PROMPT_INJECTION]: The skill exhibits a significant surface for indirect prompt injection (Category 8):
- Ingestion points: Untrusted data enters the agent context through the
navigateandextractactions, which browse and process arbitrary web pages. - Boundary markers: The instructions in
SKILL.mdlack explicit delimiters or warnings to ignore instructions embedded within the processed web content. - Capability inventory: The skill has powerful capabilities, including host-side shell execution (
execSyncin multiple library files), file system writes (screenshotandcaptureartifacts), and browser-side JavaScript execution (eval). - Sanitization: There is no evidence of sanitization or escaping of external content, and file paths for host-side operations are not validated.
- [COMMAND_EXECUTION]: The
lib/chrome-launcher-helpers.jsfile usesexecSyncto runlsofandnetstatfor process management. While typically used with numeric ports, the use of shell interpolation for system commands without strict validation of environment-derived inputs poses an unnecessary security risk. - [COMMAND_EXECUTION]: The
lib/capture.jsfile performs automated file system operations, includingfs.rmSyncon session directories. While the directory paths are generated internally, the lack of path validation in a tool that interacts with remote web content requires careful monitoring to prevent potential file system abuse.
Recommendations
- HIGH: Downloads and executes remote code from: http://127.0.0.1:9222/json - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata