Tool roundups

Best post-quantum cryptography scanners and migration tools

Capy team

Post-quantum cryptography migration pairs scanners that find weak RSA, 256-bit elliptic curves and classical TLS with tools that update endpoints and code. CBOMkit, Semgrep, ast-grep, SonarQube, testssl.sh, openssl s_client and commercial CBOM platforms handle discovery. Cloud policies fix edge TLS, and Capy turns scanner output into tested pull requests across repositories.

No single post-quantum cryptography tool finds weak RSA and 256-bit curves and edits code, so pair scanners with edge policies and coding agents. Pick one tool per job below, or see the NSA December 2026 post-quantum advisory engineering checklist.

Which post-quantum cryptography tool does each job

Capy sits in the code-change category and does not replace a scanner or CBOM platform.

ToolFindsWhere it looksOutputFixes code
CBOMkitAlgorithms, keys, certsJava/Python, images, gitCycloneDX CBOMNo
SemgrepWeak keys, 256-bit curves, JWTsSource locally, CICLI, JSONNo
ast-grepStructural calls, curves, sizesSource locally, CICLI, exit codeNo
SonarQubeWeak keys via S4426, CBOMSource in CI, SonarQubeIssues, CBOMNo
testssl.shTLS settings, ML-KEM groupsLive network endpointsTerminal reportNo
openssl s_clientTLS 1.3 hybrid handshakeOne live TLS endpointTranscriptNo
Cloudflare RadarPublic PQ key exchangeOne public hostnamePass or failNo
SandboxAQ AQtive GuardCrypto vs CNSA 2.0, NISTEnterprise systemsCBOM, reportsNo
Keyfactor AgileSecQuantum-vulnerable assetsNetwork, hosts, source, reposInventory, mapNo
Cloud built-insNothingEdge load balancers, CDNLogs, analyticsEdge only
CapyRegressions via Capy ReviewCloned repos on microVMsTested PRs, findingsYes

How to scan code, images and live TLS endpoints

  • CBOMkit. IBM donated it to the Post-Quantum Cryptography Alliance with sonar-cryptography for Java and Python, cbomkit-theia for images and filesystems, and a git service; Go and TypeScript need another scanner.
  • Semgrep. Default rules in semgrep/semgrep-rules do not enforce a 3072-bit floor because use-of-weak-rsa-key flags RSA under 2048 bits only, missing RSA-2048, P-256 and Ed25519. Write custom YAML rules with pattern-either and metavariable-comparison.
  • ast-grep. Runs free structural YAML rules locally or in CI, exiting non-zero on flagged calls while missing dynamic indirection. See Block weak RSA and ECC in CI and PR review.
  • SonarQube. Runs S4426 across languages including Go in CI and hosts sonar-cryptography for Java and Python CBOMs. Default S4426 thresholds do not enforce a 3072-bit floor and miss P-256 and Ed25519.
  • testssl.sh. Pre-release 3.3dev snapshots, including snapshot 2611 from November 4, 2026, report ML-KEM hybrid groups with OpenSSL 3.5 or newer or LibreSSL 4.3 via --openssl. It checks live TLS only and fails ML-KEM on distro OpenSSL 3.0.
  • openssl s_client. OpenSSL 3.5 adds ML-KEM, ML-DSA, SLH-DSA and RFC 10024 hybrid groups with X25519MLKEM768 first by default. Probe one live TLS 1.3 host per run; distro OpenSSL 3.0 cannot negotiate PQ groups.
  • Cloudflare Radar. Checks one public hostname for X25519MLKEM768, while Cloudflare zones log PQ traffic in HTTP Analytics and Logpush; internal hosts stay invisible.
  • SandboxAQ AQtive Guard and Keyfactor AgileSec. AQtive Guard tracks CBOMs against CNSA 2.0 and NIST mandates, and AgileSec maps vulnerable crypto across networks, hosts, source and artifacts. Both are commercial tools that stop at reporting.
openssl version
openssl list -tls1_3 -tls-groups
openssl s_client -connect example.com:443 -groups X25519MLKEM768 -tls1_3

Run a post-quantum migration across repositories with Capy

Scanners create the work list, and Capy executes the repository changes without replacing a scanner, CBOM tool or security team.

  • One thread per repository. Give a Captain your CBOM, Semgrep JSON or repository list, and it splits the work into one thread per repository, each opening and following its own PR.
  • Real tests on isolated cloud microVMs. Each thread runs on its own isolated cloud microVM with the repository cloned and environment setup installed, running your test suite and openssl s_client checks before opening the PR.
  • PR review rules for regressions. Capy Review enforces plain-English rules in AGENTS.md under ## Reviews plus organization rules in Review settings, flagging P-256, Ed25519 and RSA under 3072 bits on every PR.
  • Scheduled sweeps and human merges. Automations run a stored prompt on a schedule, such as a weekly re-scan opening a PR for weak crypto, and Capy never merges unless someone asks.

Which cloud load balancer policies fix edge TLS

  • Google Cloud Load Balancing. X25519MLKEM768 is on by default for frontend connections on external, classic and internal ALBs and proxy Network Load Balancers, not backends.
  • AWS ALB and CloudFront. ALB PQ policies enable X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024. Console listeners default to ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09 and ELBSecurityPolicy-TLS13-1-2-Res-FIPS-PQ-2025-09 for FIPS, while CLI, CloudFormation and CDK default to ELBSecurityPolicy-2016-08; logs track TLS in field 5 and key exchange in field 13, and CloudFront supports X25519MLKEM768 and SecP256r1MLKEM768.
  • Cloudflare. Supports X25519MLKEM768 for visitors, hybrid TLS 1.3 to origins in Full or Full (strict) mode, and ML-DSA origin authentication.

Backend TLS, Kubernetes ingress, JWTs, SSH and private PKI still need code edits; see Post-quantum Kubernetes, nginx and cloud load balancers.

How to combine scanners and migration tools

  1. Discover. Pair CBOMkit with custom Semgrep or ast-grep rules for Go and TypeScript.
  2. Gate diffs. Block RSA under 3072 bits and 256-bit curves in CI plus Capy Review rules in AGENTS.md.
  3. Verify endpoints. Probe hosts with openssl s_client, testssl.sh 3.3dev on OpenSSL 3.5 or newer, and Cloudflare Radar.
  4. Ship fixes. Enable edge PQ policies, update AWS listeners on ELBSecurityPolicy-2016-08, then fan out batches with a Capy Captain; see How to run a code migration across many repositories with coding agents.

Start with free tools for inventory and CI gating. Buy AQtive Guard or AgileSec for enterprise CBOM governance, and use Capy when migrating dozens or hundreds of repositories becomes the bottleneck.

Frequently Asked Questions

Does a CBOM scanner automatically migrate weak RSA or ECC?+
No. CBOMkit, SandboxAQ AQtive Guard and Keyfactor AgileSec inventory algorithms against CNSA 2.0 or NIST IR 8547, while teams still update runtimes, code, load balancers and keys.
Why do default Semgrep and SonarQube rules miss NSA advisory targets?+
Default scanner rulesets do not enforce a 3072-bit floor. Semgrep use-of-weak-rsa-key flags RSA under 2048 bits only and SonarQube S4426 checks older minimums, so add custom rules for RSA-3072, P-384, P-256 and Ed25519.
Can cloud load balancer policies replace code changes?+
No. GCP, AWS ALB and Cloudflare policies cover edge TLS and Cloudflare-to-origin TLS 1.3 without touching backend TLS, JWT signing, SSH keys, code signing or private PKI.
How does Capy fit beside CBOMkit or Semgrep?+
Scanners produce the work list, and Capy edits the repositories. A Capy Captain takes your CBOM or Semgrep JSON, runs one thread per repository on isolated cloud microVMs, tests changes and opens pull requests.

Sources

  1. PQCA: CBOMkit architecture
  2. GitHub: semgrep/semgrep-rules
  3. GitHub: testssl.sh releases
  4. Capy docs: Captains

Spotted something out of date? Tell us at support@capy.ai.

Turn scanner output into tested pull requests

Give a Capy Captain your CBOM or Semgrep JSON, fan out one agent per repository on isolated cloud microVMs, and review PRs that already pass CI.