npm/@ornikar/react-modern-calendar-datepicker is affected by the large-scale, self-propagating npm supply-chain worm of 2026-08-04 (the "Shai-Hulud: Here We Go Again" wave) — the same campaign that began with the compromise of the keyv and cacheable maintainer account. The listed version(s) were trojanized and republished by the worm after it reached an npm publish token belonging to a maintainer in this namespace; the payload enumerates every package a stolen token controls and republishes each with the same hook, so many packages under this scope were poisoned in the same short window. Every poisoned release adds a preinstall hook ("preinstall": "node setup.mjs") that runs on a bare npm install, before any project code. setup.mjs downloads a standalone Bun runtime and runs a byte-identical, heavily obfuscated ~728 KB second-stage credential stealer (shipped as MathSymbol.js / mathinit.js). It harvests GitHub, npm, AWS, GCP, Azure, HashiCorp Vault and Kubernetes credentials plus generic secrets and private keys (TruffleHog-style sweep), reads CI/CD secrets and identifies build runners, then republishes further packages the stolen token can reach. Rather than a fixed command-and-control host, it exfiltrates stolen findings to attacker-created GitHub repositories (descriptions reading "Shai-Hulud: Here We Go Again") and over DNS. Treat any environment that installed an affected version (with install scripts enabled) as compromised: rotate and revoke all reachable credentials (npm and GitHub tokens, cloud keys, Vault/Kubernetes secrets, and CI org/repo secrets). Part of the August 2026 npm worm that poisoned 400+ packages across many organizations.
-= Per source details. Do not edit below this line.=-
The package declares a preinstall lifecycle hook (node setup.mjs) that downloads the Bun runtime from oven-sh GitHub releases into a temporary directory, chmods it executable, and invokes it via execFileSync against a 727KB bundled file math_init.js. The preinstall loader setup.mjs is written with hex-scrambled identifiers and control-flow obfuscation helper objects that wrap every string literal in an accessor, and probes /etc/os-release and ldd --version for Alpine/musl to select a matching Bun build. The payload math_init.js is a @bun @bun-cjs bundle with a shuffled numeric/string array and a rotating decoder (WV8StW) that mutates the array on each call, with heavily mangled identifiers; it is loaded exclusively under the Bun runtime the preinstall drops and is not referenced from the package's advertised main (lib/index.js). A React date-picker library has no functional need for a second language runtime or for executing an obfuscated sibling script at install time; the delivery chain — obfuscated lifecycle loader + alternate-runtime fetch + execution of an obfuscated bundled payload unrelated to the advertised purpose — is the alternate-runtime-dropper pattern, and npm install of this version runs the payload on the installer's host.
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.
{
"malicious-packages-origins": [
{
"import_time": "2026-08-05T00:10:17.869741192Z",
"modified_time": "2026-08-04T16:45:49Z",
"sha256": "21d8b4344c43e47ef399073f43831bc24fd4820e04844d2622316cd057c70c1d",
"source": "ghsa-malware",
"id": "GHSA-3xw9-cf4f-q6cv",
"versions": [
"3.2.11",
"3.2.10",
"3.2.9",
"3.2.8",
"3.2.7",
"3.2.6",
"3.2.5",
"3.2.4",
"3.2.3",
"3.2.2",
"3.2.1"
]
},
{
"import_time": "2026-08-05T03:11:30.678101525Z",
"modified_time": "2026-08-05T02:06:50Z",
"sha256": "cfa8b3c561982f901be85a244e1f54b9c61e76277a6bfef477db372e118c8099",
"source": "amazon-inspector",
"id": "IN-MAL-2026-011643",
"versions": [
"3.2.5"
]
},
{
"import_time": "2026-08-05T03:11:23.631152078Z",
"modified_time": "2026-08-05T01:58:04Z",
"sha256": "d841bd265b4107541a0b3da0266f027c56bf268959984462821b3e055e425fd9",
"source": "amazon-inspector",
"id": "IN-MAL-2026-011581",
"versions": [
"3.2.11"
]
},
{
"import_time": "2026-08-05T03:11:21.875061415Z",
"modified_time": "2026-08-05T01:56:27Z",
"sha256": "dd636ce6cf489f6731583c83f34b3b1e82cb7300151b094c02f4aab14e9d1f9f",
"source": "amazon-inspector",
"id": "IN-MAL-2026-011569",
"versions": [
"3.2.4"
]
},
{
"import_time": "2026-08-05T03:11:30.5574687Z",
"modified_time": "2026-08-05T02:06:37Z",
"sha256": "f358f3a7074669e50440f6575541e4bfdd47daaaf2d1369fefafe650e37670a4",
"source": "amazon-inspector",
"id": "IN-MAL-2026-011642",
"versions": [
"3.2.6"
]
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T03:11:30.464006428Z",
"sha256": "088406371898a3d3b699b232787df018d4cdc2d0d904ad0a2045244b21adb3ca",
"modified_time": "2026-08-05T02:06:28Z",
"id": "IN-MAL-2026-011641",
"versions": [
"3.2.7"
]
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T03:11:50.832676944Z",
"sha256": "495dbfc6a6f4450cb718d46889dbc08afa47a816f95c5c5386500e621df7c3b6",
"modified_time": "2026-08-05T02:33:58Z",
"id": "IN-MAL-2026-011833",
"versions": [
"3.2.10"
]
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T03:11:22.002301447Z",
"sha256": "60008fee4ae6b67116174277483c18393e869b0cf502a42aba211aeac6693c9a",
"modified_time": "2026-08-05T01:56:34Z",
"id": "IN-MAL-2026-011570",
"versions": [
"3.2.2"
]
},
{
"import_time": "2026-08-05T03:11:51.402809561Z",
"modified_time": "2026-08-05T02:34:43Z",
"sha256": "197b5b093e4a5eefd263725cef56439a9aae7f2b13769bf99068fd8839abb945",
"source": "amazon-inspector",
"id": "IN-MAL-2026-011838",
"versions": [
"3.2.9"
]
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T03:11:30.78838304Z",
"sha256": "b462149e611f1dc0c3de8111ef8616b5212e2fd335652dfd893c89870c22acac",
"modified_time": "2026-08-05T02:06:59Z",
"id": "IN-MAL-2026-011644",
"versions": [
"3.2.1"
]
},
{
"import_time": "2026-08-05T03:11:44.105817576Z",
"modified_time": "2026-08-05T02:24:58Z",
"sha256": "b650ecc053ce4af33568b84d9b92223b1797bc8323eceb552ad8577d471401ce",
"source": "amazon-inspector",
"id": "IN-MAL-2026-011770",
"versions": [
"3.2.8"
]
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T03:11:50.949524792Z",
"sha256": "b75db2c103844f5199f1d0dca78820e7908c103b8dc15facd58f995eeda3af07",
"modified_time": "2026-08-05T02:34:05Z",
"id": "IN-MAL-2026-011834",
"versions": [
"3.2.3"
]
}
],
"iocs": {
"files": [
{
"paths": [
"setup.mjs"
],
"source": "PACKAGE_ARCHIVE",
"note": "Stage 1 loader added to the package tarball and run via the preinstall script 'node setup.mjs'. Downloads a standalone Bun runtime and executes the second stage under it."
},
{
"source": "PACKAGE_ARCHIVE",
"paths": [
"Math_Symbol.js",
"math_init.js"
],
"note": "Stage 2 payload: byte-identical, heavily obfuscated ~728 KB Bun-bundle credential stealer, shipped in the tarball as Math_Symbol.js and executed at runtime as math_init.js."
}
]
}
}[
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
}
]
{
"package_integrity": [
{
"filename": "react-modern-calendar-datepicker-3.2.5.tgz",
"hashes": {
"sha512_sri": "sha512-9Zg5WbzNiXnvAYTgoym1MdrSPGviZqtHUlngEiXDXHEl2wzwddHuFFmpdFHuX5Dp76sEkeWd258OraA3TOx1sw==",
"sha1": "9198a6372efc4ab9673afc53d817363501d86041"
}
}
],
"evidence_files": [
{
"tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be",
"sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
"path": "setup.mjs"
},
{
"tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d",
"sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
"path": "math_init.js"
},
{
"tlsh": "6251ca20cd24cde31ae942a8947d1693b02a984b4d46fc4c73a5a32c8f5d35f32f9a6d",
"sha256": "5216a6d0eb409b31e8f89624dab41c0eabdb204c54d86ab2888848bfd62bc5a2",
"path": "package.json"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ornikar/react-modern-calendar-datepicker/MAL-2026-11768.json"