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.ts example includes a webServer block that executes npm run build && npm run start to prepare the testing environment.
  • Evidence: The skill defines scripts-binding for .agent/scripts/test_runner.js and .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, and Write tools, 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
Risk Level
SAFE
Analyzed
Oct 16, 2026, 06:46 PM