webapp-testing

Pass

Audited by Gen Agent Trust Hub on Nov 16, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONOBFUSCATION
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/with_server.py is designed to execute arbitrary shell commands provided by the agent or user.
  • It utilizes subprocess.Popen(..., shell=True) to launch server processes specified via the --server argument, which supports shell-specific syntax like cd and &&.
  • It also executes the main command using subprocess.run(args.command), allowing for the execution of arbitrary scripts or binaries.
  • [INDIRECT_PROMPT_INJECTION]: The skill facilitates the ingestion and processing of data from web applications, which serves as a vector for indirect prompt injection.
  • Ingestion points: examples/element_discovery.py extracts inner text from buttons and link attributes; examples/console_logging.py captures browser console messages; SKILL.md recommends using page.content() for inspection.
  • Boundary markers: None detected. The scripts do not use delimiters or include instructions to the agent to ignore potentially malicious commands embedded in web content.
  • Capability inventory: The environment has access to shell command execution (scripts/with_server.py) and file system write operations (examples/console_logging.py).
  • Sanitization: None detected. Web content and console logs are processed and saved without validation or escaping.
  • [OBFUSCATION]: The SKILL.md file includes instructions designed to discourage the agent from auditing the provided scripts.
  • Evidence: The text states, "DO NOT read the source until you try running the script first... These scripts can be very large and thus pollute your context window."
  • Risk: This represents a concealment pattern. The claim that the scripts are "very large" is misleading (scripts/with_server.py is approximately 100 lines), and the instruction discourages the agent from identifying the shell=True behavior or other risks before execution.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 16, 2026, 12:35 AM