Evidence-led assurance for post-quantum migration: prove specific claims, not scores.
Many tools already find cryptography and produce inventories (CBOMs) or readiness scores. PostQuantum is aimed at the next question: can you prove this specific migration claim? It is designed to take inventories from any CycloneDX CBOM tool (or its own scanner), evaluate named claims such as "service X negotiates hybrid ML-KEM" against defined evidence requirements, and produce signed verdicts that list what is proven, what is missing, and why. See docs/PRODUCT_SPEC.md and docs/ROADMAP.md.
Status: foundation scaffold / early MVP. This repository is not a cryptographic verifier, penetration-testing tool, certification, or proof that a system is quantum-safe.
- Discover before judging.
- A dependency's capability does not prove application use.
- Every assurance claim needs scoped, reproducible evidence.
- Unknown is not safe and must remain visible.
- Public-key, symmetric, hash, KDF, MAC, and key-management mechanisms require distinct analysis.
- Local-first scanning; no source upload by this CLI.
- No blanket PQC-readiness score until coverage and calibration are defensible.
Requires Python 3.11+.
python -m venv .venv
source .venv/bin/activate # Windows: .venv\\Scripts\\Activate.ps1
python -m pip install -e ".[dev]"
pqdocket scan . --format json --output pqc-report.json
pytestpqdocket check .pqdocket works out which post-quantum migration claims apply to the folder (for example "no classical key establishment" or "uses ML-KEM"), checks each one, and tries to disprove it by looking where the scan itself does not: key files, Dockerfiles and deploy scripts, TLS group lists, dependency files. Each claim gets one of four verdicts: Verified, Partly shown, Unknown or Not met, with the evidence and the next step for every gap.
- The claims are saved to
pqdocket-claims.json, so the next run checks the same things. Set"enabled": falseon a claim to turn it off. - Add a claim pqdocket can't guess, in plain English:
pqdocket claim "api.example.com uses hybrid ML-KEM". - Text matching alone never reaches Verified. Add a CBOM from a language-aware scanner (
--cbom file, or put it in the top folder) for that; the CBOM must describe files that exist in this folder. - Nothing is skipped silently: symlinks, unreadable folders, files of unknown types and files too large to read are listed as gaps and block Verified. Dependency folders (
node_modules,.venv,vendor) are named in the limits. --exclude "tests/**"leaves folders out;--detailsshows every disproof check;--output pqdocket-verdicts.jsonwrites the full result (schemaschemas/verdicts.schema.json).- Results are unsigned. Signing is opt-in, with your own key (planned).
pqdocket reads and writes CycloneDX CBOMs, so it works with the inventories other scanners already produce.
# Export your scan as a CycloneDX 1.7 CBOM
pqdocket scan . --format cbom --output my-app.cdx.json
# Import CBOMs from any tool (CBOMkit, Keylens, xgrep, pqdocket...) into one inventory
pqdocket import cbomkit-output.json my-app.cdx.json --output inventory.jsonThe inventory gives every cryptographic asset a quantum-relevance class, where it was found, and which file and tool it came from, and keeps the original component unchanged. Classification uses the CBOM's algorithmFamily first (CycloneDX 1.7), then names and parameters; certificates, keys and protocols take the most serious class among the algorithms they reference. Anything it can't classify is listed as unknown, never as safe.
- Recursive local source scan for initial cryptographic indicators.
- Line-level evidence, rule IDs, confidence, and file SHA-256.
- JSON report output and versioned schema.
- Hybrid (X25519MLKEM768), pre-standard (Kyber, Dilithium), JWT (RS256, ES256) and finite-field DH indicators.
- Oversized and unreadable files are counted as skipped, and files of types it doesn't read (e.g. Dockerfile, .pem) are counted as not scanned; nothing is dropped silently.
- Strict, versioned report schema (1.1.0), validated in CI.
- CI on Python 3.11 to 3.14 (lint, type check, tests, self-scan).
- Every release ships its own evidence record (
release-evidence.json) and a signed build provenance attestation. - CycloneDX CBOM import (1.6, 1.7) into a normalized, versioned inventory (
schemas/inventory.schema.json), and CBOM export (1.7) validated against the official CycloneDX schema. - Automatic claims check (
pqdocket check): proposes claims, checks them with disproof attempts, explains every gap; claims file and plain-English claims. - Tests for representative detection and false-positive cases, plus real CBOMs from CBOMkit and the official CycloneDX examples.
Signed evidence records; endpoint (TLS/SSH) collectors; signed evidence records for user verdicts; semantic/data-flow analysis; lockfile/SBOM correlation; TLS/SSH/VPN/certificate inspection; runtime-use verification; PQC correctness/interoperability tests; risk scoring; migration automation; dashboard; GitHub App.
docs/: product, architecture, threat model, assurance, risk, roadmap, backlog.standards/: versioned algorithm registry.schemas/: machine-readable report schema.src/pqdocket/: CLI and discovery engine.tests/: unit tests and regression fixtures.scripts/: release tooling (release evidence record)..github/workflows/: CI and release.
- NIST FIPS 203 / ML-KEM: https://csrc.nist.gov/pubs/fips/203/final
- NIST FIPS 204 / ML-DSA: https://csrc.nist.gov/pubs/fips/204/final
- NIST FIPS 205 / SLH-DSA: https://csrc.nist.gov/pubs/fips/205/final
- NIST FIPS 206 / FN-DSA (in development, not final): https://csrc.nist.gov/presentations/2025/fips-206-fn-dsa-falcon
- NIST PQC project: https://csrc.nist.gov/projects/post-quantum-cryptography
- NIST IR 8547: https://csrc.nist.gov/pubs/ir/8547/final
Verify current authoritative publication/revision status before making normative or compliance claims.
You do. Evidence records are signed with your own key and state what you evaluated. PostQuantum's authors and ALTRU.dev never sign, review, or vouch for anyone's verdicts and are not an auditor or certification body. See LICENSING.md.
Reports may contain sensitive paths and source excerpts. Treat them as confidential. Never scan systems without authorization. Do not commit secrets, private keys, or unredacted production reports.
Only claim capabilities that are implemented, tested, documented, and represented in the capability matrix. This project does not certify systems or guarantee security.
Copyright © 2026 Valentyn Rukhaylo (ALTRU.dev). All rights not granted by the licenses below are reserved.
Code (src/, tests/, schemas/) is licensed under Apache-2.0. Documentation (docs/, Markdown files) and the standards registry (standards/) are licensed under CC BY 4.0. See LICENSING.md. Project names and logos are not licensed.