skills/sammcj/agentic-coding/explain/Gen Agent Trust Hub

explain

Warn

Audited by Gen Agent Trust Hub on Nov 11, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The skill generates HTML files containing inline JavaScript and CSS based on user-provided topics and existing project code. This dynamic creation of executable content in a browser context creates a surface for potential script injection or Cross-Site Scripting (XSS) vulnerabilities.\n- [COMMAND_EXECUTION]: The instructions direct the agent to execute shell commands to modify the .git/info/exclude file. This action hides the skill's generated .explain/ directory from standard git visibility (git status) without modifying the project's shared .gitignore file, which is a technique for local file concealment.\n- [EXTERNAL_DOWNLOADS]: The skill's generated HTML pages are configured to load the Mermaid.js library from the JSDelivr CDN (cdn.jsdelivr.net). This fetches external JavaScript for rendering diagrams at runtime.\n- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process arbitrary code from the current project directory to generate explanations, which could be exploited if project files contain malicious content.\n
  • Ingestion points: Reads local project files via the path:line instruction.\n
  • Boundary markers: No specific delimiters or safety instructions are used when interpolating file content into the generated HTML/JS.\n
  • Capability inventory: File system write access (creating .explain/ directory and HTML files) and shell command execution via git utilities.\n
  • Sanitization: The instructions do not specify any sanitization or escaping of the project content before it is embedded into the generated interactive output.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 11, 2026, 09:32 AM