QShift Labs
Sign in

Open source

Vaultwarden

github.com/dani-garcia/vaultwarden

D

Scanned 5 Dec 2026 at commit 827181aece: 88 files, JavaScript, Python, Rust, TypeScript, graded against CNSA 2.0, qshift 0.2.4.

1 weak today, 7 quantum-vulnerable, 1 below the profile, 1 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: SHA-1D to C

    1 place, most of them in src/. Use digest::SHA384 or digest::SHA512.

  2. Replace RSA 2048

    3 places. With OpenSSL 3.5+ use the "ML-DSA-87" and "ML-KEM-1024" key types, or aws-lc-rs.

  3. Replace RSA/ECDSA/ECDH/EdDSA/XDH (WebCrypto)

    2 places, most of them in src/static/scripts/. WebCrypto ML-KEM / ML-DSA are still a draft (WICG Modern Algorithms, Node 24.7+ experimental); keep algorithms configurable and plan the switch.

1. Fix now: weak today

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

Weak todaySHA-1 1 place

SHA-1 from ring or aws-lc-rs (the *_SHA1_FOR_LEGACY_USE_ONLY algorithms)

Fix: Use digest::SHA384 or digest::SHA512.

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 1 place

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).

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/ECDSA (JWT) 1 place

JWT signed with RSA, ECDSA or EdDSA (jsonwebtoken crate)

Fix: Keep the algorithm configurable and tokens short-lived; switch to ML-DSA when your JOSE library supports it.

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.