MAL-2026-6694

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/thirdwebb/MAL-2026-6694.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6694
Aliases
  • GHSA-46px-g2r9-8vcr
Published
2026-06-30T00:00:00Z
Modified
2026-07-27T10:08:46Z
Summary
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.


-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (fd284ad2cc38caeba0c1f2c87f8b11e61eb1581d1fdff3b71cd4b1f1402f3bc3)

Package name 'thirdwebb' differs from the established 'thirdweb' SDK by a single trailing character, a classic typosquat shape against a popular Web3 SDK. No installer-harm behavior was observed in the package's code (no exfiltration, no install-time fetch-and-execute, no silent relay, no credential distribution). Name-similarity alone is a subjective signal that benefits from human assessment of intent before a public block is issued.

Source: ghsa-malware (f3690079037c6f809965ae7b4550b4a27bc961b344dfb424c75185b5a4b4bd85)

Any 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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-009000",
            "import_time": "2026-07-08T23:27:58.502129734Z",
            "modified_time": "2026-07-08T23:04:08Z",
            "sha256": "fd284ad2cc38caeba0c1f2c87f8b11e61eb1581d1fdff3b71cd4b1f1402f3bc3",
            "source": "amazon-inspector",
            "versions": [
                "0.0.8"
            ]
        },
        {
            "id": "GHSA-46px-g2r9-8vcr",
            "import_time": "2026-07-27T09:43:03.752734756Z",
            "modified_time": "2026-07-27T01:18:03Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "f3690079037c6f809965ae7b4550b4a27bc961b344dfb424c75185b5a4b4bd85",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / thirdwebb

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.0.8

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "thirdwebb-0.0.8.tgz",
            "hashes": {
                "sha1": "095af10e6bc5776582bec805e696e9657c697cf5",
                "sha512_sri": "sha512-1UcAN5eodZ229JeuqlNWN8qtaxnVQWsQCkOXqyVRIYSYj69OelwbyTO6+PANHM5xbtcN8VEpvyigvnEB/lpUkw=="
            }
        }
    ]
}
iocs
{
    "domains": [
        "log-taker.store"
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/thirdwebb/MAL-2026-6694.json"