Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

viem

Latest version: v2.58.8

Overview

Last scanned
27 Nov 2026
Published
26 Nov 2026
npm package Publisher: awkweb, jmoxey
3,634 Stars
1,621 Forks
202 Versions
43.3M Downloads
TypeScript Repo language

Scan summary

viem was last scanned on 27 Nov 2026 at version 2.58.8. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 202 versions; the latest 5 were published on 26 Nov 2026.
  • Findings: No rules fired in version 2.58.8.
  • Downloads: 43,328,200 downloads.

Versions

202 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.58.8 LATEST 26 Nov 2026 No rules fired
0.0.0-27bbb24ec12b1415a9d51f0e26a292f31c20fd8a 26 Nov 2026 No rules fired
0.0.0-pr-5675-e8b64db 26 Nov 2026 No rules fired
0.0.0-pr-5675-9de6d64 26 Nov 2026 Not shown
2.58.7 26 Nov 2026 Not shown

No rules fired in 2.58.8

Findings

Findings for v2.58.8. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 2.58.8; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Features

  • Abstractions over the JSON-RPC API to make your life easier
  • First-class APIs for interacting with Smart Contracts
  • Language closely aligned to official Ethereum terminology
  • Import your Browser Extension, WalletConnect or Private Key Wallet
  • Browser native BigInt, instead of large BigNumber libraries
  • Utilities for working with ABIs (encoding/decoding/inspection)
  • TypeScript ready (infer types from ABIs and EIP-712 Typed Data)
  • First-class support for Anvil, Hardhat & Ganache
  • Test suite running against forked Ethereum network

... and a lot more.

Overview

// 1. Import modules.
import { createPublicClient, http } from 'viem';
import { mainnet } from 'viem/chains';

// 2. Set up your client with desired chain & transport.
const client = createPublicClient({
  chain: mainnet,
  transport: http(),
});

// 3. Consume an action!
const blockNumber = await client.getBlockNumber();

Documentation

Head to the documentation to read and learn more about viem.

Community

Check out the following places for more viem-related content:

Support

Sponsors

Contributing

If you're interested in contributing, please read the contributing docs before submitting a pull request.

Authors

License

MIT License

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm viem

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229