wagmi_util (npm) · Malicious Code
Affects wagmi_utilSource GCVE Database
Malicious package : remove wagmi_util and rotate any secrets on hosts that installed it.
Data as of 2 Dec 2026, 13:18 UTC
Malicious package
Published to npm · OSV MAL-2026-6347
What to do
Remove wagmi_util 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
| Product | Affected | Fixed in |
|---|---|---|
| npmwagmi_util | Affected
| 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 'wagmi_util' impersonates the legitimate 'wagmi' package by copying its tagline, re-exporting its public API, and linking to the official site, but is published by an unrelated author. It declares a runtime dependency on 'sync-external@1.6.2' which is not used in its code, causing this dependency to be silently installed. This transitive dependency poses a malicious risk. Any system with this package installed should be considered fully compromised, and all secrets and keys must be rotated immediately. Removal of the package alone may not eliminate all malicious software resulting from its installation.