refactor-rust
Pass
Audited by Gen Agent Trust Hub on Apr 25, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes repository-specific verification commands including justfile tasks and standard Rust tooling such as cargo test, cargo clippy, and cargo fmt. This is a standard and necessary part of the refactoring process to ensure code correctness and behavior preservation.
- [SAFE]: The instructions direct the agent to read dependency source code from the local Cargo registry cache at ~/.cargo/registry/src/. This is a legitimate operation used to verify the behavior of external crates during refactoring.
- [SAFE]: The skill involves reading project-specific files like CLAUDE.md and Rust source code which creates a potential surface for indirect prompt injection. However, the instructions emphasize user confirmation for major changes and verification through standard testing tools, which mitigates risks associated with untrusted project data.
Audit Metadata