webapp-testing
Pass
Audited by Gen Agent Trust Hub on Sep 19, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/with_server.pyutilizessubprocess.Popenwithshell=Trueandsubprocess.runto execute arbitrary shell commands passed as arguments. This is intended to manage server lifecycles (e.g.,npm run dev) but provides a mechanism for direct shell execution within the agent's environment. - [INDIRECT_PROMPT_INJECTION]: The skill encourages the agent to perform 'Reconnaissance-then-action' by inspecting rendered DOM content, capturing screenshots, and reading browser console logs. This untrusted data from local or external web applications could contain malicious instructions designed to manipulate the agent's behavior.
- Ingestion points:
page.content(),page.locator().all(), and console log listeners inexamples/element_discovery.pyandexamples/console_logging.py. - Boundary markers: Absent; the instructions do not include specific delimiters or warnings to ignore instructions found within the processed web content.
- Capability inventory: The agent has access to arbitrary shell command execution via
scripts/with_server.pyand file system writes (e.g., to/mnt/user-data/outputs/and/tmp/). - Sanitization: Absent; the agent is directed to identify selectors and execute actions based on raw strings discovered during the reconnaissance phase.
Audit Metadata