NYC
skills/smithery/ai/playwright-cli/Gen Agent Trust Hub

playwright-cli

Fail

Audited by Gen Agent Trust Hub on Feb 17, 2026

Risk Level: HIGHCREDENTIALS_UNSAFECOMMAND_EXECUTIONDATA_EXFILTRATIONREMOTE_CODE_EXECUTION
Full Analysis
  • Data Exposure & Exfiltration (HIGH): The skill provides commands to directly access and export sensitive authentication data.
  • playwright-cli cookie-list and cookie-get allow extraction of session tokens.
  • playwright-cli state-save auth.json exports the entire browser authentication state to a file.
  • playwright-cli localstorage-list and sessionstorage-list can expose PII or tokens stored in browser storage.
  • Dynamic Execution & RCE (HIGH): The skill allows execution of arbitrary JavaScript and Playwright code within the browser context.
  • playwright-cli eval "code" and playwright-cli run-code "code" enable the agent to run any script on the current page.
  • This is particularly dangerous if the agent is directed to run code based on content found on an untrusted website (Indirect Prompt Injection).
  • Indirect Prompt Injection (LOW): As a browser automation tool, the primary input is untrusted web content.
  • Ingestion points: playwright-cli snapshot, playwright-cli eval, and page navigation.
  • Capability inventory: Full network access via the browser, file writes (screenshot, pdf, state-save), and arbitrary JS execution.
  • Risk: A malicious website could contain instructions that trick the agent into using its cookie-get or run-code tools to exfiltrate data to an attacker-controlled endpoint.
  • Privilege Escalation & System Modification (MEDIUM): The skill includes commands that modify the host system.
  • playwright-cli install-browser and playwright-cli install --skills download and execute external binaries/scripts.
  • playwright-cli open --profile=/path/to/profile allows the agent to interact with arbitrary directories on the filesystem, potentially targeting sensitive user data or configuration files.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Feb 17, 2026, 06:33 PM