webapp-testing

Warn

Audited by Gen Agent Trust Hub on Jun 30, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The utility script scripts/with_server.py uses subprocess.Popen with shell=True to execute commands passed to the --server argument. This pattern is designed to allow the agent to start servers using shell features (like directory changes and command chaining), but it also enables arbitrary command execution within the environment.
  • [COMMAND_EXECUTION]: The script scripts/with_server.py further executes user-specified commands via subprocess.run after starting the required servers, providing another path for system-level execution based on agent-provided arguments.
  • [PROMPT_INJECTION]: The skill exhibits an indirect prompt injection surface by design, as its primary function is to ingest and analyze data from local web applications.
  • Ingestion points: Untrusted data enters the agent's context through page.content(), DOM inspection, and browser console logs as demonstrated in examples/console_logging.py and examples/element_discovery.py.
  • Boundary markers: The skill does not provide any specific boundary markers or instructions to treat web content as untrusted data, increasing the risk that the agent might follow instructions embedded in a target web page.
  • Capability inventory: The agent has access to powerful shell execution capabilities through the bundled scripts/with_server.py script.
  • Sanitization: There is no evidence of sanitization or filtering of retrieved HTML content or console logs before they are processed by the agent.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Jun 30, 2026, 02:46 PM