diff-viewer
Pass
Audited by Gen Agent Trust Hub on Sep 7, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/generate_diff_report.pyexecutesgitcommands usingsubprocess.runto retrieve diff and repository metadata. These calls use argument lists rather than shell strings, which is a secure practice that prevents command injection.- [EXTERNAL_DOWNLOADS]: The skill's HTML template loads thehighlight.jslibrary from Cloudflare's public CDN (cdnjs.cloudflare.com). This is a well-known service for delivering public library assets and is used here for legitimate syntax highlighting functionality.- [SAFE]: The skill follows security best practices by usinghtml.escapeon all content derived from the git diff before embedding it in the report, preventing potential cross-site scripting (XSS) in the generated viewer. It also explicitly instructs the agent not to edit the.gitignorefile automatically, maintaining user control over the environment.
Audit Metadata