OpenSSF/OSV advisory MAL-2026-11776 confirms this npm version as malicious. npm/@ornikar/slate-react-fork 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...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in @ornikar/slate-react-fork (npm)
Details
npm/@ornikar/slate-react-fork 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.
---
## Source: amazon-inspector (937bb579c18b19def051dbb47d3b41b4450e2523868d3756abf2ccea96aefcd8) The package declares `preinstall: node setup.mjs`. setup.mjs downloads the Bun runtime from https://github.com/oven-sh/bun/releases/download/bun-v1.3.13/<platform>.zip, extracts it to a temp directory, chmod+x's the binary, and invokes it via execFileSync against a sibling file `math_init.js` shipped in the tarball. math_init.js is a ~727 KB heavily obfuscated Bun-CJS bundle (rotated string-array constant pool with a WV8StW rotator function and an hc1jfK9 base64-alphabet string decoder, hex-named variables) — a shape characteristic of dropper/stealer payloads. The Bun-only entrypoint means the payload is never parsed or executed by Node, evading Node-based install-time scanners. The package advertises itself as a slate-react fork (a pure React library), which has no legitimate need to pull an alternate JavaScript runtime at install time or execute an opaque 727 KB obfuscated blob. Package metadata compounds the concern: the scope `@ornikar/*` implies an Ornikar-maintained fork, but `repository` points at git://github.com/CorentinAndre/slate.git (an unrelated personal account), while dist/ mirrors upstream slate-react and setup.mjs / math_init.js are unrelated to the advertised library.
## Source: ghsa-malware (bf87d59e07eaf9455d02fdf2896079b9931c3044f4c3a57eb9dc06e63269fde8) 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.