Repository: https://github.com/webxos/macroslow/tree/main/postquantum
In December 2026, NSA and CISA issued fresh urgency around migration. A joint statement from Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI, and Oracle called for accelerated adoption of NIST’s post-quantum standards. Cloudflare moved its fully post-quantum target forward to 2027. Federal systems face hard deadlines under Executive Order 14412 and CNSA 2.0. The market is projected to grow from roughly $0.6B in 2026 to $3.8B by 2031.
Organizations that still rely on RSA-2048 or classic elliptic-curve cryptography for long-lived data, agent authentication, or executable workflows are now squarely in the “harvest now, decrypt later” danger zone.
This is not a theoretical research dump. It is a production-oriented, drop-in upgrade path that takes Macroslow’s existing AUTH 3.0 (RSA-2048) + 2048-AES architecture and elevates it to NIST-PQC-Level-5 (CNSA 2.0 ready) while preserving the project’s unique MAML (Markdown as a Medium Language) executable structure.
The post-quantum cryptography clock is no longer theoretical.
The Cryptographic Migration Matrix
| Layer | Legacy Macroslow | Macroslow-PQC | Threat Mitigated |
|---|---|---|---|
| Key Encapsulation | RSA-2048 | ML-KEM-1024 (Kyber) + X25519 hybrid | Shor’s algorithm / Harvest-Now-Decrypt-Later |
| Digital Signatures | RSA-2048 / ECDSA | ML-DSA-87 (Dilithium) + optional SLH-DSA | Forgery of MAML blocks & agent tokens |
| Symmetric Encryption | 2048-AES (4×512-bit) | 2048-AES-GCM seeded via SHAKE-256 / SHA3-512 | Grover’s algorithm (maintains ≥256-bit PQ security) |
| Hashing / KDF | SHA-256 | SHA3-512 / SHAKE-256 | Collision & preimage resistance |
| Agent Auth | AUTH 3.0 (RSA JWT) | AUTH 3.1-PQC (Dilithium-signed MAML tokens) | Session hijacking & MCP spoofing |
Standards referenced:
- FIPS 203 → ML-KEM
- FIPS 204 → ML-DSA
- FIPS 205 → SLH-DSA
Why This Design Matches Real Industry Demands
1. Hybrid by Default (Defense-in-Depth)
Pure post-quantum is not always practical during transition. The pqc_kem_wrapper.py derives the 2048-AES master key from both a classical X25519 exchange and an ML-KEM-1024 shared secret. This is the same hybrid philosophy now being standardized in TLS (e.g., X25519MLKEM768) and recommended by major cloud providers.
2. Executable Content Integrity for AI Agents
Macroslow’s differentiator is MAML — Markdown that can contain executable blocks (maml:exec). In an agentic world, unsigned or classically-signed code is a critical risk.
maml_signer.py produces detached ML-DSA-87 signatures. The new skill flag pqc_verify: true lets MCP servers and agent harnesses reject any payload that fails verification. This directly addresses the emerging requirement for verifiable agent workflows under post-quantum threat models.
3. Quantum-Aware Entropy
qrng_seeder.py mixes classical OS entropy with measurements from a simple Qiskit Hadamard circuit, then folds everything through SHA3-512. It is a pragmatic step beyond pure os.urandom for systems that already run quantum simulation stacks.
4. Compliance-Ready Documentation
The law/compliance_fips.md and the detailed migration checklist map every change to NIST FIPS 203/204/205 and CNSA 2.0 timelines. For teams facing federal contractor requirements or internal audit pressure in 2027–2030, this is immediately usable evidence.
- Vendors and platform teams can use the hybrid KEM + Dilithium signing patterns as a concrete reference implementation while waiting for full browser and library support.
- AI agent frameworks gain a ready-made integrity layer for executable Markdown workflows.
- Educational and research groups already using Macroslow for quantum + classical hybrid experiments can continue without rewriting their 2048-AES symmetric layer.
- Compliance and security teams receive mapped FIPS references and a checklist that aligns with the 2030–2031 federal deadlines.
The quantum threat is no longer a distant academic concern. With standards finalized, major cloud providers accelerating, and government timelines hardening, the organizations that treat post-quantum migration as a first-class engineering concern in 2026–2027 will be the ones that avoid painful catch-up later.
Macroslow’s new postquantum/ folder is one of the more practical, agent-aware, open-source responses available today. It does not claim to solve every edge case, but it gives developers a clear, NIST-aligned, hybrid path that respects both the existing architecture and the new threat landscape.
The industry is moving. This is one way to move with it.
Repository: https://github.com/webxos/macroslow/tree/main/postquantum
License: MIT
Security Level: NIST-PQC-Level-5 (CNSA 2.0 ready)



