MAL-2026-11746

    Dashboard / Malicious Package / MAL-2026-11746

    MAL-2026-11746

    Published: 4 Aug 2026Last Modified: 5 Aug 2026Aliases: 
    GHSA-2gh5-m3gp-wvx5

    Summary: Malicious code in @ornikar/eslint-config-babel (npm)

    Details: npm/@ornikar/eslint-config-babel 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 (d836131f0fe2465c18d968962ad1c738babf36a6eb54c4eeae6398fe9cf366cc) package.json declares `preinstall: node setup.mjs`. setup.mjs is an obfuscator.io-style script (hex-mangled identifiers, string-lookup dictionaries containing values like `ldd`, `/etc/os-release`, `Alpine`, `unzip`, `powershell`, `Expand-Archive`). It detects platform, architecture, and glibc-vs-musl, downloads a matching Bun 1.3.13 binary zip from github.com/oven-sh/bun releases into a temp directory, extracts it, chmods 0755, and then executes the sibling file `math_init.js` under the freshly-downloaded Bun runtime. `math_init.js` is a 727 KB `// @bun @bun-cjs` compiled bundle with hex-name identifiers, a rotated string-array decoder (`WV8StW` with a ~1000-entry constants table `n7gIxM`), and an alphabet-decoder (`hc1jfK9`); it is the executable payload of the preinstall hook. The stated purpose of the package is a shared ESLint config, which does not require fetching a second language runtime or shipping a large obfuscated bundle. Running the payload under Bun rather than Node means Node-based source review of the shipped code does not observe the executed logic. Package name resembles the legitimate `@ornikar/eslint-config-*` scope but the shipped contents do not match that purpose. Source: ghsa-malware (d751468dcef671c864f851819eb73b3e02c9c384da2da2bf50d68bb46200b44b) 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 packages

    Package

    Name: @ornikar/eslint-config-babel

    Purl: pkg:npm/%40ornikar/eslint-config-babel

    Affected ranges

    Type: N/A

    Events:

    Introduced- None
    Fixed -None

    Affected versions

    24.0.1
    24.0.2
    24.0.3
    24.0.4
    24.0.5
    24.0.6
    24.0.7
    24.0.8
    24.0.9
    24.0.10
    24.0.11
    24.0.12
    MAL-2026-11746 | CVE-DB