ReleaseCheck checks how a published npm or PyPI package relates to its claimed source release, then reports deterministic evidence and limitations.
Core · GitHub Action · User documentation · Security policy · Roadmap · Companion repository audit
Project status: v0.1.2 released · post-release validation passed. The released core binary and GitHub Action E2E path are verified together.
How it works · Quick start · Usage · Reports · Security boundaries · Limitations · Contributing
Package consumers can often download an artifact and discover a repository URL, but the relationship between the bytes received and the claimed source release is not always obvious. ReleaseCheck collects that relationship as inspectable evidence:
flowchart TD
R[Public registry] --> A[Published artifact]
A --> H[Artifact hash and inventory]
A --> M[Release metadata]
M --> S[Claimed source repository]
S --> G[Git tag or commit]
G --> T[Source snapshot]
H --> C[Deterministic comparison]
T --> C
M --> P[Provenance and attestation evidence]
C --> O[Machine-readable and human report]
P --> O
Differences are evidence, not automatic proof of maliciousness. Build systems may legitimately transform source into distributable files. Reports distinguish facts, inferences, warnings, limitations, and verdicts.
The current release candidate scope is limited to npm and PyPI. ReleaseCheck retrieves registry metadata and artifacts, resolves source references where possible, compares archive contents deterministically, records security-relevant archive and metadata observations, consumes supported provenance evidence, and emits human-readable, JSON, and SARIF reports with meaningful exit statuses.
It does not install packages, run package code, run lifecycle scripts, run Python build backends, execute arbitrary builds, scan for vulnerabilities, generate SBOMs, or implement Sigstore or SLSA.
ReleaseCheck is not a replacement for registry signatures, attestations, provenance systems, reproducibility builders, or repository-health scanners. Those tools answer important adjacent questions. ReleaseCheck focuses on a narrower question: given one selected npm or PyPI release file, what source identity and release reference did its metadata claim, what source snapshot could be retrieved, how do the two inventories and hashes relate, and what evidence is missing?
Its contribution is the deterministic comparison and evidence report across the two ecosystems, with a non-executing security boundary. A difference is reported as evidence for review, not as proof of maliciousness. See docs/POSITIONING.md for the overlap matrix and deliberate non-goals.
The v0.1.2 core release is public and its tag-triggered workflow passed cross-platform validation and archive/checksum inspection. The post-release Action E2E run passed against that exact immutable binary. See AUDIT_REPORT.md, FINAL_AUDIT.md, and ROADMAP.md for current evidence and remaining owner-controlled Drips setup.
ReleaseCheck is organized under the ReleaseCheck GitHub organization:
| Repository | Responsibility |
|---|---|
| releasecheck | Core Go CLI, verification engine, tests, fixtures, technical source of truth, and release engineering |
| releasecheck-action | GitHub Actions integration that invokes released core binaries |
| releasecheck-docs | Curated public user documentation and learning material |
The core repository remains the authoritative home of implementation, architecture, security decisions, roadmap, and contributor engineering guidance. The Action does not reimplement verification, and the docs repository does not duplicate the core source tree. Additional repositories are discovery-gated; repository count is not a project success metric.
The safest default is a pinned GitHub release binary. Verify the checksum before placing it on PATH:
Download the archive for your platform from https://github.com/ReleaseCheck/releasecheck/releases/tag/v0.1.2
Download SHA256SUMS from the same release
Verify the selected archive against SHA256SUMS
Extract releasecheck and run releasecheck --version
Package-manager metadata for v0.1.2 is provided for local formula/bucket maintainers:
- Homebrew formula: packaging/homebrew/releasecheck.rb
- Scoop manifest: packaging/scoop/releasecheck.json
These files are not an assertion that ReleaseCheck is already accepted into the official Homebrew or Scoop indexes. Until a maintainer publishes a tap/bucket, install the checked release archive directly or build from a checked-out release with Go 1.25 or newer:
go build -trimpath -o releasecheck ./cmd/releasecheck
Go's module installer is also supported for a pinned release:
go install github.com/ReleaseCheck/releasecheck/cmd/releasecheck@v0.1.2
The pinned real-release corpus can be downloaded and verified without installation or execution:
go run ./cmd/corpuscheck -output-dir .tmp/corpus
The Homebrew formula and Scoop manifest are release metadata prepared for future tap/bucket publication; they are not official package indexes yet.
The Phase 12 release workflow publishes archives for Linux amd64/arm64, macOS amd64/arm64, and Windows amd64 when a version tag is created. See docs/RELEASE.md.
Build the command locally:
go build ./cmd/releasecheck
Run the offline test suite and static checks:
go test ./...
go vet ./...
gofmt -l .
Verify a selected release from npm or PyPI:
releasecheck verify npm [flags] NAME [VERSION]
releasecheck verify pypi [flags] NAME [VERSION]
Useful flags are --json, --sarif, --output PATH, --artifact FILENAME for PyPI, and --timeout DURATION. The command never installs packages, runs lifecycle scripts, executes Python build logic, or invokes package managers. Exit code 0 means MATCH; 1 means REVIEW or INCOMPLETE; 2 means usage error; and 3 means operational or rendering error.
For output contracts and examples, see docs/REPORTS.md and docs/USAGE.md.
ReleaseCheck collects registry metadata, the selected artifact, artifact hashes and file inventory, claimed source information, a source snapshot where supported, deterministic file comparisons, structural security observations, and available provenance evidence. It reports the chain as evidence rather than reducing it to an unsupported security guarantee.
MATCH means the available comparison evidence is identical and no review signal or limitation prevented that result. REVIEW means differences or security/provenance observations require inspection. INCOMPLETE means important evidence could not be obtained; it does not silently pass CI.
ReleaseCheck does not prove that code is benign, detect all malware, reproduce arbitrary builds, verify every signature or certificate chain, establish maintainer identity, or prove that a source repository is honest. It does not install packages, execute package code, run build backends, scan vulnerabilities, generate SBOMs, or implement Sigstore or SLSA.
Wheels, bundled JavaScript, compiled extensions, generated files, and other transformed distributions may legitimately differ from source. A difference is evidence for review, not an automatic maliciousness verdict.
The CLI is suitable for CI because its exit status is stable and its JSON/SARIF output is machine-readable:
releasecheck verify npm --json --output releasecheck.json package-name
Use --sarif for systems that ingest SARIF. Keep reports and package inputs treated as untrusted data, and do not pass package metadata into shell commands. See docs/CI.md for a complete example.
The v0.1 implementation supports npm and PyPI. Source retrieval is currently limited to supported GitHub source URLs, bounded manifest observations cover supported package.json, setup.py, and pyproject.toml members, and provenance evidence is parsed but not cryptographically verified. Artifact downloads reject restricted network destinations by default. The internal packages are not a compatibility SDK. See docs/DESIGN.md for the complete limitation record.
ReleaseCheck overlaps with registry integrity, provenance, reproducibility, and supply-chain tools. It deliberately does not replace them. Its current focus is a small, explicit evidence chain across npm and PyPI, with safe non-executing inspection and common report semantics. See docs/COMPETITIVE_LANDSCAPE.md for the researched boundaries and source links.
ReleaseCheck processes untrusted package artifacts. It must never execute package code or installation/build hooks merely to inspect a release. Archive extraction and parsing is bounded and path-safe. See SECURITY.md and the threat model in docs/DESIGN.md.
Read CONTRIBUTING.md before making changes. The repository is intentionally documentation-led: implementation work must satisfy the phase acceptance criteria and update the durable project records.
ReleaseCheck is licensed under the Apache License 2.0. See LICENSE.
