playwright-e2e-testing
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/flake-detector.shutility script uses unquoted variables ($GREP_FILTER,$PROJECT) within a shell command invocation ofnpx playwright. If an agent is manipulated into passing shell metacharacters through these arguments, it could lead to arbitrary command execution on the host machine. - [INDIRECT_PROMPT_INJECTION]: The skill provides scripts that serve as an attack surface for indirect prompt injection.
- Ingestion points: Arguments passed to
scripts/flake-detector.shandscripts/generate-auth-profile.tsby the agent, likely derived from user-controlled test names or command-line parameters. - Boundary markers: None identified in the script execution flow to prevent argument manipulation.
- Capability inventory: The agent can execute shell scripts and write to the file system via the provided utilities.
- Sanitization: The scripts lack input validation or sanitization. Specifically,
scripts/generate-auth-profile.tsallows for potential path traversal via the--roleparameter used in file path construction, andscripts/flake-detector.shallows for shell injection via unquoted variable interpolation.
Audit Metadata