Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceComponentsnpm

viem

TypeScript Ethereum interface with secp256k1 local accounts, BIP-39 and BIP-32 accounts, WebAuthn P-256 accounts, and Keccak-256, SHA-256 and RIPEMD-160 utilities.

In short

What to know.

Algorithms
ECDSA on secp256k1, ECDSA on P-256, Keccak-256, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512) and 2 more2 of 6 would be broken by a large quantum computer.
Advisories
None in the storeOSV last read 3 December 2026, 16:49 UTC.
What to do
Plan a move away from ECDSA on secp256k1, ECDSA on P-256 before large quantum computers exist.

0 in the store

Advisories

No advisory in the store for this package.

OSV listed none on 3 December 2026, 16:49 UTC. That does not mean the package has no problems.

Reviewed 3 December 2026

Sources

  1. npm registry metadata for viemregistry.npmjs.orgRetrieved 3 December 2026
  2. viem keccak256 documentationviem.shRetrieved 3 December 2026
  3. viem mnemonicToAccount documentationviem.shRetrieved 3 December 2026
  4. viem WebAuthn account documentationviem.shRetrieved 3 December 2026

Full record

Package
viem
Ecosystem
npm
Role
Toolkit
Status
Not marked deprecated by its registry or maintainers.
Notes
P-256 signatures come from the WebAuthn authenticator. KZG blob utilities need an external KZG implementation passed to setupKzg, so KZG is not listed.
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
No finding refers to this package yet.

Algorithms it provides

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, ECDSA on P-256
  • Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.Keccak-256, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512), RIPEMD-160, PBKDF2

Notes describe algorithm families, not any one project.