thirdwebb (npm) · Malicious Code
Affects thirdwebbSource GCVE Database
Malicious package : remove thirdwebb and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 15:56 UTC
Malicious package
Published to npm · OSV MAL-2026-6694
What to do
Remove thirdwebb 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 |
|---|---|---|
| npmthirdwebb | 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 'thirdwebb' is a malicious typosquat of the legitimate 'thirdweb' package. It is part of a coordinated DeFi-themed infostealer campaign that uses a side-loader technique to pull in the 'log-taker' dependency. This dependency runs a postinstall hook that harvests sensitive data including cryptocurrency wallet vaults, browser cookies, credentials, SSH keys, AWS credentials, .npmrc tokens, Docker config, shell history, and password manager databases, exfiltrating them to a command-and-control domain.