MAL-2026-11770

    Dashboard / Malicious Package / MAL-2026-11770

    MAL-2026-11770

    Published: 4 Aug 2026Last Modified: 5 Aug 2026Aliases: 
    GHSA-3fx4-3g78-p27c

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

    Details: npm/@ornikar/renovate-config 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 (8b226da25a7626f2450178535e44f2cf436ca9625ca79481e67eb1e8fceca943) This version of @ornikar/renovate-config is advertised as a Renovate shared JSON configuration preset but ships a preinstall script that turns install time into arbitrary code execution. On `npm install`, package.json's `preinstall` runs `node setup.mjs`, which builds a URL to github.com/oven-sh/bun/releases, downloads a platform-specific Bun runtime archive, extracts the `bun` binary, chmods it 0755, and then runs `execFileSync(bun, [math_init.js])` against a 727KB sibling file. Both setup.mjs and math_init.js are heavily obfuscated: setup.mjs uses obfuscator.io-style `_0xNNNN` identifiers and string-property maps hiding literals such as `"bun"`, `"/etc/os-release"`, and `"musl"`; math_init.js is a shuffled numeric string-array with a rotated-charset decoder function, hiding all real behavior from inspection. Fetching an alternate language runtime for the sole purpose of executing an opaque, obfuscated sibling blob under it — bypassing Node-oriented scanners — is the alternate-runtime-dropper pattern. A configuration-only preset (whose actual deliverable is the `renovate-config` JSON field in package.json) has no legitimate need for a lifecycle hook, child_process, HTTPS downloads, archive extraction, chmod, or a 727KB obfuscated JS payload; the install-time surface is entirely unrelated to the advertised deliverable, consistent with a compromised or malicious publish rather than legitimate maintenance. Source: ghsa-malware (cf6bc4541656e35562fbd467a81f9556bdf069f7c6f1ce503ac022b34ee6141e) 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/renovate-config

    Purl: pkg:npm/%40ornikar/renovate-config

    Affected ranges

    Type: N/A

    Events:

    Introduced- None
    Fixed -None

    Affected versions

    9.0.2
    9.0.3
    9.0.4
    9.0.5
    9.0.6
    9.0.7
    9.0.8
    9.0.9
    9.0.10
    9.0.11
    9.0.12
    9.0.13
    MAL-2026-11770 | CVE-DB