refactoring-code

Pass

Audited by Gen Agent Trust Hub on May 8, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes a TEST_COMMAND (e.g., npm test) provided by the user to validate that code changes preserve observable behavior. This command is executed by the behavior-mapper and refactor-implementer subagents.
  • [EXTERNAL_DOWNLOADS]: The refactor-strategist and refactor-reviewer subagents fetch technical guidance and refactoring patterns from well-known engineering resources, such as Martin Fowler's blog, Refactoring Guru, and Clean Coder, to inform their decisions.
  • [PROMPT_INJECTION]: The skill possesses a surface for indirect prompt injection because it reads and processes external source code provided via the TARGET_PATH. However, it incorporates specific mapping and review phases designed to detect and prevent unintended behavior changes.
Audit Metadata
Risk Level
SAFE
Analyzed
May 8, 2026, 03:20 PM