playwright-browser-automation

Fail

Audited by Gen Agent Trust Hub on Nov 30, 2026

Risk Level: HIGHCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONPERSISTENCEEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill requires the Bash tool to perform installations and run automation scripts using Node.js and Playwright, providing direct shell access to the host environment.
  • [PRIVILEGE_ESCALATION]: The SKILL.md file provides instructions to execute sudo npx playwright install-deps chromium to install system-level libraries. It also includes a "Sudoers Setup" section instructing the user to create a configuration in /etc/sudoers.d/playwright to allow passwordless root access for Playwright installation commands.
  • [PERSISTENCE]: The recommended sudoers modification establishes a persistent method for executing specific commands with root privileges without re-authentication, which could be abused if the local account is compromised.
  • [EXTERNAL_DOWNLOADS]: The skill fetches browser binaries (Chromium, Firefox, Webkit) and necessary system dependencies from Microsoft's official Playwright infrastructure using the npx playwright install command.
  • [INDIRECT_PROMPT_INJECTION]: The skill represents a significant attack surface for indirect prompt injection because it is designed to navigate to external websites and extract data. Malicious instructions embedded in web content could influence the agent's behavior once that data is ingested into its context.
  • [DYNAMIC_EXECUTION]: The skill facilitates the execution of arbitrary JavaScript within the browser context using Playwright APIs such as page.evaluate() and page.$$eval(). When combined with the broad Bash tool grant, this allows for sophisticated dynamic code execution patterns.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Nov 30, 2026, 03:47 PM