web3
Ethereum JavaScript API whose accounts module signs with secp256k1, hashes with Keccak-256 and encrypts V3 keystores with scrypt or PBKDF2 and AES-128-CTR.
In short
What to know.
- Algorithms
- ECDSA on secp256k1, Keccak-256, scrypt, PBKDF2 and 1 more1 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 ECDSA on secp256k1 before large quantum computers exist.
1 in the store
Advisories
| Advisory | Id | Affected versions | Fixed in | Source's rating |
|---|---|---|---|---|
| Insecure Credential Storage in web3 | GHSA-27v7-qhfv-rqq8 | up to and including 1.5.2 | Rated Low |
1 listed
Findings
| Finding | Id | Severity | Updated |
|---|---|---|---|
| Insecure Credential Storage in web3 | NMN-2026-0077 | Severity Low | 3 December 2026 |
Reviewed 3 December 2026
Sources
- npm registry metadata for web3registry.npmjs.orgRetrieved 3 December 2026
- web3.js README (sunset notice)raw.githubusercontent.comRetrieved 3 December 2026
- web3.js GitHub repository (archived)github.comRetrieved 3 December 2026
Full record
- Package
- web3
- Ecosystem
- npm
- Role
- Toolkit
- Repository
- github.com/ChainSafe/web3.js
- Status
- Marked deprecated or unmaintained by its source.
- Notes
- The README states that the Web3.js libraries were sunset on 4 March 2025, and the GitHub repository is archived and read-only. The registry does not mark the package deprecated.
- 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
- ECDSA on secp256k1 signatureClassical public keyBroken by Shor's algorithm
- Keccak-256 hashHashWeakened by Grover's search
- scrypt password-hashSymmetricWeakened by Grover's search
- PBKDF2 kdfSymmetricWeakened by Grover's search
- AES cipherSymmetricWeakened 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.ECDSA on secp256k1
- Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.Keccak-256, scrypt, PBKDF2, AES
Notes describe algorithm families, not any one project.