webapp-testing
Warn
Audited by Gen Agent Trust Hub on Apr 29, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/with_server.pyusessubprocess.Popenwithshell=Trueto execute arbitrary shell commands provided via the--servercommand-line argument. While intended for starting development servers (e.g., 'npm run dev'), this mechanism allows for the execution of any shell command on the host system. - [COMMAND_EXECUTION]: The
scripts/with_server.pyutility also executes a user-specified command usingsubprocess.run(), which provides a second vector for arbitrary command execution. - [DATA_EXFILTRATION]: The
scripts/api_test.pytool allows the agent to make arbitrary HTTP requests (GET, POST, PUT, DELETE, PATCH) with custom headers and body content to any URL. This capability can be leveraged to exfiltrate local data or configuration to an attacker-controlled external server. - [DATA_EXFILTRATION]: The
scripts/test_webapp.pyscript uses Playwright to interact with any provided URL. This can be used for Server-Side Request Forgery (SSRF) to probe internal network services or to send data to external endpoints via browser interactions. - [PROMPT_INJECTION]: The skill is susceptible to Indirect Prompt Injection as it processes content from untrusted external or local web pages which could contain malicious instructions.
- Ingestion points:
scripts/smoke_test.pyandscripts/test_webapp.pyretrieve and parse text, links, and titles from external web pages. - Boundary markers: No delimiters or instructions are used to separate page content from agent instructions.
- Capability inventory: The skill includes scripts for arbitrary shell command execution (
scripts/with_server.py), file system writes (screenshots/logs), and network operations. - Sanitization: No sanitization or validation is performed on the content fetched from target URLs before processing logic (such as text checks) occurs.
Audit Metadata