playwright-cli
Pass
Audited by Gen Agent Trust Hub on Nov 20, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill recommends installing the
@playwright/clipackage from the official NPM registry. This is a tool published by a well-known organization and is used for its documented purpose of browser automation. - [DYNAMIC_EXECUTION]: Commands such as
run-codeandevalallow for the execution of arbitrary JavaScript within the browser context. These are standard features for a browser automation tool, enabling complex logic and DOM inspection that cannot be performed via static commands. - [INDIRECT_PROMPT_INJECTION]: The skill interacts with external web content, which represents a potential attack surface for indirect prompt injection from malicious websites.
- Ingestion points: Data is brought into the agent's context through browser snapshots (SKILL.md), page console logs (SKILL.md), and the experimental WebMCP API (SKILL.md) which allows pages to define and expose their own tool schemas.
- Boundary markers: The skill documentation provides explicit warnings to the agent, instructing it to treat tool names, descriptions, and results provided by web pages as untrusted input rather than instructions.
- Capability inventory: The skill allows the agent to perform a wide range of actions including UI interaction (
click,fill), JavaScript execution (run-code,eval), and network interception (route). - Sanitization: The documentation emphasizes that the agent should evaluate page content as data and maintain a clear boundary between the skill's instructions and external web content.
- [COMMAND_EXECUTION]: The skill facilitates the execution of the
playwright-clibinary via the shell to drive browser automation tasks.
Audit Metadata