improve-codebase-architecture
Pass
Audited by Gen Agent Trust Hub on Nov 20, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill generates an HTML report that includes script and style references to well-known CDNs (cdn.tailwindcss.com and cdn.jsdelivr.net).
- [COMMAND_EXECUTION]: The skill executes shell commands to analyze the repository (git log) and to open the resulting HTML report using system utilities (xdg-open, open, or start).
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from the codebase being scanned, including source code files, git history, and documentation (ADR/Glossary). It lacks explicit instructions for sanitizing this content before including it in the generated HTML report. This creates a surface where malicious code comments or documentation could attempt to manipulate the agent's architectural analysis or execute scripts in the user's browser via the generated report. This is particularly relevant as the report uses Mermaid with 'securityLevel: loose', which permits script execution within diagrams if input is not properly handled.
Audit Metadata