explain-changes
Pass
Audited by Gen Agent Trust Hub on Aug 23, 2026
Risk Level: SAFEPROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from repository files and git diffs to generate an HTML report. This content is embedded into the report template without explicit instructions for sanitization or escaping. If the code being explained contains malicious HTML or script tags, they could be executed in the user's browser context when the report is opened.
- Ingestion points: Content originates from
git diffand file reads across the current branch. - Boundary markers: The skill lacks instructions to sanitize or wrap untrusted code snippets to prevent script execution within the HTML output.
- Capability inventory: The skill uses
gitfor data retrieval,mkdirfor path preparation, andopento trigger browser execution of the generated file. - Sanitization: No sanitization logic is requested; the agent is instructed to write code directly into HTML
<code>elements. - [EXTERNAL_DOWNLOADS]: The report template (
references/page-template.html) fetches external resources for syntax highlighting and diagram rendering. - Evidence: Links to
cdnjs.cloudflare.comfor highlight.js andcdn.jsdelivr.netfor Mermaid.js. These are well-known and established CDNs. - [COMMAND_EXECUTION]: The skill executes several shell commands to gather context and display the result.
- Evidence: Uses
git merge-base,git diff,git remote get-url, andgh pr viewto extract repository metadata. It also usesopento launch the generated report in the default web browser.
Audit Metadata