QShift Labs
Sign in

Open source

Trust Wallet Core

github.com/trustwallet/wallet-core

C

Scanned 5 Dec 2026 at commit 357340b900: 2081 files, C/C++, Go, Java, JavaScript, Kotlin, Python, Ruby, Rust, Server config, Swift, TypeScript, graded against CNSA 2.0, qshift 0.2.4.

0 weak today, 13 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. Replace ECDSA/Schnorr secp256k1

    7 places. Set by Bitcoin script: keep keys off reused addresses and follow Bitcoin's post-quantum proposals; ML-DSA-87 for signatures outside the chain.

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

  2. Replace ECDSA/ECDHC to A

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

  3. Move to the CNSA 2.0 strengthsA to A+

    2 places. Raise the go line and any godebug default to 1.24 or later (go mod edit -go=1.24), or add godebug tlsmlkem=1 to go.mod.

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.

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-vulnerableECDSA/Schnorr secp256k1 7 places

ECDSA or Schnorr on secp256k1 from the secp256k1 crate (rust-bitcoin, BDK, LDK)

Fix: Set by Bitcoin script: keep keys off reused addresses and follow Bitcoin's post-quantum proposals; ML-DSA-87 for signatures outside the chain.

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 2 places

go 1.19 in go.mod keeps the hybrid ML-KEM key exchange of crypto/tls off for programs built from this module (GODEBUG default tlsmlkem=0)

Fix: Raise the go line and any godebug default to 1.24 or later (go mod edit -go=1.24), or add godebug tlsmlkem=1 to go.mod.

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.