webapp-testing
Warn
Audited by Gen Agent Trust Hub on Nov 5, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill documentation in
SKILL.mdexplicitly instructs the agent: 'DO NOT read the source until you try running the script first'. This encourages the agent to execute code without prior inspection, which is a concealment pattern that bypasses the agent's ability to verify the safety and intent of the scripts before execution.\n- [COMMAND_EXECUTION]: The helper scriptscripts/with_server.pyusessubprocess.Popen(shell=True)to execute strings provided via the--servercommand-line argument. This allows for arbitrary shell command execution. Additionally, the script usessubprocess.run()on the remaining arguments, providing another vector for arbitrary command execution.\n- [DYNAMIC_EXECUTION]: The skill's primary function involves generating and executing Playwright scripts. While intended for testing, this capability allows for the execution of arbitrary Python code, which can be abused to perform unauthorized operations on the host system.\n- [INDIRECT_PROMPT_INJECTION]: The skill is designed to interact with and extract content from web applications, creating a surface for indirect prompt injection.\n - Ingestion points: Content is ingested from web pages using
page.content(),page.inner_text(), andpage.locator().all()as seen inSKILL.mdandexamples/element_discovery.py.\n - Boundary markers: There are no instructions or delimiters provided to help the agent distinguish between its own system instructions and untrusted content found on web pages.\n
- Capability inventory: The skill can execute shell commands via
scripts/with_server.pyand write files to the system viaexamples/console_logging.py.\n - Sanitization: There is no evidence of sanitization or filtering applied to the content retrieved from external or local web pages before it is processed by the agent.
Audit Metadata