webapp-testing
Pass
Audited by Gen Agent Trust Hub on Apr 8, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The helper script
scripts/with_server.pyusessubprocess.Popenwithshell=Trueto execute server startup commands. This is a documented feature designed to support complex initialization strings including shell operators like&&or directory changes (cd), but it allows for arbitrary shell command execution based on the inputs provided to the script. - [COMMAND_EXECUTION]: In
scripts/with_server.py, thesubprocess.runfunction is used to execute the user's automation script and any associated arguments provided on the command line. - [PROMPT_INJECTION]: The skill presents an indirect prompt injection surface as it is designed to ingest and act upon content from web pages.
- Ingestion points: The scripts
examples/element_discovery.pyandexamples/console_logging.pyretrieve data from the browser DOM and console logs respectively using Playwright APIs. - Boundary markers: The scripts do not implement any boundary markers or instructions to help the agent distinguish between its intended logic and potential malicious instructions embedded in the web content it reads.
- Capability inventory: The skill allows for arbitrary shell command execution via
scripts/with_server.pyand has the ability to write files to the local filesystem (e.g., in the/mnt/user-data/outputs/directory). - Sanitization: There is no evidence of sanitization or validation performed on the content retrieved from web pages before it is presented to the agent for processing.
Audit Metadata