playwright-best-practices
Pass
Audited by Gen Agent Trust Hub on Oct 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill incorporates automated command execution patterns within its configuration and bindings.
- Evidence: The
playwright.config.tsexample includes awebServerblock that executesnpm run build && npm run startto prepare the testing environment. - Evidence: The skill defines
scripts-bindingfor.agent/scripts/test_runner.jsand.agent/scripts/verify_all.js, which are intended to be executed as part of the agent's testing workflow. - [INDIRECT_PROMPT_INJECTION]: The skill instructs the agent to interact with and test external web applications, which presents a surface for indirect prompt injection.
- Ingestion points: The agent ingests external content from websites navigated to via Playwright (e.g.,
page.goto()). - Boundary markers: The instructions do not specify the use of delimiters or specific warnings to ignore instructions embedded in the web pages being tested.
- Capability inventory: The skill utilizes the
Bash,Edit, andWritetools, providing the agent with the ability to modify files and execute shell commands based on task requirements. - Sanitization: There are no explicit instructions for sanitizing or escaping content retrieved from external web pages before the agent processes it.
Audit Metadata