@chainsafe/libp2p-noise
The former package of the libp2p Noise handshake connection encrypter using X25519, ChaCha20-Poly1305, SHA-256 and HKDF.
In short
What to know.
- Algorithms
- Noise Protocol Framework, X25519, ChaCha20-Poly1305, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512) and 1 more2 of 5 would be broken by a large quantum computer.
- Advisories
- 1 in the storeOSV last read 3 December 2026, 16:49 UTC.
- What to do
- Its source marks it deprecated or unmaintained: plan a replacement. Check your version against the advisories below. Each lists its affected and fixed versions. Plan a move away from Noise Protocol Framework, X25519 before large quantum computers exist.
1 in the store
Advisories
| Advisory | Id | Affected versions | Fixed in | Source's rating |
|---|---|---|---|---|
| Failure to validate signature during handshake | GHSA-j3ff-xp6c-6gcc | before 4.1.2; from 5.0.0 before 5.0.3 | Fixed in 4.1.2, 5.0.3 | Rated High |
1 listed
Findings
| Finding | Id | Severity | Updated |
|---|---|---|---|
| Failure to validate signature during handshake | NMN-2026-0084 | Severity High | 3 December 2026 |
Reviewed 3 December 2026
Sources
- npm registry metadata for @chainsafe/libp2p-noiseregistry.npmjs.orgRetrieved 3 December 2026
- js-libp2p-noise repositorygithub.comRetrieved 3 December 2026
Full record
- Package
- @chainsafe/libp2p-noise
- Ecosystem
- npm
- Role
- Protocol
- Repository
- github.com/ChainSafe/js-libp2p-noise
- Status
- Marked deprecated or unmaintained by its source.
- Notes
- The registry marks the latest version deprecated: replaced by @libp2p/noise.
- Reviewed
- Entry reviewed 3 December 2026. Catalogue entry, curated by hand and incomplete by design.
- Advisories read
- Last read from OSV 3 December 2026, 16:49 UTC
- Findings
- 1 listed above.
Algorithms it provides
- Noise Protocol Framework key-exchangeClassical public keyBroken by Shor's algorithm
- X25519 key-exchangeClassical public keyBroken by Shor's algorithm
- ChaCha20-Poly1305 aeadSymmetricWeakened by Grover's search
- SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512) hashHashWeakened by Grover's search
- HKDF kdfSymmetricWeakened by Grover's search
What a large quantum computer would change
- Broken by Shor's algorithmRests on factoring or discrete logarithms. A large fault-tolerant quantum computer running Shor's algorithm would break it.Noise Protocol Framework, X25519
- Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.ChaCha20-Poly1305, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512), HKDF
Notes describe algorithm families, not any one project.