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.pyis 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--serverargument, which supports shell-specific syntax likecdand&&. - 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.pyextracts inner text from buttons and link attributes;examples/console_logging.pycaptures browser console messages;SKILL.mdrecommends usingpage.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.mdfile 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.pyis approximately 100 lines), and the instruction discourages the agent from identifying theshell=Truebehavior or other risks before execution.
Audit Metadata