playwright-skill
Warn
Audited by Gen Agent Trust Hub on Sep 30, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill implements a universal executor in
run.jsthat facilitates the execution of arbitrary JavaScript code generated at runtime. - Evidence: The
run.jsscript receives code input, wraps it in an asynchronous template, writes it to a temporary file viafs.writeFileSync, and then executes it using the Node.jsrequire()function. This mechanism allows the agent to run any logic it constructs. - [COMMAND_EXECUTION]: The skill relies on shell command execution for both its setup phase and its operational workflow.
- Evidence: The
run.jsscript useschild_process.execSyncto perform environment setup, includingnpm installandnpx playwright install chromium. TheSKILL.mdinstructions also guide the agent to usenode -ecommands to detect local development servers and execute generated test scripts. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to interact with external web content, which exposes it to indirect prompt injection vulnerabilities.
- Ingestion points: The agent is instructed to use Playwright to browse websites and extract data using helper functions like
extractTextsandextractTableDatainlib/helpers.js. - Boundary markers: None. The instructions do not provide delimiters or specific guidance to ensure the agent ignores potentially malicious instructions embedded in the HTML or text of the sites it visits.
- Capability inventory: Through the
run.jsexecutor, the agent has full access to Node.js capabilities, including file system operations, network access, and subprocess management. - Sanitization: None. The skill does not include a layer to sanitize or validate data extracted from web pages before the agent uses that data to generate new executable scripts.
Audit Metadata