playwright-testing
Warn
Audited by Gen Agent Trust Hub on Jul 21, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The helper script
scripts/with_server.pyusessubprocess.Popenwithshell=Trueto run commands provided via the--serverargument. - Evidence: Line 106 in
scripts/with_server.pycallssubprocess.Popen(cmd, shell=True, ...). - Risk: This pattern allows for shell command injection if the command string is constructed from untrusted input or if the agent is manipulated into executing unintended commands as a 'server'.
- [PROMPT_INJECTION]: The skill documentation encourages using Playwright MCP tools to monitor browser console messages and network requests for failures.
- Evidence:
references/playwright-mcp-cheatsheet.mdrecommends usingmcp__playwright__browser_console_messagesandmcp__playwright__browser_network_requeststo catch 'silent' failures. - Ingestion points: Browser console output, network headers, and response bodies from potentially untrusted websites.
- Capability inventory: The agent can execute shell commands via
scripts/with_server.pyand interact with the file system. - Risk: This creates an indirect prompt injection surface where a malicious website could output specific strings to the console or network logs designed to override the agent's instructions or trigger dangerous tool usage.
Audit Metadata