{"id":"MAL-2026-11768","revision":null,"records":[{"revision":"8dad5fd6999149e28bfbfce777fea5b9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-11768","aliases":["GHSA-3xw9-cf4f-q6cv"],"title":"Malicious code in @ornikar/react-modern-calendar-datepicker (npm)","description":"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 Math_Symbol.js / math_init.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.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b650ecc053ce4af33568b84d9b92223b1797bc8323eceb552ad8577d471401ce)\nThe 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.\n\n## Source: ghsa-malware (21d8b4344c43e47ef399073f43831bc24fd4820e04844d2622316cd057c70c1d)\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","state":0,"publishedAt":"2026-08-04T15:13:21+00:00","modifiedAt":"2026-08-05T03:19:53.4254244+00:00","affected":[{"ecosystem":"npm","name":"@ornikar/react-modern-calendar-datepicker","ranges":[],"versions":["3.2.1","3.2.2","3.2.3","3.2.4","3.2.5","3.2.6","3.2.7","3.2.8","3.2.9","3.2.10","3.2.11"],"rawVersionEvidence":null}],"metrics":[],"references":["https://socket.dev/blog/popular-npm-packages-in-the-keyv-and-cacheable-namespaces-compromised-in-active-supply-chain","https://www.aikido.dev/blog/keyv-and-friends-compromised-in-npm-supply-chain-attack","https://safedep.io/keyv-npm-supply-chain-compromise/","https://www.npmjs.com/package/@ornikar/react-modern-calendar-datepicker","https://github.com/advisories/GHSA-3xw9-cf4f-q6cv","https://www.npmjs.com/package/@ornikar/react-modern-calendar-datepicker/v/3.2.5","https://www.npmjs.com/package/@ornikar/react-modern-calendar-datepicker/v/3.2.11","https://www.npmjs.com/package/@ornikar/react-modern-calendar-datepicker/v/3.2.4","https://www.npmjs.com/package/@ornikar/react-modern-calendar-datepicker/v/3.2.6","https://www.npmjs.com/package/@ornikar/react-modern-calendar-datepicker/v/3.2.7","https://www.npmjs.com/package/@ornikar/react-modern-calendar-datepicker/v/3.2.10","https://www.npmjs.com/package/@ornikar/react-modern-calendar-datepicker/v/3.2.2","https://www.npmjs.com/package/@ornikar/react-modern-calendar-datepicker/v/3.2.9","https://www.npmjs.com/package/@ornikar/react-modern-calendar-datepicker/v/3.2.1","https://www.npmjs.com/package/@ornikar/react-modern-calendar-datepicker/v/3.2.8","https://www.npmjs.com/package/@ornikar/react-modern-calendar-datepicker/v/3.2.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-11768","license":"OSV · upstream source license applies","key":"osv:MAL-2026-11768","identifiers":["MAL-2026-11768","GHSA-3xw9-cf4f-q6cv"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-23T10:27:17.0420685+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-23T10:27:17.0420685+00:00","lastSuccessAt":"2026-11-23T10:27:17.3455273+00:00","error":null,"lastVerifiedAt":"2026-11-23T10:27:17.3455278+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-d008fb8e7e5a0f37166ee57a6d9d22b27e49b9d9438b4ce80c4c6c326ac5d75a-4da2658e28505d28fff6a82583fdd2805c842c2db68ba8203057a43f5c054d49","complete":true,"records":430604,"lastAttemptAt":"2026-11-23T10:25:33.576572+00:00","lastSuccessAt":"2026-11-23T10:25:33.5278746+00:00","error":null,"lastVerifiedAt":"2026-11-23T10:25:33.576572+00:00","snapshotPublishedAt":"2026-11-23T10:21:26+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-ea8ae025c3c2477690416cb0d841e4c0","complete":false,"records":13928,"lastAttemptAt":"2026-11-23T10:34:46.8118585+00:00","lastSuccessAt":"2026-11-23T10:34:46.8764369+00:00","error":null,"lastVerifiedAt":"2026-11-23T10:34:46.8764369+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-23T10:27:17.0420685+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-23T10:27:17.0420685+00:00","lastSuccessAt":"2026-11-23T10:27:17.3463529+00:00","error":null,"lastVerifiedAt":"2026-11-23T10:27:17.346353+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-6986a0970f4446f4869253ed98765e2d","complete":true,"records":13940,"lastAttemptAt":"2026-11-23T10:27:18.5797172+00:00","lastSuccessAt":"2026-11-23T10:27:18.577+00:00","error":null,"lastVerifiedAt":"2026-11-23T10:27:18.577+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13976,"expectedIdentifiers":13976,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-a9c862bcf8bde52ce182f69609f4579ca2fc6956e44f694dddf6a66800619683","complete":true,"records":9989,"lastAttemptAt":"2026-11-23T10:27:13.109079+00:00","lastSuccessAt":"2026-11-22T16:25:54.6432964+00:00","error":null,"lastVerifiedAt":"2026-11-23T10:27:13.109079+00:00","snapshotPublishedAt":"2026-11-22T16:18:32+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-23T10:25:33.6409661+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-23T10:25:33.6409661+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-9035327876399d833ccd89428db993d67e1ee675265fd15c191a68c5fa77f5a4","complete":true,"records":3216,"lastAttemptAt":"2026-11-23T10:27:16.996724+00:00","lastSuccessAt":"2026-11-23T10:27:16.8439398+00:00","error":null,"lastVerifiedAt":"2026-11-23T10:27:16.996724+00:00","snapshotPublishedAt":"2026-11-23T09:49:12+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-9fee8da2e967466c6e884db81aa523bbe4d6fc47473cfe7cd96a2b59dbbea25d","complete":true,"records":232876,"lastAttemptAt":"2026-11-23T10:27:12.985201+00:00","lastSuccessAt":"2026-11-23T10:27:11.9530843+00:00","error":null,"lastVerifiedAt":"2026-11-23T10:27:12.985201+00:00","snapshotPublishedAt":"2026-11-23T10:18:42+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}