webapp-testing
Warn
Audited by Gen Agent Trust Hub on Mar 23, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The helper script
scripts/with_server.pyusessubprocess.Popenwithshell=Trueto execute arbitrary commands passed via the--serverargument. This allows for the execution of complex shell chains (e.g., using&&,;, or pipe characters) which can be exploited if the inputs are not strictly controlled. - [COMMAND_EXECUTION]: In
scripts/with_server.py, trailing command arguments are executed directly usingsubprocess.run(). This provides an unconstrained interface for system command execution through the script. - [PROMPT_INJECTION]: The skill implements a 'Reconnaissance-Then-Action' pattern in
SKILL.mdand examples likeelement_discovery.py, which involves ingesting untrusted web content viapage.content()and browser console logs. This creates a surface for indirect prompt injection where a malicious web page could influence the agent's next actions. - Ingestion points: Browser console logs in
examples/console_logging.py; DOM content and element attributes inexamples/element_discovery.py; rendered page content inSKILL.mdinstructions. - Boundary markers: Absent. The instructions do not define delimiters or provide warnings to the agent to ignore instructions embedded in the analyzed web pages.
- Capability inventory: Arbitrary shell command execution via
scripts/with_server.py; file system writes inexamples/console_logging.py(/mnt/user-data/outputs/console.log). - Sanitization: Absent. Content from the page is directly processed to identify interactive elements or saved to output files.
Audit Metadata