improve-codebase-architecture
Pass
Audited by Gen Agent Trust Hub on Oct 12, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local commands to analyze the project and present findings.
- Evidence: Uses
git log --onelineinSKILL.mdto identify codebase hot spots. - Evidence: Executes
xdg-open,open, orstartinSKILL.mdto automatically launch the generated architectural report in the user's default browser. - [EXTERNAL_DOWNLOADS]: The generated HTML report fetches external resources from well-known services.
- Evidence:
HTML-REPORT.mdincludes<script src="https://cdn.tailwindcss.com"></script>for styling. - Evidence:
HTML-REPORT.mdimportsmermaid.esm.min.mjsfromcdn.jsdelivr.netfor diagram rendering. - [INDIRECT_PROMPT_INJECTION]: The skill has a vulnerability surface for indirect injection via processed codebase data.
- Ingestion points:
SKILL.mdinstructs the agent to readCONTEXT.md,docs/adr/, git logs, and various source files across the repository. - Boundary markers: No explicit boundary markers or sanitization logic is defined for the HTML report generation.
- Capability inventory: The skill can write files to the temp directory and execute shell commands to open them.
- Sanitization: Not present.
HTML-REPORT.mdexplicitly configures the Mermaid diagram engine withsecurityLevel: "loose", which increases the risk of cross-site scripting (XSS) if malicious code strings are parsed from the repository and rendered into the report's diagrams.
Audit Metadata