QShift Labs
Sign in

Open source

Bitwarden clients

github.com/bitwarden/clients

D

Scanned 5 Dec 2026 at commit 51b9d34dd2: 6144 files, C/C++, JavaScript, Rust, Swift, TypeScript, graded against CNSA 2.0, qshift 0.2.4.

1 weak today, 10 quantum-vulnerable, 0 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: RSAD to C

    1 place, most of them in apps/web/. 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/ECDSA/ECDH/EdDSA/XDH (WebCrypto)

    7 places, most of them in libs/importer/src/importers/keeper/access/services/. WebCrypto ML-KEM / ML-DSA are still a draft (WICG Modern Algorithms, Node 24.7+ experimental); keep algorithms configurable and plan the switch.

  3. Replace RSA

    1 place, most of them in apps/desktop/desktop_native/ssh_agent/src/server/. Use the ml-dsa crate (MlDsa87) or aws-lc-rs (ML_DSA_87) for signatures and ml-kem (MlKem1024) or aws-lc-rs (ML_KEM_1024) for key establishment.

1. Fix now: weak today

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

Weak todayRSA 1 place

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.

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/ECDSA/ECDH/EdDSA/XDH (WebCrypto) 7 places

RSA, ECDSA, ECDH, Ed25519 or X25519 with WebCrypto (crypto.subtle)

Fix: WebCrypto ML-KEM / ML-DSA are still a draft (WICG Modern Algorithms, Node 24.7+ experimental); keep algorithms configurable and plan the switch.

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

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

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.

Already post-quantum or strong enough

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.