npm package report

Is @solana/web3.js safe?

This package is in our known-malicious corpus. Details below.

Flagged as malicious

  • rat_dropper, affects all versions
cvss
8.3

how bad it is if exploited, out of 10

epss
0.50%

chance of exploitation in the next 30 days

xyz score
4.2

CyberXYZ composite, out of 10

fig. 01 — GHSA-jcxm-7wvp-g6p5, the advisory selected below

// advisories

GHSA-jcxm-7wvp-g6p5

HIGHCVE-2024-54134

Earlier today, a publish-access account was compromised for @solana/web3.js, a JavaScript library that is commonly used by Solana dapps. This allowed an attacker to publish unauthorized and malicious packages that were modified, allowing them to steal private key material and drain funds from dapps, like bots, that handle private keys directly. This issue should not affect non-custodial wallets, a

Affected
>= 1.95.6, < 1.95.8
Fixed in
1.95.8
Weakness
CWE-200
Published
2024-12-04
Source
github

GHSANVDMITREreferencereference


// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


Checked 2026-09-22 at 03:45 UTC. The most recent advisory here was published 2024-12-04. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.
Is @solana/web3.js safe? npm package security report | CyberXYZ