diff-explainer
Pass
Audited by Gen Agent Trust Hub on Nov 5, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data from git history and GitHub PR descriptions to generate explanations.
- Ingestion points: The skill reads data using
git diff,git log, and GitHub CLI commands (gh pr viewandgh pr diff). - Boundary markers: No explicit boundary markers are defined for input data; the agent is directed to interpret context and rationale from the provided text.
- Capability inventory: The skill can execute shell commands (
gitandgh), write to the local file system (scratchpad), and display HTML via the Artifact tool. - Sanitization: The instructions explicitly require escaping HTML special characters (
&,<,>) and using HTML entities for typographic characters to prevent injection into the generated HTML walkthrough. - [EXTERNAL_DOWNLOADS]: The provided HTML template (
assets/walkthrough-template.html) references external stylesheets from Google Fonts. This is a well-known service used for styling the walkthrough output. - [COMMAND_EXECUTION]: The skill uses standard development tools (
gitandgh) to retrieve repository state and PR information. - It implements safety measures, such as using the
--delimiter in git commands to distinguish between revisions and file paths, which prevents potential argument injection from branch or file names.
Audit Metadata