code-simplification
Pass
Audited by Gen Agent Trust Hub on Oct 2, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [SAFE]: The skill outlines best practices for code refactoring, such as applying the Rule of Three for duplication and using guard clauses to reduce nesting. These instructions are standard for improving code maintainability.\n- [INDIRECT_PROMPT_INJECTION]: The skill requires the agent to analyze external code and git diffs, which constitutes an ingestion point for untrusted data. The risk is minimized by the skill's focus on structural simplification and anti-pattern detection.\n
- Ingestion points: Analysis of changed files and git diffs.\n
- Boundary markers: None explicitly defined.\n
- Capability inventory: The skill assumes the agent can read and refactor project files.\n
- Sanitization: Not present.
Audit Metadata