npm/@libp2p/crypto@5.2.1
16 cryptographic assets found. 8 are quantum-vulnerable, and 1 is weak today.
| Asset | Status | Found in | What it means |
|---|---|---|---|
| EC-secp256k1Algorithm: Unspecified, secp256k1 | QUANTUM-VULNERABLE | dist/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 agreement | QUANTUM-VULNERABLE | dist/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: Signature | QUANTUM-VULNERABLE | dist/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, secp256r1 | QUANTUM-VULNERABLE | dist/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, secp256k1 | QUANTUM-VULNERABLE | dist/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, Ed25519 | QUANTUM-VULNERABLE | dist/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: Signature | QUANTUM-VULNERABLE | dist/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 padding | QUANTUM-VULNERABLE | dist/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, 160 | WEAK TODAY | dist/src/pbkdf2.js:14 | Replace now. This is unsafe today, regardless of quantum computers. |
| AES-128-GCMAlgorithm: Authenticated encryption, 128, GCM mode | NOT AFFECTED | dist/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 mode | NOT AFFECTED | dist/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 authentication | NOT AFFECTED | dist/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 derivation | NOT AFFECTED | dist/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 derivation | NOT AFFECTED | dist/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, 256 | NOT AFFECTED | dist/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, 512 | NOT AFFECTED | dist/src/pbkdf2.js:16 | Keep. Use 256-bit keys or output sizes for data that must stay secret for many years. |
| private-keyKey or secret | KEY MATERIAL | dist/src/keys/ed25519/index.js:64 | Follows the algorithm this is used with. |
| public-keyKey or secret | KEY MATERIAL | dist/src/keys/ed25519/index.js:88 | Follows 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 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.
[](https://opencbom.com/npm/@libp2p/crypto/)
Is something wrong or missing? Report an error and the record is corrected in public.