webapp-testing
Pass
Audited by Gen Agent Trust Hub on Oct 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The utility script
scripts/with_server.pyexecutes shell commands provided as arguments viasubprocess.Popenwithshell=True. This is used to manage the lifecycle of local servers (e.g.,npm run dev) during testing. The agent is encouraged to use this script to execute arbitrary commands, which is a powerful capability. - [DYNAMIC_EXECUTION]: The skill involves the dynamic construction and execution of shell commands and Playwright scripts. The helper script
scripts/with_server.pyacts as a wrapper for executing these dynamically generated strings on the host system. - [INDIRECT_PROMPT_INJECTION]: The skill possesses a vulnerability surface for indirect prompt injection during web reconnaissance.
- Ingestion points: Playwright interacts with local or external web applications in
examples/element_discovery.py,examples/console_logging.py, andexamples/static_html_automation.pyusingpage.goto(),page.content(), andpage.screenshot(). - Boundary markers: Absent. No delimiters or warnings are provided to prevent the agent from obeying instructions embedded in the web pages it inspects.
- Capability inventory: Access to shell execution through
scripts/with_server.pyand local file writes for logs and screenshots. - Sanitization: Absent. Information extracted from the web page DOM is used directly to drive further agent actions.
Audit Metadata