webapp-testing

Pass

Audited by Gen Agent Trust Hub on Mar 23, 2026

Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The helper script scripts/with_server.py utilizes subprocess.Popen with shell=True and subprocess.run to execute arbitrary commands provided as command-line arguments. While intended for starting development servers and running automation tests, these capabilities provide a broad execution surface that could be leveraged by a malicious actor if the agent's inputs are compromised.
  • [PROMPT_INJECTION]: The skill structure is vulnerable to Indirect Prompt Injection (Category 8) due to the combination of data ingestion from untrusted sources and powerful execution capabilities.
  • Ingestion points: The agent is instructed to use Playwright to navigate to and extract content from web applications in examples/element_discovery.py and examples/console_logging.py. These applications could be controlled by an attacker.
  • Boundary markers: Absent. There are no instructions or delimiters provided to the agent to help distinguish between its own operational instructions and potentially malicious instructions embedded within the HTML or console logs of the applications being tested.
  • Capability inventory: The skill provides access to scripts/with_server.py (arbitrary command execution) and Playwright (network and file system access via the file:// protocol).
  • Sanitization: Absent. There is no logic provided to sanitize or validate the content retrieved from external web pages before the agent processes it and uses it to drive subsequent actions.
Audit Metadata
Risk Level
SAFE
Analyzed
Mar 23, 2026, 03:38 AM