playwright-skill
Warn
Audited by Gen Agent Trust Hub on May 4, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The
run.jsscript implements a universal executor that takes JavaScript code as input from command-line arguments, files, or standard input, writes it to a temporary file, and executes it using the Node.jsrequire()function. This enables runtime execution of dynamically generated scripts.- [DATA_EXPOSURE_AND_EXFILTRATION]: Thelib/helpers.jsfile contains thedetectDevServersfunction, which performs internal reconnaissance by scanning a predefined list of common ports onlocalhostto identify active services.- [UNVERIFIABLE_DEPENDENCIES_AND_REMOTE_CODE_EXECUTION]: The skill's setup script and execution logic can trigger the download and installation of external Node.js packages and browser binaries from public registries and CDNs.- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process content from external websites, which may contain malicious instructions that could influence the agent's behavior. It lacks explicit boundary markers or sanitization logic for retrieved content. - Ingestion points:
lib/helpers.js(extractTexts,extractTableData) and Playwright locators described inSKILL.md. - Boundary markers: Absent from the instructions for processing web data.
- Capability inventory: Arbitrary command execution via
run.js, file system access, and network operations. - Sanitization: No sanitization of page content is implemented before processing by the agent.
Audit Metadata