setup-rust-pre-commit
Pass
Audited by Gen Agent Trust Hub on Aug 16, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill provides scripts that execute standard Rust toolchain commands (
cargo fmt,cargo clippy) and Git commands (git diff,git add,git config). These are legitimate development actions for formatting and linting staged changes. - [PRIVILEGE_ESCALATION]: The skill uses
chmod +xto make the pre-commit hook script executable. This is the standard and expected procedure for creating Git hooks and does not represent an escalation beyond normal user permissions. - [REMOTE_CODE_EXECUTION]: While the skill mentions and configures external tools like
lefthookandpre-commit, it does not perform any unverified downloads or remote script executions. It provides local configuration files and relies on the user's existing environment or manual installation of well-known tools. - [DATA_EXPOSURE]: The skill does not access sensitive files or credentials. Its operations are restricted to project source code (
*.rsfiles) and Git metadata within the repository.
Audit Metadata