playwright-cli
Warn
Audited by Gen Agent Trust Hub on Oct 5, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill is centered around executing a wide variety of shell commands through the
playwright-clitool to drive a browser session, manage tabs, and handle network requests. - [DYNAMIC_EXECUTION]: The skill provides the
evalandrun-codecommands, which allow for the execution of arbitrary JavaScript within the browser context. This is used for advanced automation tasks but represents a significant dynamic execution surface. - Evidence: Found in
SKILL.mdandreferences/running-code.mdwhere JavaScript functions are passed as strings or loaded from files for execution via the Playwright API. - [DATA_EXFILTRATION]: The skill includes functionality to access, list, and export sensitive browser session data, such as cookies and local storage state.
- Evidence: The
state-save,cookie-list,localstorage-get, andsessionstorage-listcommands described inSKILL.mdandreferences/storage-state.mdallow the retrieval of authentication state which could be exfiltrated if the agent is directed to transfer the saved state files. - [INDIRECT_PROMPT_INJECTION]: The skill ingests data from external, untrusted websites through snapshots and search commands, creating a potential vector for indirect prompt injection.
- Ingestion points:
playwright-cli snapshotandplaywright-cli findinSKILL.mdread content from the live page into the agent's context. - Capability inventory: The agent has access to
eval,run-code, and file-writing tools (state-save,screenshot). - Boundary markers:
SKILL.mdcontains a warning that page-provided tool schemas (WebMCP) should be treated as untrusted data. - Sanitization: No explicit content sanitization or escaping mechanisms for external page data are defined in the instructions.
Audit Metadata