Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Part of a larger attack: @ornikar published 42 malicious packages. See the full campaign →
Malicious package

@ornikar/lerna-confignpm

@ornikar/lerna-config is a confirmed malicious npm package (MAL-2026-11763) that steals credentials and exfiltrates sensitive data (malicious versions 11.0.1, 11.0.2, 11.0.3…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @ornikar/lerna-config (npm)

MAL-2026-11763
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @ornikar/lerna-config

What this malware does

npm/@ornikar/lerna-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.

The package declares a preinstall lifecycle script (node setup.mjs) that automatically runs on npm install. setup.mjs is itself obfuscated with hex-mangled identifiers and proxy-object string maps; it detects platform/libc (musl via ldd --version and /etc/os-release), downloads a pinned Bun release archive from github.com/oven-sh/bun to a temporary directory, extracts the platform-specific bun binary (with a hand-rolled ZIP inflater fallback), chmods it 0o755, and execFileSyncs it against the sibling math_init.js. math_init.js is a 727KB @bun @bun-cjs bundle using a rotated numeric string-array decoder (identifiers n7gIxM, WV8StW) — the payload is executed under the smuggled Bun runtime, outside Node's normal load path. The file name math_init.js bears no relationship to the package's stated lerna-configuration purpose, and shipping a Bun runtime plus a large obfuscated bundle is not consistent with a lerna helper. This is the alternate-runtime-dropper pattern: an obfuscated preinstall script fetches an alternate runtime and uses it to execute an obfuscated bundle at install time, yielding user-level code execution on any machine running npm install.

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 versions

11 flagged
11.0.111.0.211.0.311.0.411.0.511.0.611.0.711.0.811.0.911.0.1011.0.11

Indicators of compromise (SHA-256)

1c99ef63fd31051e9151f7a6a15573fb57482a67654f96efb652c6577be4b005
ef93c663681446fe920d1baa4111c7c8b01556403b0c9f725fd3e9d464686521
2391df1680eda11f20ed83e7ddf6af5bc6cdeb12a5709f54b154dc5f3cbd117f
3ad95bb8b56d96896e5a2eff8c5a91afd2a650a1d5ec0dfe9c0b1d2aa8af2ae3
951fcf1607e4e5d5660ed4b431372cbae69a2dbeed9a5e8cb0f42cd9b604cebc
a10d374167dfc0250d6a79202ee4fa0697a05981086b864dfd73b35f2b2b4fa7
d89c5a7b0be2b04608fd49692110c40d0f1fc4ccc569cc58f76f1eb004af19dd
11b81dea357391db9b825cfabf714c67d42bf0dfae0972853ef747f3275c9d6b
625e39068f3e1ec68f93b58de93d3f5fe0e575e77462ffe3aa31acdeb35557f8
ae90df1746643bb544363175cd55213d6616f7d08b09044d6146a0f411fb20ba
ba7fce623a5b27df72d8820c9ac6f0cc21ddd50202ddb0df37739ba3191b7aeb

Detection & response playbook

Credential / info stealer
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for @ornikar/lerna-config (11 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging @ornikar/lerna-config across your stack and pipelines.

  2. If you installed it — respond

    @ornikar/lerna-config is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If @ornikar/lerna-config was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks @ornikar/lerna-config before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. @ornikar/lerna-config on npm has been identified as a malicious package (versions 11.0.1, 11.0.2, 11.0.3, 11.0.4, 11.0.5, 11.0.6, 11.0.7, 11.0.8, and 3 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-p68h-w5jg-ww55IN-MAL-2026-011733IN-MAL-2026-011668IN-MAL-2026-011904IN-MAL-2026-011901IN-MAL-2026-011899IN-MAL-2026-011739IN-MAL-2026-011737IN-MAL-2026-011601IN-MAL-2026-011902IN-MAL-2026-011743

References

Credits

  • Aikido Security · finder
  • Amazon Inspector · finder
  • SafeDep · finder
  • Socket Threat Research Team · finder

Detect & block this

O3 blocks @ornikar/lerna-config-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

@ornikar/lerna-config (npm) malicious package — MAL-2026-11763 | O3 Security