skills/bighardperson/computer-science-skills-collection/playwright-browser-automation/Gen Agent Trust Hub
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
Bashtool to perform installations and run automation scripts using Node.js and Playwright, providing direct shell access to the host environment. - [PRIVILEGE_ESCALATION]: The
SKILL.mdfile provides instructions to executesudo npx playwright install-deps chromiumto install system-level libraries. It also includes a "Sudoers Setup" section instructing the user to create a configuration in/etc/sudoers.d/playwrightto allow passwordless root access for Playwright installation commands. - [PERSISTENCE]: The recommended
sudoersmodification 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 installcommand. - [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()andpage.$$eval(). When combined with the broadBashtool grant, this allows for sophisticated dynamic code execution patterns.
Recommendations
- AI detected serious security threats
Audit Metadata