{"id":"MAL-2026-6693","summary":"Malicious code in thirdwb (npm)","details":"Malicious npm package published as part of a coordinated DeFi-themed infostealer campaign. `thirdwb` 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`.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (46722968fbda27cc58821cf8eb055f9c299d3984f794bc6c8554183a11f71304)\nThe package was found to contain malicious code or consuming dependency that contains malicious code\n\n## Source: ghsa-malware (7004be2aa6329c3eddda9d9809f0f87e06a14d60ddf9ad3f25b06675c1df6a83)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","aliases":["GHSA-ccmq-q5j8-hvxc"],"modified":"2026-07-27T10:08:46.494483726Z","published":"2026-06-30T00:00:00Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-07-08T22:49:12Z","versions":["0.0.8"],"source":"amazon-inspector","sha256":"46722968fbda27cc58821cf8eb055f9c299d3984f794bc6c8554183a11f71304","import_time":"2026-07-08T22:51:32.947275766Z","id":"IN-MAL-2026-008897"},{"sha256":"7004be2aa6329c3eddda9d9809f0f87e06a14d60ddf9ad3f25b06675c1df6a83","import_time":"2026-07-27T09:43:03.789521181Z","id":"GHSA-ccmq-q5j8-hvxc","modified_time":"2026-07-27T01:17:59Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"source":"ghsa-malware"}]},"references":[{"type":"REPORT","url":"https://safedep.io/defi-infostealer-fake-arbitrage-bot-npm/"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/thirdwb/v/0.0.8"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-ccmq-q5j8-hvxc"}],"affected":[{"package":{"name":"thirdwb","ecosystem":"npm","purl":"pkg:npm/thirdwb"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.0.8"],"database_specific":{"iocs":{"domains":["log-taker.store"]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/thirdwb/MAL-2026-6693.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"package_integrity":[{"filename":"thirdwb-0.0.8.tgz","hashes":{"sha1":"aa18cdf56eb18c40e6ede5201a875c3efbffb90a","sha512_sri":"sha512-lk+E829H5jCtiIlXtcdlHR7zpcuKwqvnK2SWQIS2fyez8MLx4kVTLNYRhvaXmguyuI3HO69H/7fp1qF6Ds08ag=="}}]}}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"SafeDep","contact":["https://safedep.io"],"type":"FINDER"}]}