playwright-cli
Warn
Audited by Gen Agent Trust Hub on Apr 3, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONPROMPT_INJECTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONCOMMAND_EXECUTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill provides
run-codeandevalcommands that allow for the execution of arbitrary JavaScript and Playwright code. This gives the agent the ability to execute complex logic within the browser context or the Node.js runtime, which could be exploited to perform unauthorized actions if the agent is manipulated by malicious data. - [PROMPT_INJECTION]: The skill is highly susceptible to indirect prompt injection attacks because it is designed to interact with and extract data from arbitrary websites. Web content is processed by the agent without sufficient isolation or sanitization.
- Ingestion points: Data from external websites is ingested into the agent's context via
playwright-cli snapshotandplaywright-cli evalresults (SKILL.md, references/running-code.md). - Boundary markers: No specific delimiters or instructions are used to separate untrusted web content from the agent's system instructions.
- Capability inventory: The skill allows the agent to execute code (
run-code), write files to disk (screenshot,state-save), and manipulate network traffic (route). - Sanitization: There is no evidence of sanitization or filtering of the content retrieved from web pages before it is processed by the agent.
- [EXTERNAL_DOWNLOADS]: The skill suggests using
npx playwright-clias a fallback for local installation (SKILL.md). This command fetches and executes packages from the npm registry at runtime, which is a form of external code dependency. - [DATA_EXFILTRATION]: The skill provides tools for managing and extracting sensitive session information. Commands like
cookie-list,localstorage-list, andstate-save(SKILL.md, references/storage-state.md) allow the agent to access authentication tokens and session data, which could be exposed or exfiltrated if the agent follows malicious instructions. - [COMMAND_EXECUTION]: The skill's primary operation involves executing the
playwright-clibinary through the shell to interact with the system and network.
Audit Metadata