webapp-testing
Pass
Audited by Gen Agent Trust Hub on Sep 5, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/with_server.pyutility usessubprocess.Popenwithshell=Trueto start local web servers based on user-provided command strings. While this is the primary purpose of the script (to manage development servers), it allows for arbitrary shell command execution on the local system. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process untrusted data from web applications (HTML content, console logs, and screenshots). The
element_discovery.pyandconsole_logging.pyexamples demonstrate patterns where the agent reads rendered page content, which could contain malicious instructions designed to influence the agent's next actions. - Ingestion points:
page.content(),page.locator().all(), andhandle_console_messagein Playwright scripts. - Boundary markers: Not explicitly defined in the provided examples; the agent is instructed to read the output directly to identify selectors.
- Capability inventory: The skill possesses extensive file writing capabilities (
open().write()), screenshot capabilities (page.screenshot()), and command execution via the server helper. - Sanitization: No sanitization is performed on the captured console logs or page content before they are written to files or processed by the agent.
Audit Metadata