refactor-mindset
Pass
Audited by Gen Agent Trust Hub on Oct 2, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill serves as a behavioral guideline for code refactoring. It instructs the agent to analyze code structures, identify "Code Smells," and prioritize long-term maintainability.
- [SAFE]: The instructions include 'AI-specific principles' that suggest making broader architectural changes rather than small incremental ones. This is a stylistic and methodological instruction for the agent's logic and does not bypass platform safety constraints or ethical guidelines.
- [SAFE]: No network operations, sensitive file access (such as credentials or environment variables), or external code downloads were detected in the skill instructions.
- [INDIRECT_PROMPT_INJECTION]: The skill inherently processes external data (source code) and has the capability to modify files during refactoring. While this creates a surface for indirect prompt injection, it is the primary intended purpose of a refactoring skill and no evidence of inadequate sanitization or dangerous command interpolation was found. The risk is considered standard for this type of tool.
Audit Metadata