playwright-cli
Pass
Audited by Gen Agent Trust Hub on Oct 24, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill navigates to and processes content from external web pages (using
goto,snapshot, andwebmcp-list), which creates a surface for malicious instructions to be injected into the agent's context. - Ingestion points: Web content retrieved via
playwright-cli goto,snapshot, andwebmcp-list(SKILL.md). - Boundary markers: The instructions do not define explicit delimiters to separate retrieved page data from instructions in the prompt context.
- Capability inventory: The skill has broad capabilities including file writes (
state-save,screenshot), network access (via the browser), and arbitrary shell command execution via the allowedBashtools. - Sanitization: The documentation in
SKILL.mdincludes an explicit warning to treat page-provided WebMCP tools as untrusted input rather than instructions. - [DYNAMIC_EXECUTION]: The
playwright-cli run-codeandplaywright-cli evalcommands allow for the execution of arbitrary JavaScript within the browser's context. While the documentation states this is isolated from the host Node.js environment (no access torequireorprocess), it allows for complex manipulation of page data and security-sensitive browser APIs. - [EXTERNAL_DOWNLOADS]: The skill instructions recommend installing the CLI tool via
npm install -g @playwright/cli@latestand usingnpxto execute Playwright, which involves fetching code from the public NPM registry. - [COMMAND_EXECUTION]: The skill extensively uses shell commands to interact with browser automation tools, system utilities like
jq, and version control tools likeghfor PR attachments.
Audit Metadata