refactoring-guide
Pass
Audited by Gen Agent Trust Hub on Dec 1, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to identify and execute the project's test suite and a bundled shell script (scripts/refactor_check.sh). This allows the agent to run local binaries and scripts on the host system as part of the refactoring verification process.
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted code provided by the user, creating an attack surface where malicious instructions embedded in code comments or strings could influence agent behavior.
- Ingestion points: Source code files processed in SKILL.md.
- Boundary markers: Absent; no instructions are provided to delimit or ignore instructions within the target code.
- Capability inventory: The skill uses file-writing to apply refactorings and command execution for verification (test runs and scripts).
- Sanitization: Absent; there is no step for filtering or sanitizing comments within the processed code.
Audit Metadata