playwright-browser-automation
Fail
Audited by Snyk on Nov 30, 2026
Risk Level: CRITICAL
Full Analysis
CRITICAL E004: Prompt injection detected in skill instructions.
- Potential prompt injection detected (medium risk: 0.30). The skill is a legitimate Playwright guide, but its sudoers section tells the user to grant passwordless root execution of
npx playwright install *with a wildcard, which weakens system protections beyond what browser installation needs; this is risky rather than malicious.
HIGH W007: Insecure credential handling detected in skill instructions.
- Insecure credential handling detected (medium risk: 0.30). The skill's main login pattern directs the model to write a password value into automation code via
.fill('mypass'), and the authentication examples put cookie and token values directly into code, so credentials pass through the model's context.
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (low risk: 0.10). The required workflow has the agent drive Playwright to navigate arbitrary, user-specified websites and extract their page text (Data Extraction and Quick Start), so outsider-authored content is reached only after the agent actively fetches a chosen page.
MEDIUM W013: Attempt to modify system services in skill instructions.
- Attempt to modify system services in skill instructions detected (low risk: 0.10). The skill documents a persistent sudoers NOPASSWD grant for root-level Playwright commands, which changes the host's privilege configuration, but no operation in the skill causes irreversible loss of operational state, so gate 2 fails.
Issues (4)
E004
CRITICALPrompt injection detected in skill instructions.
W007
HIGHInsecure credential handling detected in skill instructions.
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W013
MEDIUMAttempt to modify system services in skill instructions.
Audit Metadata