show-changes
Pass
Audited by Gen Agent Trust Hub on Nov 11, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/build.pyutility invokes thegitcommand to extract repository data and file contents. - It utilizes
subprocess.runwith list-based arguments, ensuring that user-provided paths or references do not lead to shell injection. - The script includes logic to prevent writing output files into the same directories being compared, mitigating potential loop or overwrite risks.
- [EXTERNAL_DOWNLOADS]: The HTML template used by the skill (
scripts/template.html) fetches established open-source libraries fromcdn.jsdelivr.netto provide the report interface. - Specifically, it loads Vue.js for state management, Tailwind CSS for styling, Lucide for iconography, and Highlight.js for code syntax highlighting.
- These are widely recognized and well-known frontend services.
- [DYNAMIC_EXECUTION]: The Vue.js application in the HTML template makes use of a runtime compiler which involves
new Functioncalls. - This behavior is standard for the framework's browser-based compilation mode and is used for UI rendering.
- The data processed by this engine is passed as a JSON object that is properly escaped by the Python generation script to prevent Cross-Site Scripting (XSS).
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to process untrusted data from the local environment (the files being diffed) and render it in a browser context.
- Ingestion points: File contents and diff metadata are ingested through the
scripts/build.pyscript as described inSKILL.md. - Boundary markers: The system is designed to treat all ingested data as literal text. Documentation in
SKILL.mdadvises the agent to warn users if sensitive data is being processed. - Capability inventory: The skill can read local files, execute git commands, and write HTML/JSON files to the local disk.
- Sanitization: All ingested content is escaped during the HTML generation phase in Python (
html.escapeand character replacement) and further sanitized in the frontend JavaScript (escfunction andhighlight.jslibrary) to ensure that any code inside the diffed files is displayed as text rather than executed as HTML or script.
Audit Metadata