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.js that facilitates the execution of arbitrary JavaScript code generated at runtime.
  • Evidence: The run.js script receives code input, wraps it in an asynchronous template, writes it to a temporary file via fs.writeFileSync, and then executes it using the Node.js require() 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.js script uses child_process.execSync to perform environment setup, including npm install and npx playwright install chromium. The SKILL.md instructions also guide the agent to use node -e commands 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 extractTexts and extractTableData in lib/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.js executor, 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
Risk Level
MEDIUM
Analyzed
Sep 30, 2026, 04:57 AM