webapp-testing

Pass

Audited by Gen Agent Trust Hub on Sep 13, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/with_server.py is designed to execute arbitrary shell commands provided by the agent via command-line arguments. It specifically uses subprocess.Popen with shell=True to support complex command strings (e.g., involving cd or &&). While this is functional for starting development servers, it allows the agent to execute any system command if influenced by a malicious prompt.\n- [DYNAMIC_EXECUTION]: In addition to the server management commands, the with_server.py script uses subprocess.run to execute trailing arguments as a main process, further facilitating the execution of dynamically generated shell commands.\n- [INDIRECT_PROMPT_INJECTION]: The skill enables the agent to interact with and extract content from potentially untrusted web applications, creating a vulnerability surface for indirect prompt injection.\n
  • Ingestion points: The skill instructions and examples (examples/element_discovery.py, examples/console_logging.py) encourage reading rendered DOM content using page.content() and page.locator().all(), as well as capturing browser console messages.\n
  • Boundary markers: Absent. The skill does not provide instructions for the agent to use delimiters or to treat extracted web content as untrusted data.\n
  • Capability inventory: The agent has the capability to execute shell commands via scripts/with_server.py, write files to the local filesystem (as shown in examples/console_logging.py), and perform network requests using the Playwright browser automation.\n
  • Sanitization: Absent. Content retrieved from the browser is processed and displayed without validation, filtering, or escaping.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 13, 2026, 10:38 AM