Download Latest Version dcg-x86_64-pc-windows-msvc.zip (7.2 MB)
Email in envelope

Get an email when there's a new version of Destructive Command Guard

Home / v0.6.7
Name Modified Size InfoDownloads / Week
Parent folder
install.sh.sha256 < 9 hours ago 77 Bytes
destructive_command_guard-v0.6.7-manifest.json < 9 hours ago 5.0 kB
destructive_command_guard-v0.6.7-manifest.json.intoto.jsonl < 9 hours ago 1.3 kB
destructive_command_guard-v0.6.7-manifest.json.intoto.jsonl.minisig < 9 hours ago 348 Bytes
destructive_command_guard-v0.6.7-manifest.json.minisig < 9 hours ago 337 Bytes
destructive_command_guard-v0.6.7-manifest.json.sha256 < 9 hours ago 113 Bytes
install.ps1 < 9 hours ago 73.4 kB
install.ps1.intoto.jsonl < 9 hours ago 1.3 kB
install.ps1.intoto.jsonl.minisig < 9 hours ago 338 Bytes
install.ps1.minisig < 9 hours ago 325 Bytes
install.ps1.sha256 < 9 hours ago 78 Bytes
install.sh < 9 hours ago 115.2 kB
install.sh.intoto.jsonl < 9 hours ago 1.3 kB
install.sh.intoto.jsonl.minisig < 9 hours ago 337 Bytes
install.sh.minisig < 9 hours ago 324 Bytes
dcg-x86_64-pc-windows-msvc.zip < 9 hours ago 7.2 MB
dcg-x86_64-pc-windows-msvc.zip.intoto.jsonl < 9 hours ago 1.3 kB
dcg-x86_64-pc-windows-msvc.zip.intoto.jsonl.minisig < 9 hours ago 364 Bytes
dcg-x86_64-pc-windows-msvc.zip.minisig < 9 hours ago 351 Bytes
dcg-x86_64-pc-windows-msvc.zip.sha256 < 9 hours ago 97 Bytes
dcg-x86_64-unknown-linux-musl.tar.xz < 9 hours ago 6.0 MB
dcg-x86_64-unknown-linux-musl.tar.xz.intoto.jsonl < 9 hours ago 1.3 kB
dcg-x86_64-unknown-linux-musl.tar.xz.intoto.jsonl.minisig < 9 hours ago 370 Bytes
dcg-x86_64-unknown-linux-musl.tar.xz.minisig < 9 hours ago 357 Bytes
dcg-x86_64-unknown-linux-musl.tar.xz.sha256 < 9 hours ago 103 Bytes
dcg-v0.6.7.spdx.json < 9 hours ago 3.1 MB
dcg-v0.6.7.spdx.json.intoto.jsonl < 9 hours ago 1.3 kB
dcg-v0.6.7.spdx.json.intoto.jsonl.minisig < 9 hours ago 347 Bytes
dcg-v0.6.7.spdx.json.minisig < 9 hours ago 334 Bytes
dcg-v0.6.7.spdx.json.sha256 < 9 hours ago 87 Bytes
dcg-x86_64-apple-darwin.tar.xz < 9 hours ago 5.4 MB
dcg-x86_64-apple-darwin.tar.xz.intoto.jsonl < 9 hours ago 1.3 kB
dcg-x86_64-apple-darwin.tar.xz.intoto.jsonl.minisig < 9 hours ago 364 Bytes
dcg-x86_64-apple-darwin.tar.xz.minisig < 9 hours ago 351 Bytes
dcg-x86_64-apple-darwin.tar.xz.sha256 < 9 hours ago 97 Bytes
dcg-aarch64-apple-darwin.tar.xz.minisig < 9 hours ago 352 Bytes
dcg-aarch64-apple-darwin.tar.xz.sha256 < 9 hours ago 98 Bytes
dcg-aarch64-pc-windows-msvc.zip < 9 hours ago 6.9 MB
dcg-aarch64-pc-windows-msvc.zip.intoto.jsonl < 9 hours ago 1.3 kB
dcg-aarch64-pc-windows-msvc.zip.intoto.jsonl.minisig < 9 hours ago 365 Bytes
dcg-aarch64-pc-windows-msvc.zip.minisig < 9 hours ago 352 Bytes
dcg-aarch64-pc-windows-msvc.zip.sha256 < 9 hours ago 98 Bytes
dcg-aarch64-unknown-linux-gnu.tar.xz < 9 hours ago 5.7 MB
dcg-aarch64-unknown-linux-gnu.tar.xz.intoto.jsonl < 9 hours ago 1.3 kB
dcg-aarch64-unknown-linux-gnu.tar.xz.intoto.jsonl.minisig < 9 hours ago 370 Bytes
dcg-aarch64-unknown-linux-gnu.tar.xz.minisig < 9 hours ago 357 Bytes
dcg-aarch64-unknown-linux-gnu.tar.xz.sha256 < 9 hours ago 103 Bytes
dcg-aarch64-apple-darwin.tar.xz < 9 hours ago 5.2 MB
dcg-aarch64-apple-darwin.tar.xz.intoto.jsonl < 9 hours ago 1.3 kB
dcg-aarch64-apple-darwin.tar.xz.intoto.jsonl.minisig < 9 hours ago 365 Bytes
SHA256SUMS < 9 hours ago 2.0 kB
SHA256SUMS.minisig < 9 hours ago 339 Bytes
dcg v0.6.7 source code.tar.gz < 10 hours ago 6.3 MB
dcg v0.6.7 source code.zip < 10 hours ago 6.6 MB
README.md < 10 hours ago 2.3 kB
Totals: 55 Items   52.8 MB 0

dcg v0.6.7

Security and correctness release focused on indirect command input, strict Git enforcement, installer integrity, and Windows policy compatibility.

Highlights

  • Closes the database-client stdin bypass class across Redis, PostgreSQL, MySQL/MariaDB, MongoDB, and SQLite. Bounded static producers, redirects, heredocs, script loaders, and command substitutions are evaluated with the consumer pack; dynamic or unsafe input fails closed.
  • Blocks Git's leading-plus force-refspec forms, including constructed variants, in strict mode.
  • Fixes project allowlists outside Git repositories, quoted /tmp recursive-delete false positives, inert sed-substitution false positives, and n/N environment-flag semantics.
  • Makes the PowerShell installer compatible with ConstrainedLanguage primitives by using signed inbox tooling for hashing and archive handling.
  • Adds strict minisign verification to both installers and strengthens archive-layout, version-selection, and installed-version checks.

Release integrity

All six binaries were built manually from annotated tag v0.6.7 at commit d847471364adf24d819c34a96058bc136cdc00b1; repository GitHub Actions workflows were disabled before the commit/tag push and were not used for builds or publication. Archives contain exactly one root-level dcg or dcg.exe.

Release assets include SHA-256 checksums, minisign signatures using key ID 36B847D11BA5A0D0, signed DSR local-build SLSA provenance statements, and a source-tree SPDX SBOM. No Sigstore bundle is claimed for these manual builds.

Verify an artifact with:

:::bash
sha256sum -c dcg-<target>.<archive>.sha256
minisign -Vm dcg-<target>.<archive> -P RWTQoKUb0Ue4NsqTpPWnABCrIU0+m25zsMlbv6UcRClQ7jmRP3A7NmTB

Validation

  • Rust: check, clippy with warnings denied, formatting, full tests, audit, and cargo-deny gates passed.
  • Packaging: crates.io dry-run, unpacked-crate build, all-target compile, and packaged runtime proof passed.
  • Installers: 165/165 Bats and 15/15 PowerShell tests passed.
  • End to end: 323/323 release-binary scenarios and the hermetic scan golden passed on a quiet real Linux host.

The crate is also available from crates.io as destructive_command_guard 0.6.7.

See CHANGELOG.md in the tagged source for the complete technical detail.

Source: README.md, updated 2026-07-15