ui-test-playwright
Pass
Audited by Gen Agent Trust Hub on Nov 10, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest project-specific context, requirements, and constraints to generate Playwright test automation scripts. This represents a standard surface for indirect prompt injection, as malicious or malformed input could potentially influence the logic of the generated code. The skill mitigates this by instructing the agent to explicitly identify missing information and state assumptions.
- Ingestion points: The main prompt in
prompts/ui-test-playwright.mdprocesses user project context including scope, environment, and browser matrices. - Boundary markers:
SKILL.mdincludes instructions to return a first version with marked gaps and assumptions if the input is incomplete. - Capability inventory: The skill includes scripts for running tests (
scripts/run-tests.sh) and validating syntax (evals/fixtures/scripts/check_playwright_output.sh). - Sanitization: No explicit sanitization or filtering of user-provided strings is performed before they are interpolated into the suggested test plans or generated code snippets.
- [COMMAND_EXECUTION]: The skill includes a local utility script
scripts/run-tests.shthat executes the Playwright test runner vianpx playwright test. This is the intended functional behavior for a UI testing skill and follows standard development practices. - [SAFE]: The skill contains comprehensive documentation and evaluation fixtures that help calibrate the agent's output. While the
README.mdsuggests using-ExecutionPolicy Bypassfor a Windows installation script, this is a common manual instruction for developer tools and is not an automated or hidden bypass within the skill's execution logic. All referenced components, such as the mock HTTP server inserver.mjs, are benign and serve legitimate testing purposes.
Audit Metadata