webapp-testing
Pass
Audited by Gen Agent Trust Hub on Aug 31, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/with_server.pyutilizessubprocess.Popenwithshell=Trueto execute arbitrary shell commands passed via the--serverargument. This is used to start development servers (e.g.,npm run dev). The script also usessubprocess.runto execute a user-specified automation command. - [INDIRECT_PROMPT_INJECTION]: The skill instructs the agent to ingest and analyze rendered web page content (
page.content(),page.locator().all()) and console logs (page.on('console', ...)). If the web application being tested contains adversarial instructions in its HTML or console output, it could influence the agent's subsequent actions. - Ingestion points: DOM content inspection in
SKILL.mdandexamples/element_discovery.py; console logs inexamples/console_logging.py. - Boundary markers: None provided in the instruction templates or scripts.
- Capability inventory: Shell command execution via
scripts/with_server.py; local file writing inexamples/console_logging.pyandexamples/static_html_automation.py. - Sanitization: No sanitization or escaping of ingested web content is performed before processing.
- [DYNAMIC_EXECUTION]: The skill facilitates the creation and execution of custom Python Playwright scripts at runtime to perform UI automation tasks.
Audit Metadata