chrome-devtools
Fail
Audited by Gen Agent Trust Hub on Sep 23, 2026
Risk Level: HIGHCOMMAND_EXECUTIONDYNAMIC_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The
screenshot.jsscript is vulnerable to command injection through the--outputargument. The file path provided is interpolated into a shell command for ImageMagick compression (magickorconvert) usingexecSync. Because the path is only wrapped in double quotes and not properly sanitized, a malicious filename containing double quotes and shell operators (e.g.,image.png"; touch RCE; ") will result in arbitrary command execution on the host system. - [DYNAMIC_EXECUTION]: The skill employs several high-risk dynamic execution patterns. The
evaluate.jsscript useseval()to execute arbitrary JavaScript within the browser context. Furthermore,scripts/lib/browser.jsconfigures Puppeteer to launch Chromium with the--no-sandboxand--disable-setuid-sandboxflags. This disables the primary security layer of the browser, meaning that a vulnerability in the browser triggered by a malicious website could lead directly to a compromise of the host environment. - [PRIVILEGE_ESCALATION]: The
install-deps.shscript is designed to be run withsudoto install system-level browser dependencies. While documented, this encourages the use of elevated privileges within the skill's management lifecycle. - [INDIRECT_PROMPT_INJECTION]: The skill exhibits a significant attack surface for indirect prompt injection as it ingests large amounts of untrusted data from external websites.
- Ingestion points: DOM data from
snapshot.js, browser console messages fromconsole.js, and full network traffic (headers and bodies) fromnetwork.js. - Capability inventory: Host-level command execution (via the
screenshot.jsvulnerability), arbitrary browser-side JavaScript execution (evaluate.js), and file system writes. - Boundary markers: The skill includes an XPath validator in
scripts/lib/selector.jsthat blocks patterns likejavascript:,<script, andonerror=, which provides some protection against basic injection via selectors. - Sanitization: There is no significant sanitization of the data retrieved from web pages before it is returned to the agent's context.
- [DATA_EXPOSURE]: The
network.jsscript captures and outputs full network transaction details, including sensitive HTTP headers such asAuthorizationorCookieand POST request bodies, which could lead to the exposure of credentials and session tokens during automation tasks.
Recommendations
- AI detected serious security threats
Audit Metadata