# QuantaFeed — Complete Technical & AI Agent Reference Website: https://www.quantafeed.com GitHub: https://github.com/harsh-mr/check-vuln-in-keys OpenAPI 3.1 Spec: https://www.quantafeed.com/openapi.json Advisory Reference: NSA Cybersecurity Advisory PP-26-4956 (Dec 2, 2026, Ver 1.0) & IETF RFC 10024 --- ## 1. What QuantaFeed Solves ("The CDN Illusion") Most online PQC testers only probe a marketing homepage. Because CDNs like Cloudflare, Fastly, or Akamai enable `X25519MLKEM768` at the edge, a company's homepage passes while its real operational surface (`api.*`, `auth.*`, `vpn.*`, `mail.*`, DNSSEC, MTA-STS, DKIM, third-party SaaS endpoints, SSH keys, WireGuard tunnels without `PresharedKey`, JWT `ES256`/`EdDSA` signers, Nginx/ALB configs) still runs classical 256-bit ECC flagged by NSA Advisory PP-26-4956. QuantaFeed audits both external infrastructure (Layer 1) and local developer machines/repositories (Layer 2 via `npx quantafeed-pqc-scan`), gives a transparent **0–100 Quantum Safety Score (Grades A+ to F)**, benchmarks domains against top sites (`google.com`, `cloudflare.com`, `rbi.org.in`, `stripe.com`, `github.com`), and generates copy-paste config fixes, AI coding agent prompts, and CycloneDX 1.6 CBOM exports. --- ## 2. Transparent 0–100 Quantum Safety Score Formula - **Front Door TLS Key Exchange (40 pts):** - `CNSA_2_READY` (`MLKEM1024` `0x0202`, `SecP384r1MLKEM1024` `0x11ed`): 40 / 40 - `RFC_10024_HYBRID` (`X25519MLKEM768` `0x11ec`, `SecP256r1MLKEM768` `0x11eb`): 37 / 40 - `CNSA_1_INTERIM` (`P-384` / `P-521` / `RSA >= 3072`): 22 / 40 - `PP_26_4956_EXPOSED` (`X25519`, `P-256`, TLS 1.2): 6 / 40 - **Subdomains & APIs Coverage (35 pts):** Proportional average across live discovered subdomains (own infrastructure only; third-party SaaS vendors never drag down a company's own surface verdict). - **Transport & Protocol Hardening (15 pts):** +9 TLS 1.3 active without middlebox drop, +3 valid X.509 chain, +3 TLS 1.2 fallback disabled. - **Email, DNS & Connected Apps (10 pts):** DNSSEC signed (+3), MTA-STS enforce (+3) / testing (+2), DKIM >= 2048-bit (+2), third-party SaaS vendor readiness (+2). - **Fail-closed guard:** If the apex domain returns `INCONCLUSIVE`, QuantaFeed refuses to assign a passing grade. - **Grade Scale:** `A+` (92–100), `A` (82–91), `B` (70–81), `C` (55–69), `D` (35–54), `F` (0–34). --- ## 3. NSA Cybersecurity Advisory PP-26-4956 (Dec 2, 2026) Summary ### Algorithm Classification - **Flagged Classical (Plan Replacement):** 256-bit ECC (`P-256 / secp256r1`, `X25519`, `Ed25519 / EdDSA`), RSA `< 3072` (RSA-2048 legacy-only footnote), DSA, DH `< 3072`, IKE groups 22–24, pairing crypto (`BLS12-381`, `BN254`), TLS 1.2/1.1 without TLS 1.3 PQC, JWT `ES256`/`EdDSA`, WireGuard without `PresharedKey`. - **CNSA 1.0 Interim Stopgap:** `ECDH / ECDSA P-384` (and `P-521`), `RSA >= 3072`, `DH >= 3072`, `AES-256`, `SHA-384`, OpenSSH `sntrup761x25519`. - **Quantum-Ready Target (IETF RFC 10024 & CNSA 2.0):** TLS 1.3 `ML-KEM-1024 (0x0202)`, `SecP384r1MLKEM1024 (0x11ed)`, `X25519MLKEM768 (0x11ec)`; signatures `ML-DSA-87` (FIPS 204) & `LMS / XMSS` (NIST SP 800-208); symmetric `AES-256` + `SHA-384/512`; OpenSSH 10.0+ `mlkem768x25519-sha256` & OpenSSH 10.6 `ssh-mldsa44-ed25519`. ### 6 Immediate Actions (Ordered for Broadest Risk Reduction) 1. Inventory where cryptography is used (TLS, IPsec, SSH, PKI/X.509, code signing, identity). 2. Move TLS services to TLS 1.3 with RFC 10024 hybrid (`X25519MLKEM768`) or pure PQC key exchange. 3. Stand up PQC Certificate Authorities & ensure roots use RSA-3072+ or P-384. 4. Replace certificates, PKI, SSH keys, JWT signers, and firmware/code signing. 5. Update software & firmware (OpenSSL >= 3.5, OpenSSH >= 10.0, Go >= 1.24, Nginx >= 1.27.3, Caddy >= 2.10, Envoy >= 1.33). 6. Triage non-upgradable systems with CNSA 1.0 interim settings, network segmentation, and continuous monitoring. ### Global Deadlines (2026–2035) - **Dec 2, 2026:** NSA PP-26-4956, ONCD/CISA joint statement, UK NCSC migration guidance. - **Jan 1, 2027:** CNSA 2.0 required in new US National Security System acquisitions; India DST critical-infrastructure roadmap starts (2027–2029). - **Dec 31, 2030:** US EO 14412 post-quantum key exchange deadline; NIST IR 8547 deprecates classical public-key crypto. - **Dec 31, 2031:** Full CNSA 2.0 compliance for NSS; EO 14412 PQ signatures deadline; UK NCSC high-priority target (Jan 1, 2031). - **2035:** NIST IR 8547 & NSM-10 disallow quantum-vulnerable RSA, ECDH, ECDSA, and EdDSA across all key sizes. --- ## 4. Public HTTP API Endpoints (No Auth Required) Base URL: `https://www.quantafeed.com` 1. `GET /api/scan/domain?domain=&format=json` - Full `ExposureReport` JSON (apex TLS 1.3 wire trace, discovered subdomains, X.509 chain, DNSSEC/MTA-STS/DKIM, SaaS vendor stack, priority remediations). - Streaming SSE variant: omit `&format=json`. 2. `GET /api/quick?host=` - Fast single-host TLS 1.3 RFC 10024 probe (`verdict`, `negotiatedGroup`, `cdnProvider`, `latencyMs`). Pass `&refresh=1` to bypass the 10-min cache. 3. `GET /api/compare?a=&b=` - Parallel full audits of two domains for head-to-head comparison. 4. `GET /api/scan/github-user?user=` - Inspects public SSH keys at `https://github.com/.keys`. 5. `GET /api/scan/github-repo?repo=` - Scans a public repository tarball (5 MB compressed / 200-file cap; sets `partial: true` if truncated). 6. `GET /badge/.svg` - Dynamic XSS-safe SVG status badge for READMEs and dashboards. --- ## 5. Offline-First CLI (`npx quantafeed-pqc-scan`) - `npx quantafeed-pqc-scan` — Audit local tools (`openssl`, `ssh`, `go`, `nginx`, `caddy`, `envoy`, `node`), `~/.ssh/*.pub` (never reads private keys), and current repo offline. - `npx quantafeed-pqc-scan domain ` — Live external domain scan. - `npx quantafeed-pqc-scan ssh ` — Live RFC 4253 `SSH_MSG_KEXINIT` probe (`mlkem768x25519-sha256`, `sntrup761x25519`, `ssh-mldsa*`). - `npx quantafeed-pqc-scan domain --ci --fail-on exposed` — CI/CD gate (exit 2 on exposure, exit 3 on inconclusive; `--allow-inconclusive` opts out). - `npx quantafeed-pqc-scan --cbom -o cbom.cdx.json` — Export CycloneDX 1.6 Cryptography Bill of Materials. - `npx quantafeed-pqc-scan --ui` — Launch loopback-only local Web UI preloaded with your machine & repo audit. --- ## 6. Quick Zero-Downtime Remediation Examples - **Nginx (1.27.3+ / OpenSSL 3.5+):** `ssl_protocols TLSv1.3; ssl_ecdh_curve X25519MLKEM768:SecP384r1MLKEM1024:X25519:secp384r1;` - **AWS ALB:** Attach `ELBSecurityPolicy-TLS13-1-2-PQ-2025-09` - **Cloudflare:** Enable Post-Quantum Encryption for edge + origin, proxy exposed `api.*`/`auth.*` records - **Caddy (2.10+ / Go 1.24+):** Enabled automatically unless overridden by a classical-only `curves` setting - **Verify Live:** `openssl s_client -connect :443 -tls1_3 -groups X25519MLKEM768 &1 | grep -iE 'Protocol|Peer Temp Key|Server Temp Key|Group'`