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.py uses subprocess.Popen with shell=True to execute arbitrary commands passed via the --server argument. 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 using subprocess.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.md and examples like element_discovery.py, which involves ingesting untrusted web content via page.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 in examples/element_discovery.py; rendered page content in SKILL.md instructions.
  • 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 in examples/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
Risk Level
MEDIUM
Analyzed
Mar 23, 2026, 07:56 PM