Q-Trust is a cross-organizational protocol that coordinates the migration from classical cryptography (RSA, ECC) to post-quantum cryptography (PQC). It uses blockchain-anchored attestation on Base L2 to create tamper-evident, verifiable migration records. The protocol combines enterprise-grade cryptographic scanning, AI-powered migration planning, and on-chain compliance verification. Q-Trust addresses the coordination problem inherent in multi-organization PQC transitions: each entity in a supply chain must migrate on compatible timelines, using standardized representations, with independently verifiable proof of progress. The protocol ingests cryptographic inventory data in CycloneDX 1.7 CBOM format, scores quantum vulnerability risk using NIST SP 800-131A and CNSA 2.0 baselines, generates deadline-aware migration plans via a trained Graph Neural Network, and anchors compliance attestations on-chain with EIP-712 gasless transactions. Verifiable Credentials (W3C VC Data Model v2.0) enable selective disclosure of migration status across organizational boundaries. Q-Trust is open-source, designed for integration into existing CI/CD pipelines, and targets compliance with NIS2, FISMA, FedRAMP, and CMMC frameworks. The protocol is production-ready across all four planned development phases.
Shor’s algorithm, running on a sufficiently powerful quantum computer, can factor large integers and compute discrete logarithms in polynomial time. This directly breaks RSA, DSA, ECDSA, and ECDH — the cryptographic foundations of modern internet security. Grover’s algorithm provides a quadratic speedup for symmetric key search, effectively halving the security margin of AES and SHA family primitives.
The practical implications are severe. A cryptographically relevant quantum computer (CRQC) would compromise TLS 1.3 handshakes, SSH sessions, code signing certificates, VPN tunnels, and blockchain transactions simultaneously.
The most immediate threat is not a future quantum computer but present-day data collection. Nation-state adversaries and well-funded threat actors are intercepted and storing encrypted communications today, with the explicit intent of decrypting them once quantum capabilities mature. This “harvest-now-decrypt-later” (HNDL) attack vector means that any data with a confidentiality requirement extending beyond 5–10 years is already at risk.
NIST SP 800-131A Rev. 2 establishes a deprecation schedule:
NSA CNSA 2.0 imposes even stricter requirements for national security systems, mandating ML-KEM (Kyber), ML-DSA (Dilithium), and SLH-DSA (SPHINCS+). The EU NIS2 Directive, FISMA, FedRAMP, and CMMC frameworks are all converging on similar PQC requirements.
PQC migration is not a single-organization problem. Supply chains, SaaS integrations, API partnerships, and shared infrastructure all require coordinated transitions. An organization that migrates its TLS certificates to ML-KEM while its partners still rely on ECDH achieves nothing if the weaker link is exploited. Q-Trust solves this coordination problem by providing a shared, verifiable migration ledger that all participants can trust.
Q-Trust is organized into five layers:
┌─────────────────────────────────────────────────┐
│ Presentation Layer │
│ Dashboard · Reports · Verifiable Credentials │
├─────────────────────────────────────────────────┤
│ On-Chain Layer (Base L2) │
│ AssetRegistry · VendorRegistry · AuditRegistry │
│ MigrationRegistry · EvidenceRegistry │
│ ComplianceAttestation │
├─────────────────────────────────────────────────┤
│ Planning Layer │
│ AI Migration Planner (GCN + GAT) │
│ Deadline-Aware Scheduler · Cost Estimator │
├─────────────────────────────────────────────────┤
│ Risk & Compliance Layer │
│ Quantum Vulnerability Scorer │
│ NIST 800-131A · CNSA 2.0 · NIS2 · FISMA │
├─────────────────────────────────────────────────┤
│ Scanner Layer │
│ TLS · SSH · Source Code · Packages · Binaries │
│ Configuration Files · CycloneDX CBOM │
└─────────────────────────────────────────────────┘
Data flow: Scan → Risk Score → Compliance Check → Plan → Attest → Verify
Each layer operates independently and communicates through well-defined interfaces. The Scanner Layer produces standardized CBOMs. The Risk Layer scores each cryptographic asset. The Planning Layer generates migration plans. The On-Chain Layer anchors attestations. The Presentation Layer renders everything to end users and external verifiers.
The Scanner Layer discovers and classifies cryptographic assets across heterogeneous technology stacks.
Each discovered asset is classified with:
All scan results are serialized as CycloneDX 1.7 Cryptographic Bill of Materials (CBOM). This industry-standard format ensures interoperability with existing SBOM tooling and regulatory reporting requirements. Each CBOM includes:
Findings are also exported in SARIF 2.1 format for direct integration with GitHub Advanced Security, enabling automatic PR annotations, code scanning alerts, and security dashboard visibility.
Each cryptographic asset receives one of four quantum vulnerability statuses:
| Status | Meaning |
|---|---|
| BROKEN | Algorithm is directly broken by Shor’s/Grover’s (RSA-2048, ECDSA-256, AES-128) |
| WEAKENED | Algorithm’s security margin is reduced below acceptable thresholds (SHA-1, 3DES) |
| SAFE | Algorithm is quantum-resistant or has sufficient classical margin (AES-256, SHA-384) |
| PQC_READY | Algorithm is a NIST-approved post-quantum algorithm (ML-KEM-768, ML-DSA-65) |
The engine checks each asset against multiple regulatory baselines:
Assets are evaluated for harvest-now-decrypt-later exposure based on:
The overall risk score (0–100) is calculated as a weighted composite:
score = (0.35 × quantum_vulnerability) +
(0.25 × compliance_gap) +
(0.25 × hndl_exposure) +
(0.15 × migration_complexity)
Scores above 70 trigger mandatory migration planning. Scores above 90 are flagged as critical.
Q-Trust maps its risk assessments to the following compliance frameworks:
Transitions from “Approved” to “Disallowed” for specific algorithms on the NIST timeline. Q-Trust tracks both the 2030 and 2035 deadlines and generates migration plans accordingly.
The Commercial National Security Algorithm Suite mandates ML-KEM-1024, ML-DSA-87, and SLH-DSA-192f for national security systems. Q-Trust validates compliance and flags non-conformant configurations.
Cryptographic modules must be validated under FIPS 140-3 (replacing 140-2). Q-Track checks for valid module certificates and flags modules validated under the legacy standard.
The Network and Information Security Directive requires risk management and incident reporting for essential and important entities. Q-Trust generates NIS2-compatible risk reports.
Federal Information Security Management Act compliance for U.S. federal agencies. Q-Trust maps findings to FISMA control families.
Federal Risk and Authorization Management Program for cloud service providers. Q-Trust generates FedRAMP-compatible security posture documentation.
Cybersecurity Maturity Model Certification for defense industrial base contractors. Q-Trust maps PQC migration status to CMMC maturity levels.
The migration planner models an organization’s cryptographic infrastructure as a graph:
The GNN uses a two-stage architecture:
The planner is trained using ListMLE ranking loss, which optimizes for the quality of the entire ranked migration order rather than per-node classification. This ensures that the top-ranked migration targets are genuinely the most critical.
Training data is generated through enterprise topology simulation:
For each migration target, the planner produces:
On synthetic test sets, the planner achieves (corrected per-node-rank Kendall protocol — see README “Trained checkpoints & measured results” and the CHANGELOG v2.1 notes; numbers refreshed 2026-08-26 after the ranking-metric protocol bug fix):
planner/results/benchmark_v3.json v2 entry — refreshed 2026-09-02
after the retrain on the corrected synthetic pool;
planner/results/benchmark.json 3-seed mean 0.9637±0.0002; earlier
revisions quoted τ=0.89 computed with the pre-fix
index-correlation protocol)planner/model_gpu_v3.pt)
(planner/results/benchmark_v3.json v3 entry — refreshed 2026-09-02)planner/results/benchmark_v3.json v3 DDP entry; earlier 0.906 figures
predated the corrected pool)Q-Trust anchors migration records on Base, an Ethereum L2 network, for three reasons: low transaction costs (~$0.01), EVM compatibility (Solidity smart contracts, existing tooling), and Ethereum-grade security inheritance.
| Contract | Purpose |
|---|---|
| AssetRegistry | Registers and tracks cryptographic assets with metadata, quantum status, and ownership |
| VendorRegistry | Manages vendor profiles, migration capabilities, and compliance certifications |
| MigrationRegistry | Records migration events (start, progress, completion) with timestamps and evidence references |
| AuditRegistry | Stores audit records with verifier identity, finding summary, and attestation hash |
| EvidenceRegistry | Anchors evidence root hashes for tamper-evident audit trails |
| ComplianceAttestation | Issues and manages compliance attestations linked to specific assets and frameworks |
End users never interact with the blockchain directly. Instead, they sign EIP-712 typed data messages off-chain. A relayer network submits these signatures as on-chain transactions, abstracting gas costs and wallet management from enterprise users.
All contracts use the Universal Upgradeable Proxy Standard (UUPS). This enables:
Administrative operations (contract upgrades, parameter changes, registry modifications) are routed through a TimelockController with a configurable delay period. This ensures that no single entity can unilaterally modify protocol behavior.
Every attestation in ComplianceAttestation references specific asset and audit records. The EvidenceRegistry stores Merkle roots of evidence bundles, enabling efficient proof verification without storing full evidence on-chain.
Every scan, migration event, and attestation produces an evidence record. These records are chained using hash pointers:
record[n].hash = SHA-256(record[n].data || record[n-1].hash)
This creates a tamper-evident sequence: modifying any record breaks the hash chain, which is immediately detectable during verification.
Between successive scans, Q-Trust computes a structural diff of the CycloneDX CBOM:
This diff is itself evidence of migration progress.
The root hash of each evidence bundle is anchored on-chain via EvidenceRegistry. This provides cryptographic proof that evidence existed at a specific point in time and has not been modified since.
Auditors sign attestations using Ed25519 keys. Each attestation includes:
Q-Trust issues migration status and compliance attestations as W3C Verifiable Credentials. This enables:
All credentials are signed with Ed25519 keys, providing:
Issuer identities use the did:web method, enabling organizations to host their own DID documents on their existing web infrastructure. This avoids reliance on a central DID registry.
Using SD-JWT-style selective disclosure, holders can:
Revocation is implemented via compressed Merkle trees. The issuer publishes a Merkle root on-chain (via EvidenceRegistry), and holders provide Merkle proofs for non-revocation. This is efficient (logarithmic in the number of revoked credentials) and privacy-preserving.
| Adversary | Capability | Mitigation |
|---|---|---|
| Quantum adversary | Breaks RSA, ECC | Q-Trust tracks quantum-vulnerable assets and enforces PQC migration |
| Malicious scanner | Injects false CBOM data | CBOM integrity verification, multi-scan reconciliation, evidence chaining |
| Compromised registry | Modifies on-chain records | UUPS upgrade governance, TimelockController delay, cross-contract integrity checks |
| Data exfiltrator | Harvests encrypted data for future decryption | HNDL exposure scoring, deadline-aware migration planning |
| Identity spoofing | Forges auditor credentials | Ed25519 signatures, DID:web identity verification, on-chain public key registration |
| Feature | Q-Trust | acdi | PQCAT | CipherFlag | PQAnalyzer | HarvestGuard |
|---|---|---|---|---|---|---|
| Cross-organizational | ✅ | ❌ | ❌ | ❌ | ❌ | ✅ |
| On-chain attestation | ✅ (Base L2) | ❌ | ❌ | ✅ (private) | ❌ | ✅ (Ethereum) |
| AI-powered planning | ✅ (GCN+GAT) | ❌ | ❌ | ❌ | ❌ | ❌ |
| CycloneDX CBOM | ✅ | ❌ | ✅ | ❌ | ✅ | ❌ |
| SARIF integration | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
| Multi-framework compliance | ✅ (7) | ❌ | 1 | 2 | 1 | 3 |
| Verifiable Credentials | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
| Gasless transactions | ✅ | N/A | N/A | N/A | N/A | ❌ |
| Open source | ✅ | ✅ | ✅ | ❌ | ✅ | ❌ |
| Evidence trail | ✅ | ❌ | ❌ | ❌ | ❌ | Partial |