playwright-cli

Warn

Audited by Gen Agent Trust Hub on Sep 11, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONPRIVILEGE_ESCALATIONCOMMAND_EXECUTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The skill facilitates the execution of arbitrary JavaScript within the browser context via the run-code and eval commands. This allows for complex automation but could be leveraged to execute malicious scripts if the input is influenced by untrusted sources.
  • [DATA_EXFILTRATION]: The tool provides direct access to sensitive browser storage through commands like cookie-list, localstorage-get, and state-save. These features allow an agent to read and persist authentication tokens, session cookies, and other private data to the local file system.
  • [INDIRECT_PROMPT_INJECTION]: By processing content from external websites (using snapshot and console commands) while maintaining high-privilege browser control (network access, JS execution), the skill is vulnerable to indirect prompt injection where a malicious site could attempt to manipulate the agent's actions.
  • [PRIVILEGE_ESCALATION]: The skill demonstrates how to use the grantPermissions API to programmatically allow access to sensitive browser features such as geolocation, the camera, the microphone, and the clipboard, effectively bypassing user-facing security prompts.
  • [COMMAND_EXECUTION]: The instructions encourage the use of system-level tools like npm and npx for installing dependencies and running test suites, which grants the agent significant control over the host environment's software configuration.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Sep 11, 2026, 04:50 AM