opencbom EARLY DATA

npm/@libp2p/crypto@5.2.1

16 cryptographic assets found. 8 are quantum-vulnerable, and 1 is weak today.

AssetStatusFound inWhat it means
EC-secp256k1Algorithm: Unspecified, secp256k1QUANTUM-VULNERABLEdist/src/keys/secp256k1/utils.js:17
dist/src/keys/secp256k1/utils.js:20
dist/src/keys/secp256k1/utils.js:24
+ 3 more
Plan a move to a NIST post-quantum algorithm (ML-KEM for key exchange, ML-DSA for signatures).
ECDHAlgorithm: Key agreementQUANTUM-VULNERABLEdist/src/keys/ecdh/index.browser.js:18
dist/src/keys/ecdh/index.browser.js:26
dist/src/keys/ecdh/index.browser.js:34
+ 2 more
Plan a move to ML-KEM, or a hybrid such as X25519MLKEM768, for key exchange and encryption.
ECDSAAlgorithm: SignatureQUANTUM-VULNERABLEdist/src/keys/ecdsa/index.js:21
dist/src/keys/ecdsa/index.js:36
Plan a move to ML-DSA or SLH-DSA for signatures.
ECDSA-P256Algorithm: Signature, secp256r1QUANTUM-VULNERABLEdist/src/keys/ecdsa/index.js:6
dist/src/keys/ecdsa/index.js:16
dist/src/keys/ecdsa/index.js:31
+ 2 more
Plan a move to ML-DSA or SLH-DSA for signatures.
ECDSA-secp256k1Algorithm: Signature, secp256k1QUANTUM-VULNERABLEdist/src/keys/secp256k1/index.browser.js:18
dist/src/keys/secp256k1/index.browser.js:31
dist/src/keys/secp256k1/index.browser.js:49
+ 3 more
Plan a move to ML-DSA or SLH-DSA for signatures.
Ed25519Algorithm: Signature, Ed25519QUANTUM-VULNERABLEdist/src/keys/ed25519/index.browser.js:14
dist/src/keys/ed25519/index.browser.js:23
dist/src/keys/ed25519/index.browser.js:24
+ 9 more
Plan a move to ML-DSA or SLH-DSA for signatures.
RSAAlgorithm: SignatureQUANTUM-VULNERABLEdist/src/keys/rsa/index.js:28
dist/src/keys/rsa/index.js:42
Plan a move to ML-DSA or SLH-DSA for signatures.
RSASSA-PKCS1-v1_5Algorithm: Signature, pkcs1v15 paddingQUANTUM-VULNERABLEdist/src/keys/index.js:223
dist/src/keys/index.js:227
dist/src/keys/rsa/index.browser.js:10
+ 4 more
Plan a move to ML-DSA or SLH-DSA for signatures.
SHA-1Algorithm: Hash, 160WEAK TODAYdist/src/pbkdf2.js:14Replace now. This is unsafe today, regardless of quantum computers.
AES-128-GCMAlgorithm: Authenticated encryption, 128, GCM modeNOT AFFECTEDdist/src/ciphers/aes-gcm.browser.js:15
dist/src/ciphers/aes-gcm.js:16
dist/src/ciphers/aes-gcm.js:50
Keep. Use 256-bit keys or output sizes for data that must stay secret for many years.
AES-GCMAlgorithm: Authenticated encryption, GCM modeNOT AFFECTEDdist/src/ciphers/aes-gcm.browser.js:40
dist/src/ciphers/aes-gcm.browser.js:46
dist/src/ciphers/aes-gcm.browser.js:50
+ 8 more
Keep. Use 256-bit keys or output sizes for data that must stay secret for many years.
HMACAlgorithm: Message authenticationNOT AFFECTEDdist/src/hmac/index.browser.js:10
dist/src/hmac/index.browser.js:15
dist/src/hmac/index.js:22
Keep. Use 256-bit keys or output sizes for data that must stay secret for many years.
PBKDF2Algorithm: Key derivationNOT AFFECTEDdist/src/ciphers/aes-gcm.browser.js:49
dist/src/ciphers/aes-gcm.browser.js:59
dist/src/ciphers/aes-gcm.browser.js:84
+ 2 more
Keep. Use 256-bit keys or output sizes for data that must stay secret for many years.
PBKDF2-HMAC-SHA256Algorithm: Key derivationNOT AFFECTEDdist/src/ciphers/aes-gcm.browser.js:48
dist/src/ciphers/aes-gcm.browser.js:50
dist/src/ciphers/aes-gcm.browser.js:58
+ 7 more
Keep. Use 256-bit keys or output sizes for data that must stay secret for many years.
SHA-256Algorithm: Hash, 256NOT AFFECTEDdist/src/keys/ecdsa/index.js:21
dist/src/keys/ecdsa/index.js:36
dist/src/keys/index.js:223
+ 12 more
Keep. Use 256-bit keys or output sizes for data that must stay secret for many years.
SHA-512Algorithm: Hash, 512NOT AFFECTEDdist/src/pbkdf2.js:16Keep. Use 256-bit keys or output sizes for data that must stay secret for many years.
private-keyKey or secretKEY MATERIALdist/src/keys/ed25519/index.js:64Follows the algorithm this is used with.
public-keyKey or secretKEY MATERIALdist/src/keys/ed25519/index.js:88Follows the algorithm this is used with.

Read this before relying on it. Scanners recognise a limited set of cryptographic libraries in each language. A short or empty list means the scanner found little. It does not prove the package is safe. What the scanner can and cannot see

Where this record comes from

Package
pkg:npm/%40libp2p/[email protected]
Scanner
opencbom-js-scanner 0.2.0
Scanned
2026-12-06
Source
https://registry.npmjs.org/@libp2p/crypto/-/crypto-5.2.1.tgz
Source SHA-256
28fccb56996fc6f2941ffc4b8a5552689bbd0dcb905dc7187ec948037173b654
Format
CycloneDX 1.6
curl https://opencbom.com/api/v1/npm/@libp2p/crypto/5.2.1.json

Badge for your README

Maintain this package? Show the result where your users look. The badge follows the latest scanned version.

CBOM badge for @libp2p/crypto

[![CBOM](https://opencbom.com/badge/npm/@libp2p/crypto.svg)](https://opencbom.com/npm/@libp2p/crypto/)

Is something wrong or missing? Report an error and the record is corrected in public.