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/jest-confignpm

@ornikar/jest-config is a confirmed malicious npm package (MAL-2026-11758) that steals credentials and exfiltrates sensitive data (malicious versions 13.0.3, 13.0.4, 13.0.5…). Do not install it — remove it immediately and rotate any exposed credentials.

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

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

What this malware does

npm/@ornikar/jest-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 advertises a Jest preset (main: jest-preset.js) but ships a preinstall script (scripts.preinstall = "node setup.mjs") that, on npm install, probes for a local bun binary and — if absent — downloads a Bun release archive from github.com/oven-sh/bun/releases, extracts it to a temp directory, chmods it executable, and runs it against a shipped 720KB math_init.js file. setup.mjs itself uses obfuscator-style identifiers (_0xNNNN naming, string-object indirection) to hide the download-and-exec logic. math_init.js begins with // @bun @bun-cjs and consists of a shuffled numeric/string constant array with a rotator function and mangled identifiers; no source form of it is shipped. The runtime and the executed payload have no relation to a Jest configuration preset, and the upstream ornikar/shared-configs repository history for this package does not describe any Bun-based initialization. Installing this version causes arbitrary attacker-shipped code to run on the installer's machine under a Bun runtime fetched at install time, using the alternate-runtime-dropper pattern to bypass Node-focused inspection.

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
13.0.313.0.413.0.513.0.613.0.713.0.813.0.913.0.1013.0.1113.0.1213.0.13

Indicators of compromise (SHA-256)

b9caf93498e1b02057c626402fc902026477391918dbba3f18d92f51f39e4392
d8261c4695679f49b46b7c1c70a4d331cff0ebea16a221f1c76d8a4b1fea3378
40e47cf92323778a69d5191a16ae24f6325d9691d753f3e64d2b9af827e81e7a
41a3202d317a212caafa2ede1e13787c1341154a8faa6773fbfaa7d12f352773
457e405853dfeeb410cf06bc20b7afdda4ef4b227fe0859d2476782b6fa0826a
e13f49b8edf5145880dc3c24ff77e6ffb4b22355d017af5a26918b944515ec21
e3221c431a918bd68dfc982c0de99035db37f43f1a6f7ed77a15e28aafe42112
410b4d3988f49d44d4171ae78e424ca3ef2eb6dc43b734f1dd64d54d8e63f2d5
88e2e43e7296494caffc37ff16fa970c6118cf3fb671310faf2135e70e3fdec8
8e6e1a5fd7afdae82a3b501bb282cd4abafb9104545ee18478f199949f66ed6d
b56318a8db4de6acc2f7800d8efdfd9a7bd513ce8e2584d6efd753a302259ef2
e9b4c7f2e79c288f994a0fdf3fbb865557dd4f44ce08ad02b507311d5f9a2efa

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/jest-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/jest-config across your stack and pipelines.

  2. If you installed it — respond

    @ornikar/jest-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/jest-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/jest-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/jest-config on npm has been identified as a malicious package (versions 13.0.3, 13.0.4, 13.0.5, 13.0.6, 13.0.7, 13.0.8, 13.0.9, 13.0.10, and 3 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-mmqv-gqg9-h67hIN-MAL-2026-011378IN-MAL-2026-011859IN-MAL-2026-011860IN-MAL-2026-011857IN-MAL-2026-011852IN-MAL-2026-011858IN-MAL-2026-011851IN-MAL-2026-011671IN-MAL-2026-011760IN-MAL-2026-011762IN-MAL-2026-011759

References

Credits

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

Detect & block this

O3 blocks @ornikar/jest-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/jest-config (npm) malicious package — MAL-2026-11758 | O3 Security