Trust here is arithmetic, not a signature on a promise. Every artifact names the commit it was built from, the digest of the bytes it published and the archive of the tree that produced it. This page is the exact path between those three facts.
Two different releases can carry different binaries. The version directory is part of every artifact URL, so a stale bookmark is the most common cause of a checksum mismatch. Start from the machine-readable feed, never from a remembered URL.
curl -fsSL https://botmarket-artifacts.scorpiox.net/api?slug=dockerEvery record carries git_commit. That SHA is the tree the release builder checked out; main may have moved since, so audit the commit, not the branch.
curl -fsSL https://botmarket-artifacts.scorpiox.net/api?slug=docker \
| python3 -c 'import json,sys;print(json.load(sys.stdin)["record"]["git_commit"])'The published SHA-256 is the only thing that ties this exact byte sequence to the record. sha256sum (Linux) and Get-FileHash (Windows) are both in the OS already.
# Linux / macOS
extract=docker/1.1.0/linux-x86_64-musl/plugin_docker
curl -fsSL "https://dist.scorpiox.net/bot-plugins/$extract" -o plugin_docker
sha256sum plugin_docker
# Windows PowerShell
Invoke-WebRequest 'https://dist.scorpiox.net/bot-plugins/docker/1.1.0/windows-x86_64/plugin_docker.exe' -OutFile plugin_docker.exe
Get-FileHash plugin_docker.exe -Algorithm SHA256The release directory publishes a SHA256SUMS file beside the binaries. Checking against it proves the download completed; checking against /api proves the file is the one this market published. Do both - they catch different failures.
curl -fsSL https://dist.scorpiox.net/bot-plugins/docker/1.1.0/SHA256SUMS \
| grep plugin_docker
sha256sum -c <<< "$(curl -fsSL https://dist.scorpiox.net/bot-plugins/docker/1.1.0/SHA256SUMS | grep linux-x86_64-musl/plugin_docker)"source.tar.gz is the exact tree the builder compiled. Its own digest is published too, so the archive cannot be swapped after publication without changing the record.
curl -fsSL https://dist.scorpiox.net/bot-plugins/docker/1.1.0/source.tar.gz -o source.tar.gz
sha256sum source.tar.gz
tar xzf source.tar.gz && ls -laIf the tarball and plugingit agree at the pinned commit, the binary came from reviewable source. If they disagree, stop: the release does not correspond to the commit it claims.
git clone https://plugingit.scorpiox.net/scorpiox-bot-plugin-docker.git
cd scorpiox-bot-plugin-docker && git checkout <git_commit>
diff -r . ../docker-src || echo 'tree differs'A byte-identical rebuild is not guaranteed (timestamps, path lengths), so compare the --meta hash or the output shape. If the local build behaves differently from the downloaded binary, the published artifact is not from this source.
cc -O2 -std=c99 -Wall -Wextra -o /tmp/plugin_docker src/plugin_docker.c
/tmp/plugin_docker --meta
./plugin_docker --meta| Field | Meaning |
|---|---|
| git_commit | The tree the release builder checked out. Audit this SHA, not main. |
| targets[].url | The exact path the published binary lives at, version directory included. |
| targets[].sha256 | Digest of the published bytes. Recompute it after every download. |
| targets[].size_bytes | Size the market published. A different size means a different file. |
| targets[].format | elf-x86_64-static, elf-arm64-static, macho-arm64, pe-x86_64. |
| targets[].built | false is a declared target with no artifact yet - not a broken build. |
| source_tarball_url | The pinned source archive the binary was compiled from. |
| source_tarball_sha256 | Digest of that archive, so it cannot be swapped after publication. |
| build_cmd_posix / build_cmd_win64 | The exact compiler invocation, for a local rebuild. |