playwright-skill
Warn
Audited by Gen Agent Trust Hub on Apr 3, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The
run.jsscript implements dynamic code execution by writing strings to a temporary file (.temp-execution-*.js) and loading them using the Node.jsrequire()function. This enables the execution of arbitrary JavaScript code generated at runtime. - [COMMAND_EXECUTION]: The skill performs shell command execution through
execSyncfor setup tasks (installing dependencies and browser binaries) and relies on the execution of Node.js scripts for its core functionality. - [PROMPT_INJECTION]: The skill has a large attack surface for indirect prompt injection as it is designed to interact with and process content from external websites. Attackers could place malicious instructions on these pages to manipulate the agent's automation logic. Ingestion points:
lib/helpers.jsandSKILL.md(navigation instructions); Boundary markers: None present to differentiate between page content and agent instructions; Capability inventory: Full filesystem and network access via Node.js and Playwright; Sanitization: No content sanitization or validation is implemented for web data. - [DATA_EXFILTRATION]: The
detectDevServershelper inlib/helpers.jsconducts automated port scanning oflocalhoston common development ports (e.g., 3000, 8080), which could be used for local network discovery.
Audit Metadata