webapp-testing
Pass
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The helper script
scripts/with_server.pyusessubprocess.Popenwithshell=Trueto execute server commands provided via command-line arguments. It also usessubprocess.runto execute automation commands. While intended for server lifecycle management, this allows for arbitrary shell command execution. - [INDIRECT_PROMPT_INJECTION]: The skill instructs the agent to interact with and extract data from web applications, creating a vulnerability surface where malicious content on a web page could influence agent behavior.
- Ingestion points: Data is ingested via
page.content(),page.locator().all(), and browser console logs (page.on("console", ...)) as demonstrated inexamples/element_discovery.pyandexamples/console_logging.py. - Boundary markers: There are no explicit instructions or delimiters to tell the agent to ignore or treat embedded instructions in the web content as data only.
- Capability inventory: The skill possesses the ability to execute shell commands (via
scripts/with_server.py) and write files (viaexamples/console_logging.pyandexamples/static_html_automation.py). - Sanitization: No sanitization or validation of the ingested web content is performed before the agent processes it.
- [DYNAMIC_EXECUTION]: The skill's primary workflow involves the dynamic generation and execution of Python scripts using the Playwright library to perform UI automation and testing tasks.
Audit Metadata