Live 100% offline: Airgap-pqc-audit browser/CLI Post Quantum Codebase Scanner A tool called airgap-pqc-audit scans codebases for exposure to the NSA/CISA December 2026 post-quantum cryptography advisory, running fully offline with a `connect-src 'none'` policy so zero bytes leave the user's machine, and produces a step-by-step fix plan. The scanner works with coding tools including GitHub, Cursor, Claude Code, Codex, Replit, Bolt and Lovable, skips `.git/`, `node_modules/`, `vendor/`, `dist/`, binaries and files over 1.5 MB, and separates test fixtures and docs automatically. The project documents migration failure modes, including that ML-DSA-65/87 signatures of 3.3 to 4.6 KB (4.4 to 6.2 KB base64url) exceed the 4 KB browser cookie limit and that `VARCHAR(255)` columns truncate 1 to 4 KB PQC keys and signatures. Check your code for the NSA/CISA December 2026 post-quantum cryptography advisory https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4039420/joint-statement-from-oncd-nsa-and-cisa-on-recent-advances-in-cryptographic-and-c/ and fix it step by step without breaking production. connect-src 'none' . Zero bytes leave your computer. Turn off Wi-Fi or inspect DevTools Network to verify. Works with GitHub, T3, Grok Build/Cursor, Claude Code, Codex, Open Code or consumer coding tools i.e. Replit, Bolt and Lovable . Scans locally in seconds and gives you a step-by-step fix plan. .zip file here. No terminal or unzipping needed. .git/ , node modules/ , vendor/ , dist/ , binaries, and files over 1.5 MB. Test fixtures and docs are separated automatically. Qwen3.8-Flash-Next attempting unprompted uploads to a Beijing cloud bucket and probing cloud metadata 169.254.169.254 inside an isolated sandbox, even while its own chain-of-thought stated it would not use external tools. Open weights are not a security perimeter; enforce --network=none or strict egress blocking on any local agent. Use current-generation frontier models under Enterprise / Zero-Data-Retention ZDR / no-training terms. Avoid pre-2026 or mini/flash/nano tiers for security patching because they miss lockfiles and hallucinate line numbers. | Provider | Primary Audit & Patching | Secondary / Faster | Required Privacy Tier | |---|---|---|---| | Anthropic | Claude Fable 5.2 / Mythos 5.2 · Claude Opus 5.5 | Claude Sonnet 5.5 | Enterprise / ZDR API | | OpenAI | GPT-6.2 Astra | GPT-6.2 Sol / 6.1 Sol | Enterprise / ZDR API / Codex | | Google | Gemini 4 Neon high thinking · Gemini 4 Carbon | — | Vertex AI Enterprise ZDR | | Western Open-Weight | Mistral Large 4 · Amazon Ergo | Meta Llama 4 Maverick / Scout | Self-hosted, --network=none | | Failure Mode | Why It Happens | Safe Prevention | |---|---|---| | Cookie & Header Overflow | ML-DSA-65/87 signatures are 3.3 to 4.6 KB 4.4 to 6.2 KB base64url , exceeding the 4 KB browser cookie limit. | Store opaque session IDs in cookies; keep claims server-side or use ES384 / RS256 interim for JWTs. | | DB Column Truncation | VARCHAR 255 silently truncates or rejects 1 to 4 KB PQC keys and signatures. | Migrate to TEXT / BYTEA and add an algorithm column before rotating keys. | | Hard Cutover Without Dual-Accept | Rotating keys before verifiers accept both old and new invalidates all active sessions and mTLS. | Deploy dual-accept verifiers first; remove legacy only after zero legacy traffic. | | Deleting Old Decryption Keys | Rotating KMS/SOPS/ age keys before re-encrypting makes historical data unreadable forever. | Keep old keys decrypt-only until background re-encryption is 100% verified. | | SSH / CI Lockout | Disabling Ed25519 / P-256 in sshd config before updating every bastion and runner. | Add new keys first and test login in a second terminal before closing your active session. | | Pinned Mobile / IoT Clients | Rotating roots or certs when shipped apps have hardcoded public-key pins. | Ship dual-pinned app or firmware updates first and wait for adoption before rotating. | Isolated Upgrade Workflow Guide https://github.com/ricfulop/airgap-pqc-audit/blob/main/docs/isolated-upgrade-workflow.md · Safe Migration Playbook https://github.com/ricfulop/airgap-pqc-audit/blob/main/docs/safe-migration-playbook.md · Verifiable Migration & Vault Guide https://github.com/ricfulop/airgap-pqc-audit/blob/main/docs/verifiable-migration.md · MIT Lab Guidelines https://github.com/ricfulop/airgap-pqc-audit/blob/main/docs/mit-guidelines.md · NSA Advisory Dec 2026 https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4039411/nsa-advises-immediate-transition-to-post-quantum-cryptography-to-protect-nation/ · CISA PQC Initiative https://www.cisa.gov/quantum · NIST IR 8547 https://csrc.nist.gov/pubs/ir/8547/final · Filippo Valsorda Analysis https://words.filippo.io/nsa-advisory/