webapp-testing
Pass
Audited by Gen Agent Trust Hub on Oct 1, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/with_server.pyusessubprocess.Popenwithshell=Trueto execute commands provided via the--serverargument. This allows for the execution of arbitrary shell strings (e.g.,cd backend && python server.py). The script also usessubprocess.runto execute the final test command. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to interact with and extract data from external websites, creating a surface for indirect prompt injection. A malicious site could include instructions in the DOM or console logs to trick the agent into executing dangerous commands via the included server helper.
- Ingestion points: Example scripts like
examples/element_discovery.pyandexamples/console_logging.pyread DOM content (page.content(),page.inner_text()) and capture browser console messages. - Boundary markers: None. The instructions do not provide delimiters or warnings to the agent to ignore instructions found within the processed web content.
- Capability inventory: The agent has the ability to execute arbitrary shell commands (via
scripts/with_server.py), write files to/mnt/user-data/outputs/(viaexamples/console_logging.py), and navigate the network using Playwright. - Sanitization: No sanitization or filtering is applied to the data extracted from the web browser before the agent processes it.
- [DYNAMIC_EXECUTION]: The
scripts/with_server.pyutility acts as a dynamic execution wrapper, constructing and running shell commands based on runtime arguments provided by the user or the agent.
Audit Metadata