playwright-skill
Fail
Audited by Gen Agent Trust Hub on Apr 14, 2026
Risk Level: HIGHCOMMAND_EXECUTIONDATA_EXFILTRATIONREMOTE_CODE_EXECUTIONPROMPT_INJECTIONSAFE
Full Analysis
- [DYNAMIC_EXECUTION]: The
run.jsfile implements a mechanism to execute arbitrary Javascript code. It accepts code as a command-line argument, via stdin, or from a file path. It then wraps this code in an asynchronous template, writes it to a temporary file (e.g.,.temp-execution-*.js) within the skill directory, and executes it using the Node.jsrequire()function. - [COMMAND_EXECUTION]: The
run.jsscript useschild_process.execSyncto perform environment setup tasks. It automatically runsnpm installandnpx playwright install chromiumif the Playwright dependency is not detected, allowing the skill to execute shell commands on the host system. - [DATA_EXFILTRATION]: The skill provides extensive browser automation tools through Playwright, including the ability to capture screenshots, navigate to any URL, and extract page content. This functionality can be used to access sensitive data on local development servers, internal networks, or authenticated web applications and potentially transmit it to external locations.
- [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it extracts and processes content from web pages using helper functions like
extractTextsandextractTableDatainlib/helpers.js. - Ingestion points: Functions in
lib/helpers.jsthat read text and structured data from the browser DOM. - Boundary markers: No delimiters or instructions are used to prevent the agent from obeying instructions embedded in the extracted web content.
- Capability inventory: The skill has the ability to execute shell commands and write to the filesystem via
run.js. - Sanitization: No validation or filtering is performed on the data extracted from web pages before it is provided to the agent.
- [SAFE]: The skill's primary dependency,
playwright, is a well-known package from a trusted organization. The automated installation of this dependency and its associated browser binaries follows standard development practices for automation tools.
Recommendations
- AI detected serious security threats
Audit Metadata