|
|
Message-ID: <CA+H=a0eNQL=+XDdbATPBs-xp-2QfM2W6cQpt=R33K3cv+KboFQ@mail.gmail.com> Date: Mon, 30 Nov 2026 12:25:55 -0700 From: Hard Keel <contact@...dkeel.com> To: oss-security@...ts.openwall.com Subject: Quantum Scan 0.7: open-source inventory of quantum-vulnerable and weak encryption, feedback welcome Hi all, I've been working on Quantum Scan, an Apache-2.0 command-line tool and GitHub Action that tries to find where a project or network still depends on encryption a quantum computer will break, plus the weak stuff that's already broken. Some of you may have seen an earlier version on pqc-forum. The feedback I've gotten has helped shape this release, and I'm hoping this list can find what I'm still missing. What it currently looks for: - RSA, ECDSA, ECDH, Ed25519, X25519 and DH in code, including JWT and JOSE names like RS256 and ES256, with the NIST replacement and IR 8547 date for each - MD5, SHA-1, DES/3DES, RC4, ECB, DSA, RSA under 2048 bits and TLS 1.0/1.1 - exposed settings in Terraform, CloudFormation, Kubernetes, Dockerfiles and nginx/Apache/HAProxy config - leaked keys and passwords, masked in output - certificates, public keys and JSON Web Keys in your files, read for their real algorithm, curve and key size - container images saved with docker save or podman save, offline: system encryption packages, sshd and OpenSSL settings, and keys left in any layer - with "map", for domains you've proved with a DNS TXT record: TLS and SSH from the outside (about six handshakes, no logins), the OIDC or SAML signing algorithm, hybrid ML-KEM support, and forgotten hostnames from certificate transparency logs - on the local machine and LAN, read only: SSH, OpenSSL, certificate and Windows SChannel settings, and routers, printers and cameras still on Telnet, factory certificates or setup pages Output is a CycloneDX 1.6 CBOM, SARIF 2.1.0, and a migration plan ordered by deadline. No dependencies. On a workstation it sends one anonymized summary per run by default (rounded counts and a random ID, never code, files, hostnames or IPs), and nothing from CI unless you turn it on; --offline or DO_NOT_TRACK=1 turns it off. As a sanity check, I scanned 100 of the most-starred projects on GitHub on November 20. 36 use RSA or elliptic-curve encryption in their own code, 7 name a post-quantum algorithm, and only 8 of 118 MD5 and SHA-1 uses I checked by hand were real security choices. Write-up: https://hardkeel.com/learn/open-source-encryption-study/ It's far from perfect. It follows values across files and into functions, but it isn't full data-flow analysis, so values built at run time or kept in objects can slip past, and Terraform variables aren't followed yet. If you try it, I'd really appreciate hearing about misses, false positives, or anything you'd expect a tool like this to catch that it doesn't. https://github.com/Hard-Keel/quantum-scan-cli Thanks, Brian Hard Keel
Powered by blists - more mailing lists
Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.