Skip to main content

refcheck-all

One CI step instead of five. It runs every stale-reference checker referencesource.org publishes for Python over your repository and prints one report: retired AI model ids, runtimes and databases past end of support, cryptographic algorithms NIST has deprecated, ISO and IEC editions ISO's own register marks withdrawn, and the published provisions your Terraform and docker-compose files already speak to.

Every finding prints the sentence on the source's own page that states it, and a link to the page it came from, so you can check the answer instead of trusting it.

$ refcheck-all

refcheck-all 0.1.0 — /src/app, 2026-11-30

  model-pin-check            1 finding
  eol-pin-check              1 finding
  crypto-deprecation-check   1 finding
  iso-standard-check         2 findings
  infra-provision-check      1 finding (0 must fix, 1 advisory)

✗ claude-3-sonnet-20240229 at app.py:2 — gone   [model-pin-check]
    the source says: "| July 21, 2025   | `claude-3-sonnet-20240229` | `claude-sonnet-5-5`     |"
    record: https://referencesource.org/ai-model-deprecation-and-retirement/claude-3-sonnet-20240229/
✗ Node.js 16 at Dockerfile:1 — security-ended   [eol-pin-check]
    the source says: ""name":"16","label":"16 (LTS)","releaseDate":"2021-04-20","isEol":true,…"
    record: https://referencesource.org/software-end-of-support/node-js-16-lts/
✗ SHA-1 at app.py:4 — Deprecated   [crypto-deprecation-check]
    the source says: "Rev. 3 proposes moving the minimum classical security strength from 112 bits…"
    record: https://referencesource.org/nist-cryptographic-algorithm-deprecation-schedule/
✗ ISO 9001:2008 at spec.md:1 — withdrawn   [iso-standard-check]
    the register names these later editions: ISO 9001:2015
    the source says: "46486,IS,,ISO 9001:2008,Quality management systems — Requirements,…,2008-11-13,4,…"
    record: https://referencesource.org/iso-standard-supersessions/iso-9001-2008/
· aws_s3_bucket.logs at main.tf:1 — encryption-at-rest   [infra-provision-check]
    this block is an S3 bucket and states no `server_side_encryption_configuration`…
    the source says: "Protect the {{ insert: param, sc-28_odp.01 }} of the following information at rest…"
    record: https://referencesource.org/security-compliance-controls/sc-28/

6 findings, 5 must fix, 1 advisory, 5 of 5 checkers ran
$ echo $?
1

Install

pip install refcheck-all

In CI, one step:

- run: pip install refcheck-all && refcheck-all

It exits 1 when anything must be fixed and 0 otherwise, so it drops into a pipeline as a single step in place of five.

Options

refcheck-all [path] [options]

  --json            the whole report as JSON, every finding with its source
  --only <name>     run one checker (repeatable)
  --quiet           print only the per-checker lines and the summary
  --no-fail         always exit 0 (report only)
  --self-test       prove the runner's own rules hold (no network)
  -h, --help        the help text, listing what each checker covers
  -v, --version

What it holds: nothing

This package contains no facts. Not one version number, end-of-support date, model id, algorithm name, standard edition or control citation lives here. Each checker is a separate package carrying its own data file, built from a record on referencesource.org with the source quote attached, and this command runs those checkers and translates their answers into one shape.

That is on purpose: a second copy of the data here would go stale against the checkers, and you would have no way to tell which copy answered you. The checkers are declared dependencies with no upper pin, so pip install refcheck-all fetches their newest published data rather than a snapshot frozen on the day this version was released.

Four things it will not do to you

It is never greener than the checker it ran. If any checker exits 1 on its own judgement, this command exits 1 — even where this command's own must-fix and advisory split would have called that finding advisory. Replacing five CI steps with one must not turn a failure into a pass.

A checker it cannot read is never reported as clean. If a checker exits 1 and this command reads no findings out of its output — because that checker changed its output shape — the checker is reported as UNREADABLE, the exit code is 1, and the report tells you to run that checker directly. Saying "nothing is stale" because a parse failed is the one way a tool like this costs you something.

A checker it could not find is named, not passed. A checker that is not installed prints NOT INSTALLED — nothing it covers was checked, and the summary repeats it. It is not counted as a failure, because there is nothing to fail on, and it is never counted as a pass.

A checker finding nothing has not cleared your repository. It has found nothing it holds a record about. Every report says so in those words, because silence from a checker otherwise reads as a clean bill of health.

The checkers it runs

checker what it covers
model-pin-check AI model ids pinned in code that the vendor has retired or deprecated
eol-pin-check runtime and database versions pinned past their end of support
crypto-deprecation-check cryptographic algorithms NIST has deprecated or disallowed, called in code
iso-standard-check ISO and IEC standard editions cited in the repository that ISO's own register marks withdrawn
infra-provision-check published provisions that speak to what your Terraform and docker-compose files already say

Each one runs on its own too, and each takes the same --json.

infra-provision-check's rows arrive advisory. It exits 0 whatever it reads, on purpose, because it quotes published rules and never says a system is or is not compliant. This command keeps that: its readings are printed with a · rather than a ✗, counted under advisory, and cannot on their own make your build fail. It is not legal or compliance advice.

Where the facts come from

Every record behind every finding is on referencesource.org/tools/, which lists each checker beside the dataset its data is built from: the value, the page it was taken from, the verbatim sentence on that page that states it, and the date it was last re-checked. (The other checkers' READMEs link their one dataset directly; this command runs five, so it points at the shelf rather than picking one of them for you.) Records are re-verified against the live source on a schedule; anything found wrong is corrected or withdrawn.

Facts plus a short attributed quote with a link. CC0 licensed. Built and maintained automatically — no human types these records.

The same command for a Node repository

refcheck-all is the Python build. For a repository whose CI already has Node, repo-stale-check is the same idea on npm, over the npm editions of these checkers.

Metadata

Release files for refcheck-all 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for refcheck-all 0.1.0
File Size Uploaded Provenance Actions
refcheck_all-0.1.0.tar.gz 20.1 kB Without provenance Details for refcheck_all-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for refcheck-all 0.1.0
File Interpreter ABI Platform Actions
refcheck_all-0.1.0-py3-none-any.whl Python 3 none any Details for refcheck_all-0.1.0-py3-none-any.whl

Total release size: 35.7 kB

Release files / refcheck_all-0.1.0.tar.gz

Download URL refcheck_all-0.1.0.tar.gz
Size 20.1 kB
Tags Source
SHA-256 checksum
How to use checksums
00e81ea1708840e045cf4fa0fa61cd8aa9d1780a7b630c57a24493194aa33550
BLAKE2b-256 checksum
How to use checksums
ee49fafd33f9c32646a85fcbdbac362e5c88f1def869e2d0809c397341574d30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / refcheck_all-0.1.0-py3-none-any.whl

Download URL refcheck_all-0.1.0-py3-none-any.whl
Size 15.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33cd88d18017a19123d4efcc3d75a5667b0ec71f188e6647f7b88fdf2700a33c
BLAKE2b-256 checksum
How to use checksums
2ae52333bb4bf8ef0beaa342024605e151dad2402a60efabed16b5cd75e4e098
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for refcheck-all 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page