destructive_command_guard 0.4.3

A Claude Code hook that blocks destructive commands before they execute
Documentation
1
2
3
4
5
6
7
8
9
10
//! System pack - protections for system administration commands.
//!
//! This pack provides protection against destructive system operations:
//! - Disk operations (dd, fdisk, mkfs)
//! - Permission changes (chmod, chown with dangerous patterns)
//! - Service management (systemctl, service)

pub mod disk;
pub mod permissions;
pub mod services;