improve-codebase-architecture

Pass

Audited by Gen Agent Trust Hub on Nov 23, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted codebase data (git logs, file content) and renders it into an HTML report. Ingestion points: git log output and file contents across the codebase (SKILL.md). Boundary markers: Absent in the HTML generation logic. Capability inventory: Writing files to the system temporary directory and executing shell commands to open them in a browser (SKILL.md). Sanitization: No explicit sanitization or escaping of the extracted codebase content is mentioned before it is embedded in the report.
  • [EXTERNAL_DOWNLOADS]: The generated HTML report (HTML-REPORT.md) includes external scripts and styles from well-known services. Evidence: Fetches Tailwind CSS from cdn.tailwindcss.com and Mermaid.js from cdn.jsdelivr.net.
  • [COMMAND_EXECUTION]: The skill executes platform-specific commands to open the generated report for the user. Evidence: Uses xdg-open, open, and start to launch the HTML file in the default browser.
  • [DYNAMIC_EXECUTION]: The HTML report template configures Mermaid with securityLevel: "loose". Evidence: This setting in HTML-REPORT.md allows HTML tags to be rendered within diagrams, which could facilitate Cross-Site Scripting (XSS) if content extracted from the analyzed codebase contains malicious HTML.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 23, 2026, 12:00 PM