webapp-testing
Pass
Audited by Gen Agent Trust Hub on Sep 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/with_server.pyfacilitates the execution of arbitrary shell commands provided by the user or agent. It specifically usessubprocess.Popenwithshell=Trueto launch server processes andsubprocess.runto execute the subsequent automation command. While this behavior is central to the skill's utility for managing development servers, it enables the execution of any system command passed to the helper script. - [INDIRECT_PROMPT_INJECTION]: The skill uses Playwright to fetch and process content from web pages, which represents a vulnerability surface where external data could influence agent behavior.
- Ingestion points: In
examples/element_discovery.py,examples/console_logging.py, andexamples/static_html_automation.py, the agent reads page content usingpage.content(),page.locator().all(), andpage.on("console", ...). - Boundary markers: The instructions and examples do not include boundary markers or warnings to the agent to ignore instructions embedded within the target web page's text or HTML comments.
- Capability inventory: The skill has the capability to write to the filesystem (e.g.,
/mnt/user-data/outputs/console.logand screenshots in/tmp/) and execute shell commands through thewith_server.pyutility. - Sanitization: There is no evidence of sanitization or filtering applied to the DOM content or console logs before they are processed by the agent or written to files.
- [DYNAMIC_EXECUTION]: The
scripts/with_server.pyfile demonstrates dynamic execution patterns by using thesubprocessmodule to run strings as shell commands, supporting complex command chains (e.g., usingcdand&&).
Audit Metadata