Download Latest Version dcg-x86_64-pc-windows-msvc.zip (6.2 MB) Google Add to Preferred Sources
Home / v0.15.1
Name Modified Size InfoDownloads / Week
Parent folder
install.ps1.minisig 2026-09-29 391 Bytes
install.ps1.sha256 2026-09-29 78 Bytes
install.ps1.sigstore.json 2026-09-29 3.9 kB
install.sh 2026-09-29 157.9 kB
install.sh.minisig 2026-09-29 390 Bytes
install.sh.sha256 2026-09-29 77 Bytes
install.sh.sigstore.json 2026-09-29 3.9 kB
dcg-x86_64-pc-windows-msvc.zip.sha256 2026-09-29 97 Bytes
dcg-x86_64-pc-windows-msvc.zip.sigstore.json 2026-09-29 3.9 kB
dcg-x86_64-unknown-linux-musl.tar.xz 2026-09-29 5.0 MB
dcg-x86_64-unknown-linux-musl.tar.xz.minisig 2026-09-29 416 Bytes
dcg-x86_64-unknown-linux-musl.tar.xz.sha256 2026-09-29 103 Bytes
dcg-x86_64-unknown-linux-musl.tar.xz.sigstore.json 2026-09-29 3.9 kB
install.ps1 2026-09-29 100.8 kB
dcg-aarch64-unknown-linux-gnu.tar.xz.minisig 2026-09-29 416 Bytes
dcg-aarch64-unknown-linux-gnu.tar.xz.sha256 2026-09-29 103 Bytes
dcg-aarch64-unknown-linux-gnu.tar.xz.sigstore.json 2026-09-29 3.7 kB
dcg-x86_64-apple-darwin.tar.xz 2026-09-29 4.6 MB
dcg-x86_64-apple-darwin.tar.xz.minisig 2026-09-29 410 Bytes
dcg-x86_64-apple-darwin.tar.xz.sha256 2026-09-29 97 Bytes
dcg-x86_64-apple-darwin.tar.xz.sigstore.json 2026-09-29 3.9 kB
dcg-x86_64-pc-windows-msvc.zip 2026-09-29 6.1 MB
dcg-x86_64-pc-windows-msvc.zip.minisig 2026-09-29 410 Bytes
dcg-aarch64-apple-darwin.tar.xz.sigstore.json 2026-09-29 3.8 kB
dcg-aarch64-pc-windows-msvc.zip 2026-09-29 5.8 MB
dcg-aarch64-pc-windows-msvc.zip.minisig 2026-09-29 411 Bytes
dcg-aarch64-pc-windows-msvc.zip.sha256 2026-09-29 98 Bytes
dcg-aarch64-pc-windows-msvc.zip.sigstore.json 2026-09-29 3.8 kB
dcg-aarch64-unknown-linux-gnu.tar.xz 2026-09-29 4.6 MB
dcg-aarch64-apple-darwin.tar.xz 2026-09-29 4.3 MB
dcg-aarch64-apple-darwin.tar.xz.minisig 2026-09-29 411 Bytes
dcg-aarch64-apple-darwin.tar.xz.sha256 2026-09-29 98 Bytes
SHA256SUMS 2026-09-29 751 Bytes
SHA256SUMS.minisig 2026-09-29 390 Bytes
README.md 2026-09-29 3.7 kB
v0.15.1 source code.tar.gz 2026-09-29 8.6 MB
v0.15.1 source code.zip 2026-09-29 9.1 MB
Totals: 37 Items   48.3 MB 0

Two fixes. One made the Oh My Pi bridge let a command through unjudged; the other made the installers skip signature checking with some distro builds of cosign.

Oh My Pi users: refresh the bridge after upgrading. The [#504] fix is in the generated dcg-guard.ts file, not only in the dcg binary, so an existing bridge keeps the old behaviour until it is rewritten.

  • dcg update rewrites your user/profile bridge for you when omp is on your PATH (it runs the new installer, which runs dcg install --omp --force). It does not if you pass --no-configure.
  • If you upgraded any other way (package manager, manual download, dcg update --no-configure), run dcg install --omp --force. Without --force the command sees the existing bridge and leaves it alone.
  • A project-scoped bridge (dcg install --omp --project) is never touched by dcg update. Run dcg install --omp --force --project in that project, or dcg doctor --fix there.
  • dcg doctor reports an old bridge as "OUTDATED OR DAMAGED".

Restart omp afterwards so it loads the new file.

Fixed

  • The OMP bridge judged nothing when the command's working directory did not exist (#504, 38de715). The bridge started dcg inside that directory; when it was missing, starting dcg failed with an ENOENT error naming the dcg binary, and the command ran with no verdict and no audit record, even with DCG_UNVERIFIED_DECISION=deny. The bridge now starts dcg from the nearest existing parent directory, so the same project config, allowlists and Git branch apply, and passes the real working directory along. Directory-scoped allowlist entries are not applied when that directory does not exist. If dcg still cannot start, the log names the binary and both directories, and DCG_UNVERIFIED_DECISION=deny blocks the command; without that setting the command is allowed, as before.
  • The installers skipped signature verification with cosign builds that add a version suffix (#505, 6ba4a76). install.sh and install.ps1 could not read a cosign version such as Arch's v3.1.3+dirty, treated it as older than the CVE-2026-22703 fixes, and skipped the Sigstore bundle check with a warning. Both now read the version as SemVer: build metadata is ignored, and a pre-release such as v3.0.4-rc.1 still counts as older than v3.0.4.

Full detail: CHANGELOG.md (github.com).

Assets

Six archives, each holding only the dcg binary (dcg.exe on Windows): x86_64-unknown-linux-musl (static), aarch64-unknown-linux-gnu (glibc 2.28 or newer), x86_64-apple-darwin, aarch64-apple-darwin, x86_64-pc-windows-msvc, aarch64-pc-windows-msvc. Every archive and both installers have a .sha256, a minisign signature (key 69B3955C8D2E62A8, the key pinned in install.sh, install.ps1 and release/minisign.pub) and a key-based Sigstore bundle (.sigstore.json, the installers' pinned cosign key). SHA256SUMS is signed with the same minisign key. Built on self-hosted machines with the dsr release process; GitHub Actions were not used.

:::bash
V=v0.15.1; T=aarch64-apple-darwin   # or x86_64-unknown-linux-musl, etc.
curl -fLO "https://github.com/Dicklesworthstone/destructive_command_guard/releases/download/$V/dcg-$T.tar.xz"
curl -fLO "https://github.com/Dicklesworthstone/destructive_command_guard/releases/download/$V/dcg-$T.tar.xz.minisig"
minisign -Vm "dcg-$T.tar.xz" -P RWSoYi6NXJWzaRs1mJmOwwXrZfPWcq6MXnQlNMLBYKzlIQTLwuVQG6uO
Source: README.md, updated 2026-09-29