MAL-2026-6347 Malicious code in wagmi_util (npm)

Malicious package Published
Package
wagmi_util
Registry
npm

What is MAL-2026-6347?

MAL-2026-6347 is a malicious package in wagmi_util, published on 23 Jun 2026.

Official description

Package wagmi_util impersonates the popular wagmi package: it copies wagmi's tagline ("React Hooks for Ethereum"), re-exports wagmi's full React-hooks public API (WagmiProvider, useConnect, useWalletClient, useSignMessage, useSendTransaction, useWriteContract, etc.), and links to wagmi.sh in JSDoc — while being published by an unrelated author with no legitimate wagmi_util package existing under the wevm namespace. The package.json declares a runtime dependency on [email protected], but no source file in the package imports sync-external; every internal use of useSyncExternalStoreWithSelector imports the legitimate use-sync-external-store/shim/with-selector.js instead. Installing wagmi_util therefore silently pulls [email protected] into the installer's dependency tree even though the wrapper's own code never loads it. The wrapper itself is clean re-exports of wagmi; the attack surface is the unused-but-pinned transitive, which a developer choosing a wagmi-adjacent utility would not expect to receive.

What should I do about MAL-2026-6347?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2026-6347 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free