QShift Labs
Sign in

Open source

MySQL

github.com/mysql/mysql-server

D

Scanned 5 Dec 2026 at commit 4573da3722: 30664 files, C#, C/C++, Java, JavaScript, Kotlin, PHP, Python, Ruby, Server config, Swift, graded against CNSA 2.0, qshift 0.2.4.

96 weak today, 143 quantum-vulnerable, 2 below the profile, 0 ready.

How to raise the grade

The changes that move the grade most, in this order. Each step counts the places from the list below.

  1. Fix what is weak today: RSA, MD5/SHA-1, SHA-1D to C

    96 places. Move the key to a secret store, rotate it, and remove it from the history. If it is a test key, keep it under testdata/ or test/, which are skipped by default.

  2. Replace RSA

    37 places. OpenSSL 3.5+ has ML-DSA and ML-KEM through EVP: EVP_PKEY_Q_keygen(NULL, NULL, "ML-DSA-87") or "ML-KEM-1024".

  3. Replace RSA 2048

    33 places. Plan ML-DSA-87 once your CA and clients support it; until then use RSA 3072+ or ECDSA P-384 with short lifetimes.

1. Fix now: weak today

Broken or too weak today, without any quantum computer. These hold the grade at D or F.

Weak todayRSA 27 places

Unencrypted private key stored in the repository: anyone with read access has the key

Fix: Move the key to a secret store, rotate it, and remove it from the history. If it is a test key, keep it under testdata/ or test/, which are skipped by default.

Weak todayMD5/SHA-1 20 places

MD4, MD5 or SHA-1 from OpenSSL

Fix: Use EVP_sha384() or EVP_sha512().

Weak todaySHA-1 9 places

SHA-1 hash from hashlib

Fix: Use hashlib.sha384 or hashlib.sha512.

Weak todayRSA 1024 1 place

Private key has an RSA-1024 key: quantum-vulnerable signature, and under 2048 bits it is weak today

Fix: Plan ML-DSA-87 once your CA and clients support it; until then use RSA 3072+ or ECDSA P-384 with short lifetimes.

2. Protect data in transit

Key exchange and encryption a future quantum computer could break. Traffic recorded today could be decrypted later, so these come before signatures.

Quantum-vulnerableRSA 37 places

RSA keys or operations from OpenSSL / BoringSSL / LibreSSL / AWS-LC

Fix: OpenSSL 3.5+ has ML-DSA and ML-KEM through EVP: EVP_PKEY_Q_keygen(NULL, NULL, "ML-DSA-87") or "ML-KEM-1024".

Quantum-vulnerableECDSA/ECDH 17 places

ECDSA or ECDH on NIST curves from OpenSSL

Fix: OpenSSL 3.5+: EVP_PKEY_Q_keygen(NULL, NULL, "ML-DSA-87") for signatures, "ML-KEM-1024" (EVP_PKEY_encapsulate) for key establishment.

Quantum-vulnerableECC/X25519/Ed25519 1 place

ECC, X25519 or Ed25519 from wolfCrypt

Fix: wolfSSL 5.7.4+: wc_MlKemKey_Init with WC_ML_KEM_1024, wc_dilithium_set_level(key, 5) for ML-DSA-87.

Quantum-vulnerableTLS 1.2 only 1 place

OpenSSL maximum protocol version below TLS 1.3 (no post-quantum key exchange possible)

Fix: Use TLS_method() without a maximum below TLS1_3_VERSION; OpenSSL 3.5+ then offers X25519MLKEM768 by default.

3. Move signatures

Signatures and certificates a future quantum computer could forge. Nothing recorded today becomes readable through them, so they can follow the key exchange, ahead of the CNSA 2.0 and NIST dates.

Quantum-vulnerableRSA 2048 33 places

Certificate has an RSA-2048 key: quantum-vulnerable signature

Fix: Plan ML-DSA-87 once your CA and clients support it; until then use RSA 3072+ or ECDSA P-384 with short lifetimes.

Quantum-vulnerableRSA 2048 29 places

Private key has an RSA-2048 key: quantum-vulnerable signature

Fix: Plan ML-DSA-87 once your CA and clients support it; until then use RSA 3072+ or ECDSA P-384 with short lifetimes.

Quantum-vulnerableECDSA P-256 9 places

Private key has an ECDSA P-256 key: quantum-vulnerable

Fix: Plan ML-DSA-87 (signatures) or ML-KEM-1024 (key exchange) once your software supports it; keep keys easy to rotate.

4. Tidy up

Not broken, but below the strength the profile asks for. Worth doing when the code is changed anyway.

Below profileML-KEM-768/ML-DSA-65 2 places

ML-KEM-512/768, ML-DSA-44/65 or a hybrid group below CNSA 2.0 in OpenSSL

Fix: Use "ML-KEM-1024" / "ML-DSA-87", and SecP384r1MLKEM1024 or MLKEM1024 first in the TLS group list, for National Security Systems.

This is what the qshift scanner found in the public code at the commit named, with test folders left out. A scanner reports what it finds; it cannot prove that no other cryptography is used. It is not an audit and says nothing about how the project is run.