ui-json-capture
Pass
Audited by Gen Agent Trust Hub on Sep 7, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill utilizes
evaluate_scriptto inject custom JavaScript into a live browser session. Specifically,scripts/01-install-hook.jsredefines theXMLHttpRequest.prototype.openandsendmethods to intercept and store JSON responses from target websites. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to process large datasets from external, untrusted research websites. While the instructions mandate using
filePathto store data on disk rather than passing it through the LLM context, the ingestion and assembly process constitutes an attack surface. - Ingestion points: Browser network responses captured in
scripts/01-install-hook.jsand subsequently processed byscripts/assemble.py. - Boundary markers: The
SKILL.mdinstructions explicitly forbid returning raw data rows to the model context, requiring the use of thefilePathparameter for disk storage. - Capability inventory: Includes arbitrary JavaScript execution in the browser via
evaluate_script, local Python execution viascripts/assemble.py, and the ability to write files to the workspace. - Sanitization: The skill relies on standard JSON parsing and basic integrity checks (unique IDs and row counts) without deep content sanitization of the extracted data.
- [COMMAND_EXECUTION]: The skill requires running a local Python script
scripts/assemble.pyto finalize the data capture and verify integrity. It also involves driving a browser via Chrome DevTools Protocol (CDP) and executing scripts to handle pagination and UI interaction. - [PROMPT_INJECTION]: The instructions in
SKILL.mdadvise the agent to minimize safety and legal warnings regarding Terms of Service (ToS) violations. It explicitly instructs the agent to mention the risk only once and characterizes subsequent warnings as "nagging," which could lead the agent to assist in activities that violate site terms despite initial safety indicators.
Audit Metadata