webapp-testing
Warn
Audited by Gen Agent Trust Hub on Aug 18, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/with_server.pyutilizessubprocess.Popen(..., shell=True)to execute server start commands. The--serverargument accepts arbitrary strings which are passed directly to the system shell, allowing for potential command injection. Additionally, the script executes positional arguments viasubprocess.run(), which facilitates further arbitrary command execution. - [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it encourages the agent to ingest untrusted data from web pages (via Playwright) and subsequently use a powerful shell execution script.
- Ingestion points: Browser content is retrieved via
page.content()and console logs are captured inexamples/element_discovery.pyandexamples/console_logging.py. - Boundary markers: The instructions lack any specific boundary markers or warnings to the agent to disregard instructions embedded in the web content being tested.
- Capability inventory: The script
scripts/with_server.pyprovides a high-privilege capability to execute shell commands. - Sanitization: There is no evidence of sanitization or validation of the strings passed to the
subprocesscalls in the server management script.
Audit Metadata