playwright-pro
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted user input via the
/pw:generatecommand to create executable Playwright test scripts. This creates a potential vulnerability where malicious instructions in the user's specification or a targeted URL could be incorporated into the generated code. - Ingestion points: User stories, technical specifications, or external URLs provided as arguments to the
/pw:generatecommand defined inSKILL.md. - Boundary markers: The instructions do not define explicit delimiters or instructions for the agent to ignore potentially malicious content embedded in the ingested data.
- Capability inventory: The skill leverages the agent's ability to create and modify files (e.g.,
tests/auth/login.spec.ts) and execute shell commands (e.g.,npx playwright test) as part of its documented workflow inSKILL.md. - Sanitization: The skill mitigates risks by providing a
/pw:pw-reviewcommand that reviews generated tests for anti-patterns and quality, serving as a secondary validation step before code is finalized.
Audit Metadata