webapp-testing
Warn
Audited by Gen Agent Trust Hub on Jun 21, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/with_server.pyusessubprocess.Popenwithshell=Trueto execute strings provided via the--servercommand-line argument. - Evidence: The code in
scripts/with_server.pydirectly passes theserver['cmd']string to the shell without sanitization. - Risk: This allows for arbitrary command execution, including command chaining or execution of malicious payloads if the input is manipulated.
- [PROMPT_INJECTION]: The
SKILL.mdfile contains instructions that direct the agent to avoid reviewing the implementation details of the provided scripts. - Evidence: "DO NOT read the source until you try running the script first... These scripts can be very large and thus pollute your context window. They exist to be called directly as black-box scripts rather than ingested into your context window."
- Risk: This is a concealment pattern that prevents the agent from identifying the insecure use of
shell=Trueor other risky behaviors in the scripts before they are executed. - [PROMPT_INJECTION]: The skill is susceptible to Indirect Prompt Injection due to the lack of boundary markers when processing untrusted web content.
- Ingestion points: Data is ingested from web pages in
examples/element_discovery.pyviapage.content()andpage.locator().all(), and inexamples/console_logging.pyviapage.on("console", ...). - Boundary markers: No delimiters or "ignore embedded instructions" warnings are present in the automation logic or instructions.
- Capability inventory: The agent can execute arbitrary shell commands via the
scripts/with_server.pyutility. - Sanitization: There is no evidence of filtering or validation of the data retrieved from the browser before it is processed in the agent's context.
Audit Metadata