Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

@ornikar/webpack-confignpm

@ornikar/webpack-config is a confirmed malicious npm package (MAL-2026-11780) that steals credentials and exfiltrates sensitive data (malicious versions 12.0.2, 12.0.3, 12.0.4…). Do not install it — remove it immediately and rotate any exposed credentials.

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

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

What this malware does

npm/@ornikar/webpack-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 itself as a webpack configuration helper but ships no webpack code: package.json's declared main index.js is absent from the tarball, README is a 50-byte stub, and the tarball's substantive contents are an install-time dropper. package.json declares scripts.preinstall = "node setup.mjs", which fires automatically on npm install. setup.mjs is itself obfuscated (_0xNNNN identifiers, string-map indirection), downloads the Bun runtime from github.com/oven-sh/bun/releases/download/bun-v<ver>/<arch>.zip, extracts the bun binary to a temp directory, chmods it executable, and then invokes it via execFileSync to run the bundled 727KB math_init.js. math_init.js is a single-line string-array-VM-obfuscated bundle (// @bun @bun-cjs prefix, shuffled constant array n7gIxM, rotation function WV8StW, custom-alphabet decoder) whose behavior is opaque to Node-based supply-chain scanners because execution is routed through Bun. The purpose is undocumented and unrelated to webpack configuration. The identity/contents mismatch (webpack-config name, no webpack code, dominant content is an obfuscated Bun-driven payload) is consistent with a maintainer-account or publish-token compromise republishing the package name with an attacker payload.

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
12.0.212.0.312.0.412.0.512.0.612.0.712.0.812.0.912.0.1012.0.1112.0.12

Indicators of compromise (SHA-256)

a0b158187367b485679f3207760041ce850fa288f1639c0e2c3fc49c8952720d
47f07e90ae54a6bffbdb5ebf4505c0a3dc4362227855b9b749f9ed811f4f1c7a
59a0e74ed2c644d45b55b807070f5fde363359531eea3d813d379132d7f2ada5
5f4d3c1210d42ab5631f2c2aabbf148e8e669ec784861d0badf3a75ab7165a9a
7648b6c4cd2c38656c9b4fbfb0445d2249eafbe76609d14b00b9a372762c2d85
a0f8a697dae174cc1f1e0e76112683bc22e594972a3698714af850a8a495d91c
b66b9273b23899deff6ff4bf0adc80c1a132b2565609fd099410ef85f0642e59
ec86f1f38ebb2d78d2e13a2275dc73e0713af2195b33575ee06ab20529cfd9dc
4107921b226fab8448c48d408a73142cd0594c97a7a7df6f26b56dacac0f9cab
55fa2718324523c3bd09cd48a141cbb004ec8b67e4124422371300377b71c587
931c065c1330a9e2089c970e09c7c3c807bcf95f1cf160aeecbbd1654d781d10
dd4cd021a4f54421a3e0f6abbd0bd60bc54dd3a8dd0b7f96ce512c84bf5453ff

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

  2. If you installed it — respond

    @ornikar/webpack-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/webpack-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/webpack-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/webpack-config on npm has been identified as a malicious package (versions 12.0.2, 12.0.3, 12.0.4, 12.0.5, 12.0.6, 12.0.7, 12.0.8, 12.0.9, and 3 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-2pgp-wr8q-rh6xIN-MAL-2026-011683IN-MAL-2026-011805IN-MAL-2026-011547IN-MAL-2026-011792IN-MAL-2026-011545IN-MAL-2026-011800IN-MAL-2026-011543IN-MAL-2026-011787IN-MAL-2026-011685IN-MAL-2026-011546IN-MAL-2026-011590

References

Credits

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

Detect & block this

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