QShift Labs
Sign in

Open source

Sui

github.com/MystenLabs/sui

D

Scanned 5 Dec 2026 at commit 4d0ef5f6ab: 3845 files, C/C++, JavaScript, Python, Rust, Server config, TypeScript, graded against CNSA 2.0, qshift 0.2.4.

14 weak today, 74 quantum-vulnerable, 1 below the profile, 4 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: SHA1-RSA, RSAD to C

    14 places, most of them in crates/sui-kvstore/src/bigtable/proto/. Reissue the certificate with SHA-256 or stronger.

  2. Replace RSA 2048

    26 places, most of them in crates/sui-kvstore/src/bigtable/proto/. Plan ML-DSA-87 once your CA and clients support it; until then use RSA 3072+ or ECDSA P-384 with short lifetimes.

  3. Replace Ed25519

    16 places. aws-lc-rs has ML-DSA-87 (unstable::signature::ML_DSA_87_SIGNING); ring has no post-quantum algorithms.

    If this is the signature on the chain's transactions, it changes only when the whole network agrees on a new one.

1. Fix now: weak today

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

Weak todaySHA1-RSA 12 places

Certificate is signed with SHA1-RSA, which can be forged today

Fix: Reissue the certificate with SHA-256 or stronger.

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-vulnerableclassic ECDHE groups only 12 places

rustls with the ring crypto provider (no post-quantum key exchange)

Fix: Use the default aws-lc-rs provider (rustls 0.23.27+ prefers X25519MLKEM768; kx_group::MLKEM1024 for CNSA 2.0).

Quantum-vulnerableECDSA/ECDH 8 places

ECDSA or ECDH from the p256, p384, p521, p224 or k256 crates (RustCrypto)

Fix: Use the ml-dsa crate (MlDsa87) or ml-kem (MlKem1024), or aws-lc-rs.

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 26 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-vulnerableEd25519 16 places

Ed25519 from ring or aws-lc-rs

Fix: aws-lc-rs has ML-DSA-87 (unstable::signature::ML_DSA_87_SIGNING); ring has no post-quantum algorithms.

Quantum-vulnerableECDSA P-384 10 places

Certificate has an ECDSA P-384 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.

Quantum-vulnerableECDSA P-256 1 place

Certificate 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 profileclassic ECDHE groups only 1 place

rustls with only the ring crypto provider has no post-quantum key exchange

Fix: Use the aws-lc-rs provider: add "aws_lc_rs" (and "prefer-post-quantum" before 0.23.27) to the rustls features, or keep the default features.

Already post-quantum or strong enough

Readyrustls 0.23.46 1 place

Prefers hybrid X25519MLKEM768 by default with the aws-lc-rs provider.

Fix: None needed.

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.