thirdwb (npm) · Malicious Code
Affects thirdwbSource GCVE Database
Malicious package : remove thirdwb 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-6693
What to do
Remove thirdwb 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 |
|---|---|---|
| npmthirdwb | 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 'thirdwb' version 0.0.8 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 a malicious transitive dependency 'log-taker'. This dependency executes a postinstall hook that runs an infostealer payload. The payload harvests sensitive data including cryptocurrency wallet vaults, browser cookies and credentials, SSH keys, AWS credentials, .npmrc tokens, Docker configuration, shell history, and password manager databases, exfiltrating all data to a command and control domain.