improve-codebase-architecture
Warn
Audited by Gen Agent Trust Hub on Nov 12, 2026
Risk Level: MEDIUMINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill generates an HTML report at runtime that includes a Mermaid.js configuration with
securityLevel: "loose". This setting explicitly allows the execution of scripts and HTML within diagrams, posing a Cross-Site Scripting (XSS) risk if the codebase being analyzed contains malicious content that is rendered in the report.- [INDIRECT_PROMPT_INJECTION]: The skill has a vulnerability surface for processing untrusted data. Ingestion points: Codebase source files,GLOSSARY.md, and ADR documents. Boundary markers: Absent. Capability inventory: Subprocess execution (git), file system writes to temp directories, and shell commands to open local files. Sanitization: No explicit escaping or sanitization of codebase strings is performed before interpolation into the HTML report.- [EXTERNAL_DOWNLOADS]: The generated report fetches external assets fromcdn.tailwindcss.comandcdn.jsdelivr.net. While these are well-known services, the report depends on these external network resources to render correctly.- [COMMAND_EXECUTION]: The skill uses platform-specific shell commands includingxdg-open,open, andstartto automatically launch the default system browser and display the generated HTML file from the temporary directory.
Audit Metadata