QShift Labs
Sign in

Open source

wireguard-go

github.com/WireGuard/wireguard-go

C

Scanned 5 Dec 2026 at commit b3bc704ef0: 79 files, Go, graded against CNSA 2.0, qshift 0.2.4.

0 weak today, 2 quantum-vulnerable, 1 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 X25519C to A

    2 places, most of them in device/. Use crypto/mlkem GenerateKey1024 (Go 1.24+).

  2. Move to the CNSA 2.0 strengthsA to A+

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

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

go 1.23.1 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.