webapp-testing

Warn

Audited by Gen Agent Trust Hub on Nov 12, 2026

Risk Level: MEDIUMPROMPT_INJECTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [PROMPT_INJECTION]: The SKILL.md file contains a directive that explicitly instructs the agent to avoid reading the source code of the provided scripts before execution ("DO NOT read the source until you try running the script first"). This is a concealment technique that discourages the AI from performing security audits on the tools it uses. The justification provided—that the scripts are "very large" and would "pollute" the context window—is misleading, as the primary helper script is approximately 110 lines of code.
  • [COMMAND_EXECUTION]: The helper utility scripts/with_server.py utilizes subprocess.Popen with shell=True to execute commands passed via the --server argument. This configuration allows for arbitrary shell command execution and makes the script susceptible to command injection if the input strings are influenced by untrusted data.
  • [INDIRECT_PROMPT_INJECTION]: The skill's primary function is to interact with and extract data from web applications (DOM content, console logs, screenshots). This creates a vulnerability surface where a malicious web application being tested could provide instructions to the agent that it might erroneously follow.
  • Ingestion points: page.content(), page.on("console", ...), and button.inner_text() as seen in the example scripts.
  • Boundary markers: The instructions do not define any delimiters or warnings to treat extracted web content as untrusted data.
  • Capability inventory: The agent has the ability to execute shell commands (via with_server.py) and write files to the local system.
  • Sanitization: There is no evidence of sanitization or filtering of the content retrieved from the browser before it is processed by the agent.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 12, 2026, 08:55 PM