improve-codebase-architecture
Pass
Audited by Gen Agent Trust Hub on Jun 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from a codebase using tools like
bash,grep, andfind. It lacks explicit boundary markers or sanitization logic, creating a surface where malicious code in the project files could influence agent behavior or the content of generated reports. - Ingestion points: Project files and documentation read via
read,grep,find, andbashinSKILL.md. - Boundary markers: None present in the instructions.
- Capability inventory:
bashcommand execution, file system writes to temp directories, and opening files viaxdg-open/open/start. - Sanitization: None specified for the interpolation of code content into the HTML report.
- [DYNAMIC_EXECUTION]: The architectural report template in
HTML-REPORT.mdconfigures the Mermaid.js library withsecurityLevel: "loose". This setting disables important security sandboxing, which could allow malicious content harvested from the codebase to execute scripts in the user's browser when the report is opened. - [EXTERNAL_DOWNLOADS]: The generated HTML reports fetch dependencies from well-known services, specifically Tailwind CSS from
cdn.tailwindcss.comand Mermaid.js from the JSDelivr CDN (jsdelivr.net). These are used for styling and diagram rendering. - [COMMAND_EXECUTION]: The skill uses the
bashtool to explore project directories and utilizes OS-level commands (xdg-open,open, orstart) to automatically launch the generated report for the user.
Audit Metadata