refactor
Pass
Audited by Gen Agent Trust Hub on Jun 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes standard development and testing commands including
npx jest,pytest,dotnet test, andnpx tsc. These are used to establish a baseline and verify that refactoring changes do not break the codebase. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection (Category 8) as it reads and processes untrusted code from the local file system. A malicious project could contain instructions within code comments designed to influence the agent's behavior.
- Ingestion points: Reads file content from the local directory and processes
CONTEXT.md(SKILL.md). - Boundary markers: None detected; the skill does not wrap the ingested code in delimiters or use instructions to ignore embedded commands.
- Capability inventory: The skill can execute shell commands for testing and read/write local files (Phase 0, Phase 3).
- Sanitization: No explicit sanitization or filtering of the processed code is performed.
- [SAFE]: The skill implements a 'proposal-first' approach, ensuring that no file modifications are made without explicit user confirmation of specific 'refactoring moves', which serves as a significant security safeguard.
Audit Metadata