provenance

Verify a binary in seven steps

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.

33plugins
186checksummed binaries
31source archives
dist-livedata source
A plugin is native code with your permissions. A matching checksum proves the file is the one this market published - it does not prove the code is harmless. Read the source, or hand the clone-and-audit prompt to an agent, before you install anything you did not compile yourself.
1

Confirm the version you are about to install

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=docker
2

Read the pinned commit the binary was built from

Every 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"])'
3

Download the binary and recompute its digest

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 SHA256
4

Compare against SHA256SUMS, not against a screenshot

The 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)"
5

Unpack source.tar.gz and confirm it matches the commit

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 -la
6

Diff the archive against the public git repository

If 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'
7

Recompile locally and compare behaviour, then fingerprints

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

What each field in the record means

FieldMeaning
git_commitThe tree the release builder checked out. Audit this SHA, not main.
targets[].urlThe exact path the published binary lives at, version directory included.
targets[].sha256Digest of the published bytes. Recompute it after every download.
targets[].size_bytesSize the market published. A different size means a different file.
targets[].formatelf-x86_64-static, elf-arm64-static, macho-arm64, pe-x86_64.
targets[].builtfalse is a declared target with no artifact yet - not a broken build.
source_tarball_urlThe pinned source archive the binary was compiled from.
source_tarball_sha256Digest of that archive, so it cannot be swapped after publication.
build_cmd_posix / build_cmd_win64The exact compiler invocation, for a local rebuild.

Machine-readable entry points

/api - every artifact/api?target= - one platform/api?slug= - one plugin