{"slug": "live-100-offline-airgap-pqc-audit-browser-cli-post-quantum-codebase-scanner", "title": "Live 100% offline: Airgap-pqc-audit browser/CLI Post Quantum Codebase Scanner", "summary": "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.", "body_md": "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.\n      \n\n`connect-src 'none'`. Zero bytes leave your computer. Turn off Wi-Fi or inspect DevTools Network to verify.\n      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.\n\n`.zip` file here. No terminal or unzipping needed.\n        `.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.\n      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.\n\n| Provider | Primary Audit & Patching | Secondary / Faster | Required Privacy Tier | \n|---|---|---|---|\n| **Anthropic** | `Claude Fable 5.2` /`Mythos 5.2` ·`Claude Opus 5.5` | `Claude Sonnet 5.5` | Enterprise / ZDR API | \n| **OpenAI** | `GPT-6.2 Astra` | `GPT-6.2 Sol` /`6.1 Sol` | Enterprise / ZDR API / Codex | \n| **Google** | `Gemini 4 Neon` (high thinking) ·`Gemini 4 Carbon` | — | Vertex AI Enterprise ZDR | \n| **Western Open-Weight** | `Mistral Large 4` ·`Amazon Ergo` | `Meta Llama 4 Maverick / Scout` | Self-hosted, `--network=none` | \n\n| Failure Mode | Why It Happens | Safe Prevention | \n|---|---|---|\n| **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. | \n| **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. | \n| **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. | \n| **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. | \n| **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. | \n| **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. | \n\n[Isolated Upgrade Workflow Guide](https://github.com/ricfulop/airgap-pqc-audit/blob/main/docs/isolated-upgrade-workflow.md) ·\n          [Safe Migration Playbook](https://github.com/ricfulop/airgap-pqc-audit/blob/main/docs/safe-migration-playbook.md) ·\n          [Verifiable Migration & Vault Guide](https://github.com/ricfulop/airgap-pqc-audit/blob/main/docs/verifiable-migration.md) ·\n          [MIT Lab Guidelines](https://github.com/ricfulop/airgap-pqc-audit/blob/main/docs/mit-guidelines.md) ·\n          [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/) ·\n          [CISA PQC Initiative](https://www.cisa.gov/quantum) ·\n          [NIST IR 8547](https://csrc.nist.gov/pubs/ir/8547/final) ·\n          [Filippo Valsorda Analysis](https://words.filippo.io/nsa-advisory/)", "url": "https://wpnews.pro/news/live-100-offline-airgap-pqc-audit-browser-cli-post-quantum-codebase-scanner", "canonical_source": "https://ricfulop.github.io/airgap-pqc-audit/", "published_at": "2026-12-03 18:09:02+00:00", "updated_at": "2026-12-03 18:18:06.167555+00:00", "lang": "en", "topics": ["ai-tools", "ai-agents", "ai-safety", "developer-tools"], "entities": ["airgap-pqc-audit", "NSA", "CISA", "Anthropic", "OpenAI", "Google", "Mistral", "GitHub"], "also_reported_by": [], "takeaway": "ML-DSA-65/87 signatures run 3.3 to 4.6 KB (4.4 to 6.2 KB base64url), so store opaque session IDs in cookies and migrate key columns to TEXT/BYTEA with an algorithm column before rotating.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/live-100-offline-airgap-pqc-audit-browser-cli-post-quantum-codebase-scanner", "markdown": "https://wpnews.pro/news/live-100-offline-airgap-pqc-audit-browser-cli-post-quantum-codebase-scanner.md", "text": "https://wpnews.pro/news/live-100-offline-airgap-pqc-audit-browser-cli-post-quantum-codebase-scanner.txt", "jsonld": "https://wpnews.pro/news/live-100-offline-airgap-pqc-audit-browser-cli-post-quantum-codebase-scanner.jsonld"}}