Skip to main content
MalwarePublished

uniswap-sdk-v4 (npm) · Malicious Code

Affects uniswap-sdk-v4Source GCVE Database

0

Malicious package : remove uniswap-sdk-v4 and rotate any secrets on hosts that installed it.

Data as of 5 Aug 2026, 17:39 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12490

What to do

Remove uniswap-sdk-v4 from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmuniswap-sdk-v4Affected
  • =1.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'uniswap-sdk-v4' version 1.0.0 is a malicious typosquat of the legitimate Uniswap SDK. It contains code that captures the private key supplied to its WalletClient constructor and sends it to a hardcoded third-party webhook, resulting in full wallet compromise upon instantiation. The destination webhook URL is fixed and not configurable by the user.

References

Community reviews

Loading reviews…