Malicious code in thirdwb (npm)
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.
AI Analysis
Technical Summary
The 'thirdwb' npm package (version 0.0.8) is a malicious package designed to impersonate the legitimate 'thirdweb' package. It employs a side-loading technique by including 'log-taker' as a transitive dependency, which triggers a postinstall hook executing an infostealer payload. This payload collects a wide range of sensitive information such as cryptocurrency wallet vaults (including MetaMask, Phantom, Solflare, OKX, Coinbase, TrustWallet, Backpack, TronLink), browser cookies and credentials, SSH keys, AWS credentials, .npmrc tokens, Docker configuration files, shell history, and password manager databases. All harvested data is exfiltrated to the command and control domain 'log-taker.store'. The package was identified by Amazon Inspector as containing malicious code or dependencies. No CVSS score or known exploits in the wild are reported.
Potential Impact
This malicious package compromises the confidentiality of sensitive user data by stealing cryptocurrency wallets, credentials, keys, tokens, and other sensitive configuration files. The exfiltration of this data to an attacker-controlled domain can lead to theft of digital assets, unauthorized access to cloud and development environments, and broader compromise of user systems and accounts.
Mitigation Recommendations
No official patch or remediation is available for this malicious package. The best mitigation is to avoid installing the 'thirdwb' package version 0.0.8 and to verify the authenticity of npm packages before installation, especially those with names similar to popular packages. Users should audit their environments for the presence of this package and remove it if found. Additionally, review and rotate any potentially compromised credentials or keys if this package was installed.
Malicious code in thirdwb (npm)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'thirdwb' npm package (version 0.0.8) is a malicious package designed to impersonate the legitimate 'thirdweb' package. It employs a side-loading technique by including 'log-taker' as a transitive dependency, which triggers a postinstall hook executing an infostealer payload. This payload collects a wide range of sensitive information such as cryptocurrency wallet vaults (including MetaMask, Phantom, Solflare, OKX, Coinbase, TrustWallet, Backpack, TronLink), browser cookies and credentials, SSH keys, AWS credentials, .npmrc tokens, Docker configuration files, shell history, and password manager databases. All harvested data is exfiltrated to the command and control domain 'log-taker.store'. The package was identified by Amazon Inspector as containing malicious code or dependencies. No CVSS score or known exploits in the wild are reported.
Potential Impact
This malicious package compromises the confidentiality of sensitive user data by stealing cryptocurrency wallets, credentials, keys, tokens, and other sensitive configuration files. The exfiltration of this data to an attacker-controlled domain can lead to theft of digital assets, unauthorized access to cloud and development environments, and broader compromise of user systems and accounts.
Mitigation Recommendations
No official patch or remediation is available for this malicious package. The best mitigation is to avoid installing the 'thirdwb' package version 0.0.8 and to verify the authenticity of npm packages before installation, especially those with names similar to popular packages. Users should audit their environments for the presence of this package and remove it if found. Additionally, review and rotate any potentially compromised credentials or keys if this package was installed.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6693
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4f6c6768715ace4315a3fb
Added to database: 07/09/2026, 09:39:51 UTC
Last enriched: 07/09/2026, 10:04:49 UTC
Last updated: 07/27/2026, 04:53:56 UTC
Views: 17
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.