{"crate":{"id":"destructive_command_guard","name":"destructive_command_guard","updated_at":"2026-08-25T00:03:15.332122Z","versions":[3071662,2900146,2814118,2788711,2463958,2458148,2304120,2152645,2054623,2054100],"keywords":["claude","destructive","guard","hook","safety"],"categories":["command-line-utilities","development-tools"],"badges":[],"created_at":"2026-02-23T01:56:52.726728Z","downloads":360,"recent_downloads":192,"default_version":"0.13.0","num_versions":10,"yanked":false,"max_version":"0.13.0","newest_version":"0.13.0","max_stable_version":"0.13.0","description":"An AI coding agent hook that blocks destructive commands before they execute","homepage":"https://github.com/Dicklesworthstone/destructive_command_guard","documentation":null,"repository":"https://github.com/Dicklesworthstone/destructive_command_guard","links":{"version_downloads":"/api/v1/crates/destructive_command_guard/downloads","versions":null,"owners":"/api/v1/crates/destructive_command_guard/owners","owner_team":"/api/v1/crates/destructive_command_guard/owner_team","owner_user":"/api/v1/crates/destructive_command_guard/owner_user","reverse_dependencies":"/api/v1/crates/destructive_command_guard/reverse_dependencies"},"exact_match":false,"trustpub_only":false},"versions":[{"id":3071662,"crate":"destructive_command_guard","num":"0.13.0","dl_path":"/api/v1/crates/destructive_command_guard/0.13.0/download","readme_path":"/api/v1/crates/destructive_command_guard/0.13.0/readme","updated_at":"2026-08-25T00:03:15.332122Z","created_at":"2026-08-25T00:03:15.332122Z","downloads":20,"features":{"default":["rich-output"],"rayon":["dep:rayon"],"rich-output":["dep:rich_rust"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"non-standard","links":{"dependencies":"/api/v1/crates/destructive_command_guard/0.13.0/dependencies","version_downloads":"/api/v1/crates/destructive_command_guard/0.13.0/downloads","authors":"/api/v1/crates/destructive_command_guard/0.13.0/authors"},"crate_size":2354914,"published_by":{"id":382477,"login":"Dicklesworthstone","name":"Jeff Emanuel","avatar":"https://avatars.githubusercontent.com/u/35050222?v=4","url":"https://github.com/Dicklesworthstone","github_username_matches":true,"created_at":"2018-01-03T00:59:45Z"},"audit_actions":[{"action":"publish","user":{"id":382477,"login":"Dicklesworthstone","name":"Jeff Emanuel","avatar":"https://avatars.githubusercontent.com/u/35050222?v=4","url":"https://github.com/Dicklesworthstone","github_username_matches":true,"created_at":"2018-01-03T00:59:45Z"},"time":"2026-08-25T00:03:15.332122Z"}],"checksum":"8ea44bd5f6e803f2a23ac8e48f6117de0fd120f357df7b64575d36d7803f523a","rust_version":"1.95","has_lib":true,"bin_names":["dcg"],"edition":"2024","description":"An AI coding agent hook that blocks destructive commands before they execute","homepage":"https://github.com/Dicklesworthstone/destructive_command_guard","documentation":null,"repository":"https://github.com/Dicklesworthstone/destructive_command_guard","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":185157,"comment_lines":19499,"files":178},"Shell":{"code_lines":4711,"comment_lines":656,"files":2}},"total_code_lines":189868,"total_comment_lines":20155}},{"id":2900146,"crate":"destructive_command_guard","num":"0.7.8","dl_path":"/api/v1/crates/destructive_command_guard/0.7.8/download","readme_path":"/api/v1/crates/destructive_command_guard/0.7.8/readme","updated_at":"2026-07-31T03:43:10.475056Z","created_at":"2026-07-31T03:43:10.475056Z","downloads":31,"features":{"default":["rich-output"],"rayon":["dep:rayon"],"rich-output":["dep:rich_rust"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"non-standard","links":{"dependencies":"/api/v1/crates/destructive_command_guard/0.7.8/dependencies","version_downloads":"/api/v1/crates/destructive_command_guard/0.7.8/downloads","authors":"/api/v1/crates/destructive_command_guard/0.7.8/authors"},"crate_size":1980594,"published_by":{"id":382477,"login":"Dicklesworthstone","name":"Jeff Emanuel","avatar":"https://avatars.githubusercontent.com/u/35050222?v=4","url":"https://github.com/Dicklesworthstone","github_username_matches":true,"created_at":"2018-01-03T00:59:45Z"},"audit_actions":[{"action":"publish","user":{"id":382477,"login":"Dicklesworthstone","name":"Jeff Emanuel","avatar":"https://avatars.githubusercontent.com/u/35050222?v=4","url":"https://github.com/Dicklesworthstone","github_username_matches":true,"created_at":"2018-01-03T00:59:45Z"},"time":"2026-07-31T03:43:10.475056Z"}],"checksum":"1f54fcbc1a0e4c5d7f792fb530e21cf3d85599cd695db120e2269cdad1988ea2","rust_version":"1.95","has_lib":true,"bin_names":["dcg"],"edition":"2024","description":"An AI coding agent hook that blocks destructive commands before they execute","homepage":"https://github.com/Dicklesworthstone/destructive_command_guard","documentation":null,"repository":"https://github.com/Dicklesworthstone/destructive_command_guard","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":172683,"comment_lines":10961,"files":176},"Shell":{"code_lines":3799,"comment_lines":467,"files":2}},"total_code_lines":176482,"total_comment_lines":11428}},{"id":2814118,"crate":"destructive_command_guard","num":"0.6.9","dl_path":"/api/v1/crates/destructive_command_guard/0.6.9/download","readme_path":"/api/v1/crates/destructive_command_guard/0.6.9/readme","updated_at":"2026-07-18T12:52:35.712468Z","created_at":"2026-07-18T12:52:35.712468Z","downloads":39,"features":{"default":["rich-output"],"rayon":["dep:rayon"],"rich-output":["dep:rich_rust"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"non-standard","links":{"dependencies":"/api/v1/crates/destructive_command_guard/0.6.9/dependencies","version_downloads":"/api/v1/crates/destructive_command_guard/0.6.9/downloads","authors":"/api/v1/crates/destructive_command_guard/0.6.9/authors"},"crate_size":1794714,"published_by":{"id":382477,"login":"Dicklesworthstone","name":"Jeff Emanuel","avatar":"https://avatars.githubusercontent.com/u/35050222?v=4","url":"https://github.com/Dicklesworthstone","github_username_matches":true,"created_at":"2018-01-03T00:59:45Z"},"audit_actions":[{"action":"publish","user":{"id":382477,"login":"Dicklesworthstone","name":"Jeff Emanuel","avatar":"https://avatars.githubusercontent.com/u/35050222?v=4","url":"https://github.com/Dicklesworthstone","github_username_matches":true,"created_at":"2018-01-03T00:59:45Z"},"time":"2026-07-18T12:52:35.712468Z"}],"checksum":"30c225c92ea9f9ba4dccc74f1813d153aa3db20b1b2fd95a44391708b7cc1934","rust_version":"1.95","has_lib":true,"bin_names":["dcg"],"edition":"2024","description":"An AI coding agent hook that blocks destructive commands before they execute","homepage":"https://github.com/Dicklesworthstone/destructive_command_guard","documentation":null,"repository":"https://github.com/Dicklesworthstone/destructive_command_guard","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":154666,"comment_lines":10546,"files":168},"Shell":{"code_lines":3716,"comment_lines":488,"files":2}},"total_code_lines":158382,"total_comment_lines":11034}},{"id":2788711,"crate":"destructive_command_guard","num":"0.6.7","dl_path":"/api/v1/crates/destructive_command_guard/0.6.7/download","readme_path":"/api/v1/crates/destructive_command_guard/0.6.7/readme","updated_at":"2026-07-15T03:12:56.628712Z","created_at":"2026-07-15T03:12:56.628712Z","downloads":31,"features":{"default":["rich-output"],"rayon":["dep:rayon"],"rich-output":["dep:rich_rust"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"non-standard","links":{"dependencies":"/api/v1/crates/destructive_command_guard/0.6.7/dependencies","version_downloads":"/api/v1/crates/destructive_command_guard/0.6.7/downloads","authors":"/api/v1/crates/destructive_command_guard/0.6.7/authors"},"crate_size":1585737,"published_by":{"id":382477,"login":"Dicklesworthstone","name":"Jeff Emanuel","avatar":"https://avatars.githubusercontent.com/u/35050222?v=4","url":"https://github.com/Dicklesworthstone","github_username_matches":true,"created_at":"2018-01-03T00:59:45Z"},"audit_actions":[{"action":"publish","user":{"id":382477,"login":"Dicklesworthstone","name":"Jeff Emanuel","avatar":"https://avatars.githubusercontent.com/u/35050222?v=4","url":"https://github.com/Dicklesworthstone","github_username_matches":true,"created_at":"2018-01-03T00:59:45Z"},"time":"2026-07-15T03:12:56.628712Z"}],"checksum":"c0d4b99b31eb4babc7d66fce98682a0cedb098d33d161705d93b14256affe573","rust_version":"1.95","has_lib":true,"bin_names":["dcg"],"edition":"2024","description":"An AI coding agent hook that blocks destructive commands before they execute","homepage":"https://github.com/Dicklesworthstone/destructive_command_guard","documentation":null,"repository":"https://github.com/Dicklesworthstone/destructive_command_guard","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":122855,"comment_lines":13642,"files":167},"Shell":{"code_lines":3716,"comment_lines":488,"files":2}},"total_code_lines":126571,"total_comment_lines":14130}},{"id":2463958,"crate":"destructive_command_guard","num":"0.5.6","dl_path":"/api/v1/crates/destructive_command_guard/0.5.6/download","readme_path":"/api/v1/crates/destructive_command_guard/0.5.6/readme","updated_at":"2026-05-26T23:59:39.980187Z","created_at":"2026-05-26T23:59:39.980187Z","downloads":61,"features":{"default":["rich-output"],"rayon":["dep:rayon"],"rich-output":["dep:rich_rust"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT","links":{"dependencies":"/api/v1/crates/destructive_command_guard/0.5.6/dependencies","version_downloads":"/api/v1/crates/destructive_command_guard/0.5.6/downloads","authors":"/api/v1/crates/destructive_command_guard/0.5.6/authors"},"crate_size":1347485,"published_by":{"id":382477,"login":"Dicklesworthstone","name":"Jeff Emanuel","avatar":"https://avatars.githubusercontent.com/u/35050222?v=4","url":"https://github.com/Dicklesworthstone","github_username_matches":true,"created_at":"2018-01-03T00:59:45Z"},"audit_actions":[{"action":"publish","user":{"id":382477,"login":"Dicklesworthstone","name":"Jeff Emanuel","avatar":"https://avatars.githubusercontent.com/u/35050222?v=4","url":"https://github.com/Dicklesworthstone","github_username_matches":true,"created_at":"2018-01-03T00:59:45Z"},"time":"2026-05-26T23:59:39.980187Z"}],"checksum":"2d6f5932d8ced328beb5e3c4009c1732ceda09c70a2efc21d98fb71615e8c17c","rust_version":"1.85","has_lib":true,"bin_names":["dcg"],"edition":"2024","description":"An AI coding agent hook that blocks destructive commands before they execute","homepage":"https://github.com/Dicklesworthstone/destructive_command_guard","documentation":null,"repository":"https://github.com/Dicklesworthstone/destructive_command_guard","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":113420,"comment_lines":8760,"files":160},"Shell":{"code_lines":3561,"comment_lines":442,"files":2}},"total_code_lines":116981,"total_comment_lines":9202}},{"id":2458148,"crate":"destructive_command_guard","num":"0.5.4","dl_path":"/api/v1/crates/destructive_command_guard/0.5.4/download","readme_path":"/api/v1/crates/destructive_command_guard/0.5.4/readme","updated_at":"2026-05-25T21:34:47.592895Z","created_at":"2026-05-25T21:34:47.592895Z","downloads":21,"features":{"default":["rich-output"],"rayon":["dep:rayon"],"rich-output":["dep:rich_rust"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT","links":{"dependencies":"/api/v1/crates/destructive_command_guard/0.5.4/dependencies","version_downloads":"/api/v1/crates/destructive_command_guard/0.5.4/downloads","authors":"/api/v1/crates/destructive_command_guard/0.5.4/authors"},"crate_size":1347468,"published_by":{"id":382477,"login":"Dicklesworthstone","name":"Jeff Emanuel","avatar":"https://avatars.githubusercontent.com/u/35050222?v=4","url":"https://github.com/Dicklesworthstone","github_username_matches":true,"created_at":"2018-01-03T00:59:45Z"},"audit_actions":[{"action":"publish","user":{"id":382477,"login":"Dicklesworthstone","name":"Jeff Emanuel","avatar":"https://avatars.githubusercontent.com/u/35050222?v=4","url":"https://github.com/Dicklesworthstone","github_username_matches":true,"created_at":"2018-01-03T00:59:45Z"},"time":"2026-05-25T21:34:47.592895Z"}],"checksum":"48e6eb5dce54e1539ddf3abe3bbb4bc9e9f21bace80b2cc7bdb3dc846d58659f","rust_version":"1.85","has_lib":true,"bin_names":["dcg"],"edition":"2024","description":"An AI coding agent hook that blocks destructive commands before they execute","homepage":"https://github.com/Dicklesworthstone/destructive_command_guard","documentation":null,"repository":"https://github.com/Dicklesworthstone/destructive_command_guard","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":113420,"comment_lines":8760,"files":160},"Shell":{"code_lines":3561,"comment_lines":442,"files":2}},"total_code_lines":116981,"total_comment_lines":9202}},{"id":2304120,"crate":"destructive_command_guard","num":"0.4.5","dl_path":"/api/v1/crates/destructive_command_guard/0.4.5/download","readme_path":"/api/v1/crates/destructive_command_guard/0.4.5/readme","updated_at":"2026-04-25T02:23:59.409494Z","created_at":"2026-04-25T02:23:59.409494Z","downloads":34,"features":{"legacy-output":[],"rayon":["dep:rayon"],"rich-output":["dep:rich_rust"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT","links":{"dependencies":"/api/v1/crates/destructive_command_guard/0.4.5/dependencies","version_downloads":"/api/v1/crates/destructive_command_guard/0.4.5/downloads","authors":"/api/v1/crates/destructive_command_guard/0.4.5/authors"},"crate_size":3002674,"published_by":{"id":382477,"login":"Dicklesworthstone","name":"Jeff Emanuel","avatar":"https://avatars.githubusercontent.com/u/35050222?v=4","url":"https://github.com/Dicklesworthstone","github_username_matches":true,"created_at":"2018-01-03T00:59:45Z"},"audit_actions":[{"action":"publish","user":{"id":382477,"login":"Dicklesworthstone","name":"Jeff Emanuel","avatar":"https://avatars.githubusercontent.com/u/35050222?v=4","url":"https://github.com/Dicklesworthstone","github_username_matches":true,"created_at":"2018-01-03T00:59:45Z"},"time":"2026-04-25T02:23:59.409494Z"}],"checksum":"e50d72cbfdb8f6e54145881c0e112b10df93e227ffd740f4e67ca542b507924a","rust_version":"1.85","has_lib":true,"bin_names":["dcg"],"edition":"2024","description":"A Claude Code hook that blocks destructive commands before they execute","homepage":"https://github.com/Dicklesworthstone/destructive_command_guard","documentation":null,"repository":"https://github.com/Dicklesworthstone/destructive_command_guard","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":94145,"comment_lines":5411,"files":155},"Shell":{"code_lines":2236,"comment_lines":284,"files":2}},"total_code_lines":96381,"total_comment_lines":5695}},{"id":2152645,"crate":"destructive_command_guard","num":"0.4.3","dl_path":"/api/v1/crates/destructive_command_guard/0.4.3/download","readme_path":"/api/v1/crates/destructive_command_guard/0.4.3/readme","updated_at":"2026-03-22T04:29:35.932965Z","created_at":"2026-03-22T04:29:35.932965Z","downloads":59,"features":{"legacy-output":[],"rayon":["dep:rayon"],"rich-output":["dep:rich_rust"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT","links":{"dependencies":"/api/v1/crates/destructive_command_guard/0.4.3/dependencies","version_downloads":"/api/v1/crates/destructive_command_guard/0.4.3/downloads","authors":"/api/v1/crates/destructive_command_guard/0.4.3/authors"},"crate_size":2939625,"published_by":{"id":382477,"login":"Dicklesworthstone","name":"Jeff Emanuel","avatar":"https://avatars.githubusercontent.com/u/35050222?v=4","url":"https://github.com/Dicklesworthstone","github_username_matches":true,"created_at":"2018-01-03T00:59:45Z"},"audit_actions":[{"action":"publish","user":{"id":382477,"login":"Dicklesworthstone","name":"Jeff Emanuel","avatar":"https://avatars.githubusercontent.com/u/35050222?v=4","url":"https://github.com/Dicklesworthstone","github_username_matches":true,"created_at":"2018-01-03T00:59:45Z"},"time":"2026-03-22T04:29:35.932965Z"}],"checksum":"03e0849262a2bfb3ac7230b8c3c33bdd81e033032d9631e121f94a69679b2d58","rust_version":"1.85","has_lib":true,"bin_names":["dcg"],"edition":"2024","description":"A Claude Code hook that blocks destructive commands before they execute","homepage":"https://github.com/Dicklesworthstone/destructive_command_guard","documentation":null,"repository":"https://github.com/Dicklesworthstone/destructive_command_guard","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":87092,"comment_lines":6701,"files":154},"Shell":{"code_lines":2088,"comment_lines":262,"files":2}},"total_code_lines":89180,"total_comment_lines":6963}},{"id":2054623,"crate":"destructive_command_guard","num":"0.4.2","dl_path":"/api/v1/crates/destructive_command_guard/0.4.2/download","readme_path":"/api/v1/crates/destructive_command_guard/0.4.2/readme","updated_at":"2026-02-23T06:16:28.675474Z","created_at":"2026-02-23T06:16:28.675474Z","downloads":43,"features":{"legacy-output":[],"rayon":["dep:rayon"],"rich-output":["dep:rich_rust"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT","links":{"dependencies":"/api/v1/crates/destructive_command_guard/0.4.2/dependencies","version_downloads":"/api/v1/crates/destructive_command_guard/0.4.2/downloads","authors":"/api/v1/crates/destructive_command_guard/0.4.2/authors"},"crate_size":2904326,"published_by":{"id":382477,"login":"Dicklesworthstone","name":"Jeff Emanuel","avatar":"https://avatars.githubusercontent.com/u/35050222?v=4","url":"https://github.com/Dicklesworthstone","github_username_matches":true,"created_at":"2018-01-03T00:59:45Z"},"audit_actions":[{"action":"publish","user":{"id":382477,"login":"Dicklesworthstone","name":"Jeff Emanuel","avatar":"https://avatars.githubusercontent.com/u/35050222?v=4","url":"https://github.com/Dicklesworthstone","github_username_matches":true,"created_at":"2018-01-03T00:59:45Z"},"time":"2026-02-23T06:16:28.675474Z"}],"checksum":"086a67155dea646ca56d762abe31904a898cb09dc3d0343fd449125e750b2a9e","rust_version":"1.85","has_lib":true,"bin_names":["dcg"],"edition":"2024","description":"A Claude Code hook that blocks destructive commands before they execute","homepage":"https://github.com/Dicklesworthstone/destructive_command_guard","documentation":null,"repository":"https://github.com/Dicklesworthstone/destructive_command_guard","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":84250,"comment_lines":5421,"files":153},"Shell":{"code_lines":2023,"comment_lines":252,"files":2}},"total_code_lines":86273,"total_comment_lines":5673}},{"id":2054100,"crate":"destructive_command_guard","num":"0.4.1","dl_path":"/api/v1/crates/destructive_command_guard/0.4.1/download","readme_path":"/api/v1/crates/destructive_command_guard/0.4.1/readme","updated_at":"2026-02-23T01:56:52.726728Z","created_at":"2026-02-23T01:56:52.726728Z","downloads":21,"features":{"legacy-output":[],"rayon":["dep:rayon"],"rich-output":["dep:rich_rust"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT","links":{"dependencies":"/api/v1/crates/destructive_command_guard/0.4.1/dependencies","version_downloads":"/api/v1/crates/destructive_command_guard/0.4.1/downloads","authors":"/api/v1/crates/destructive_command_guard/0.4.1/authors"},"crate_size":2902189,"published_by":{"id":382477,"login":"Dicklesworthstone","name":"Jeff Emanuel","avatar":"https://avatars.githubusercontent.com/u/35050222?v=4","url":"https://github.com/Dicklesworthstone","github_username_matches":true,"created_at":"2018-01-03T00:59:45Z"},"audit_actions":[{"action":"publish","user":{"id":382477,"login":"Dicklesworthstone","name":"Jeff Emanuel","avatar":"https://avatars.githubusercontent.com/u/35050222?v=4","url":"https://github.com/Dicklesworthstone","github_username_matches":true,"created_at":"2018-01-03T00:59:45Z"},"time":"2026-02-23T01:56:52.726728Z"}],"checksum":"90dca787954b9849d8d6ea73668b5aeb6e0d3b03815292e61451a1a6d931f80c","rust_version":"1.85","has_lib":true,"bin_names":["dcg"],"edition":"2024","description":"A Claude Code hook that blocks destructive commands before they execute","homepage":"https://github.com/Dicklesworthstone/destructive_command_guard","documentation":null,"repository":"https://github.com/Dicklesworthstone/destructive_command_guard","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":84241,"comment_lines":5409,"files":153},"Shell":{"code_lines":2023,"comment_lines":252,"files":2}},"total_code_lines":86264,"total_comment_lines":5661}}],"keywords":[{"id":"claude","keyword":"claude","created_at":"2023-05-15T15:54:09.397767Z","crates_cnt":904},{"id":"destructive","keyword":"destructive","created_at":"2017-11-24T21:08:22.606612Z","crates_cnt":2},{"id":"guard","keyword":"guard","created_at":"2015-11-26T20:35:00.402897Z","crates_cnt":54},{"id":"hook","keyword":"hook","created_at":"2015-03-19T13:01:09.181600Z","crates_cnt":124},{"id":"safety","keyword":"safety","created_at":"2017-01-20T06:22:58.759805Z","crates_cnt":171}],"categories":[{"id":"command-line-utilities","category":"Command line utilities","slug":"command-line-utilities","description":"Applications to run at the command line.","created_at":"2017-01-17T19:13:05.112025Z","crates_cnt":30757},{"id":"development-tools","category":"Development tools","slug":"development-tools","description":"Crates that provide developer-facing features such as testing, debugging, linting, performance profiling, autocompletion, formatting, and more.","created_at":"2016-12-30T23:42:37.777395Z","crates_cnt":22156}]}