webapp-testing
Warn
Audited by Gen Agent Trust Hub on Sep 26, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONOBFUSCATION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/with_server.pyusessubprocess.Popen(shell=True)to execute command strings provided via the--serverargument. It also usessubprocess.run()to execute the user-provided command after servers are started. This facilitates arbitrary shell command execution with the privileges of the agent. - [INDIRECT_PROMPT_INJECTION]: The skill's primary function is to ingest and interact with content from web applications (e.g., using
page.content()andpage.locator()inexamples/element_discovery.py). This creates an attack surface where maliciously crafted HTML or JavaScript content could inject instructions into the agent's context. - Ingestion points:
page.content(),page.locator().all(),page.screenshot()inexamples/element_discovery.pyandexamples/static_html_automation.py. - Boundary markers: No explicit delimiters or instructions to ignore embedded content are used when processing the data.
- Capability inventory: File system writing (
page.screenshot), shell command execution (scripts/with_server.py), and network operations (Playwright browser navigation). - Sanitization: The skill lacks sanitization, validation, or filtering of the ingested web content before the agent processes it.
- [OBFUSCATION]: The
SKILL.mdfile contains instructions that discourage the agent from inspecting the source code of provided scripts ("DO NOT read the source until you try running the script first"). This reduces the likelihood of the agent identifying the security implications of the shell execution logic in the helper scripts before execution.
Audit Metadata