playwright-cli
Pass
Audited by Gen Agent Trust Hub on Nov 26, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The skill operates by executing local CLI commands (
playwright-cli) to automate browser instances, allowing for navigation, element interaction, and browser state management. - [DYNAMIC_EXECUTION]: The
run-codecommand enables the execution of arbitrary asynchronous JavaScript within the tool's Node.js environment and the browser context. This allows for complex logic, such as accessibility auditing, infinite scroll handling, and direct interaction with the Playwright API, but also provides access to local modules likefs(e.g., inrequest-mocking.md). - [EXTERNAL_DOWNLOADS]: The skill's setup process involves installing the
@playwright/clipackage from the official registry and downloading browser binaries through theplaywright-cli install-browsercommand. These are standard operations for the tool's functionality. - [INDIRECT_PROMPT_INJECTION]: The skill processes content from external websites which may contain malicious instructions designed to influence the agent's behavior. The documentation acknowledges this risk in the 'Security' section and provides guidelines for sanitizing extracted data and validating URLs.
- [DATA_EXFILTRATION]: The skill provides capabilities to read and save sensitive data from the browser session, such as cookies, localStorage, and full session state (
state-save,cookie-list). It also supports capturing screenshots and videos of browser activity and reading local files for form uploads (upload). These features are intended for testing and state management but represent a path for data exposure.
Audit Metadata