frontend-testing
Pass
Audited by Gen Agent Trust Hub on Oct 8, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/with_server.pyutility executes shell commands provided as arguments (such asnpm run dev) to manage development server lifecycles during testing. It usessubprocess.Popenwithshell=True, which is necessary for executing shell commands across different platforms. This is a standard pattern for development tooling.\n- [INDIRECT_PROMPT_INJECTION]: The skill interacts with external web applications, which constitutes an attack surface for indirect prompt injection.\n - Ingestion points: The agent reads rendered HTML and captures screenshots via Playwright MCP tools as documented in
references/playwright-mcp-cheatsheet.mdandSKILL.md.\n - Boundary markers: The instructions recommend waiting for specific application states or
windowflags (window.__TEST__.ready), which helps ensure stability but does not provide formal prompt isolation from untrusted page content.\n - Capability inventory: The skill includes scripts for shell command execution (
scripts/with_server.py) and file writing (scripts/imgdiff.py).\n - Sanitization: No explicit sanitization of UI content or console logs is performed before the agent processes them.
Audit Metadata