improve-codebase-architecture
Pass
Audited by Gen Agent Trust Hub on Apr 25, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection (Category 8) because it ingests and processes data from the local codebase which may contain untrusted content. Maliciously crafted documentation or comments could attempt to influence the agent's recommendations or the content of the generated GitHub issues.
- Ingestion points: Codebase files and project documentation (such as
CONTEXT.mdanddocs/adr/) accessed during the 'Explore' phase inSKILL.md. - Boundary markers: Absent; there are no specific delimiters or instructions defined to isolate untrusted codebase content from the agent's core logic.
- Capability inventory: The skill has the ability to read the entire codebase and write to external repositories using the
gh issue createcommand. - Sanitization: Absent; the skill does not specify any sanitization or validation of the code snippets or documentation it extracts before including them in issue bodies.
- [COMMAND_EXECUTION]: The skill uses the
gh(GitHub CLI) andgitcommands to interact with the user's repository. These operations are essential for the skill's stated purpose of shipping refactoring tasks to GitHub issues and include a mandatory confirmation step requiring the user to review the title, labels, and body before execution.
Audit Metadata