webapp-testing
Warn
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/with_server.pyis designed to execute arbitrary shell commands passed as command-line arguments. It usessubprocess.run()to execute the main command andsubprocess.Popen()to start background servers. - [DYNAMIC_EXECUTION]: In
scripts/with_server.py, thesubprocess.Popen()call usesshell=Trueto execute server startup commands. This allows the execution of complex shell strings (e.g., using&&orcd), but also significantly increases the risk of command injection if arguments are derived from untrusted sources. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from external web pages during testing sessions. Specifically,
examples/console_logging.pycaptures browser console messages (msg.text) andexamples/element_discovery.pyextracts text from page elements (inner_text()). If the web application under test is malicious or compromised, it could provide instructions to the agent through these channels. - Ingestion points: Browser console logs in
examples/console_logging.pyand page element text content inexamples/element_discovery.py. - Boundary markers: None observed in the implementation to delimit untrusted page content from agent instructions.
- Capability inventory: Execution of shell commands via
scripts/with_server.pyusingsubprocess.runandsubprocess.Popen. - Sanitization: No evidence of sanitization or validation of the content extracted from the browser before it is processed or logged.
Audit Metadata