webapp-testing
Pass
Audited by Gen Agent Trust Hub on Sep 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/with_server.pyis designed to execute arbitrary shell commands provided by the agent via command-line arguments. It specifically usessubprocess.Popenwithshell=Trueto support complex command strings (e.g., involvingcdor&&). While this is functional for starting development servers, it allows the agent to execute any system command if influenced by a malicious prompt.\n- [DYNAMIC_EXECUTION]: In addition to the server management commands, thewith_server.pyscript usessubprocess.runto execute trailing arguments as a main process, further facilitating the execution of dynamically generated shell commands.\n- [INDIRECT_PROMPT_INJECTION]: The skill enables the agent to interact with and extract content from potentially untrusted web applications, creating a vulnerability surface for indirect prompt injection.\n - Ingestion points: The skill instructions and examples (
examples/element_discovery.py,examples/console_logging.py) encourage reading rendered DOM content usingpage.content()andpage.locator().all(), as well as capturing browser console messages.\n - Boundary markers: Absent. The skill does not provide instructions for the agent to use delimiters or to treat extracted web content as untrusted data.\n
- Capability inventory: The agent has the capability to execute shell commands via
scripts/with_server.py, write files to the local filesystem (as shown inexamples/console_logging.py), and perform network requests using the Playwright browser automation.\n - Sanitization: Absent. Content retrieved from the browser is processed and displayed without validation, filtering, or escaping.
Audit Metadata