webapp-testing
Pass
Audited by Gen Agent Trust Hub on Sep 26, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The helper script
scripts/with_server.pyexecutes commands provided as command-line arguments. It usessubprocess.run()to execute the main automation task andsubprocess.Popen()to start background servers. - [DYNAMIC_EXECUTION]: In
scripts/with_server.py, thesubprocess.Popen()call usesshell=Trueto support shell features like command chaining (&&) and directory changes (cd). This allows the execution of arbitrary shell strings passed to the script by the agent. - [INDIRECT_PROMPT_INJECTION]: The skill's workflow involves reading and inspecting the DOM of web applications (
page.content(),page.locator().all()) and capturing console logs. This creates a surface where instructions embedded in a target web page could attempt to manipulate the agent's logic or the commands it executes through the testing utility. - Ingestion points: Browser DOM content and console logs retrieved via Playwright in
examples/element_discovery.pyandexamples/console_logging.py. - Boundary markers: None identified in the provided scripts to distinguish between untrusted web data and agent instructions.
- Capability inventory: Shell command execution via
subprocessinscripts/with_server.py, and file system writes to/tmp/and/mnt/user-data/outputs/in the example scripts. - Sanitization: The scripts do not appear to sanitize or filter the content retrieved from the browser before it enters the agent's context window.
Audit Metadata