webapp-testing
Warn
Audited by Gen Agent Trust Hub on Jun 30, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/with_server.pyfacilitates the execution of arbitrary shell commands. It usessubprocess.Popenwithshell=Trueto start server processes, which allows for shell features like command chaining (e.g.,cd backend && python server.py). - Evidence:
subprocess.Popen(server['cmd'], shell=True, ...)inscripts/with_server.pyexecutes input provided via the--serverargument. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection (Category 8) because it processes untrusted data from web applications.
- Ingestion points: The agent is instructed to read HTML content (
page.content()), inspect DOM elements (page.locator().all()), and capture console logs (page.on("console", ...)). - Boundary markers: No specific boundary markers or instruction-ignoring delimiters are suggested for the captured web content.
- Capability inventory: The skill provides a environment capable of arbitrary command execution (
scripts/with_server.py) and file system writes (examples/console_logging.pywriting to/mnt/user-data/outputs/). - Sanitization: There is no evidence of sanitization or filtering applied to the web content before it is processed by the agent's logic.
Audit Metadata