VDB
KO

MAL-2026-6694

Malicious code in thirdwebb (npm)

Details

Malicious npm package published as part of a coordinated DeFi-themed infostealer campaign. `thirdwebb` is a typosquat of the legitimate `thirdweb` package. It uses a side-loader technique, pulling in `log-taker` as a transitive dependency; the infostealer runs automatically via that dependency's `postinstall` hook. The payload harvests cryptocurrency wallet vaults (MetaMask, Phantom, Solflare, OKX, Coinbase, TrustWallet, Backpack, TronLink), browser cookies and credentials, SSH keys, AWS credentials, `.npmrc` tokens, Docker config, shell history, and password manager databases, exfiltrating all data to the C2 domain `log-taker.store`.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / thirdwebb
Introduced in: 0

No fixed version published yet for thirdwebb (npm). Pin to a known-safe version or switch to an alternative.

References