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

@ornikar/repo-confignpm

@ornikar/repo-config is a confirmed malicious npm package (MAL-2026-11771) that steals credentials and exfiltrates sensitive data (malicious versions 15.3.3, 15.3.4, 15.3.5…). Do not install it — remove it immediately and rotate any exposed credentials.

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

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

What this malware does

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

@ornikar/[email protected] declares a preinstall hook node setup.mjs that automatically runs on npm install. setup.mjs downloads the Bun runtime archive from https://github.com/oven-sh/bun/releases/download/bun-v1.3.13/ for the current architecture, extracts the bun binary to a temporary directory, chmods it executable (mode 0755), and then invokes execFileSync(bun, ['math_init.js']) to run a sibling file under the freshly downloaded runtime. The executed sibling math_init.js is a 727,680-byte Bun-compiled CJS bundle (header // @bun @bun-cjs, sha256 9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc) using a string-array rotation cipher (function WV8StW performing repeated push(shift()) rotations over a ~1400-entry constants table) with hex-mangled identifier names. The package's advertised purpose is a shared commitlint/prettier/husky repository configuration, which has no functional need for the Bun runtime, a math_init.js file, or a 700 KB obfuscated bundle. Executing an opaque payload under an alien runtime downloaded at install time — chosen because Node-based tooling cannot introspect Bun-compiled bytecode — is the alternate-runtime-dropper pattern: attacker-benefiting code runs on the installer's machine before any user action, with content that cannot be reviewed statically.

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
15.3.315.3.415.3.515.3.615.3.715.3.815.3.915.3.1015.3.1115.3.1215.3.13

Indicators of compromise (SHA-256)

45c98b53572b028884c04701bbe7d604f2fbbc6051abece6bc41acdcf725c4ff
b23e7d73dd3004ced0a02862dc118ab5f3a15e65bece8380be0fc599acdfe1e5
79949c254f4795c1cc7e151bddf18a10099a351bd64714b381103659a12fbe1a
e2589d8fffa0ca29c103efc2d6c1fa424e3069f5b97e06bdb11c698949336649
f946258ee9f2e38b8946c62b77493c99c112ad8d8d88a03eb2184a6b341a1674
0959da1ed9e510fc6685601234b3b6b1e69fb2fe32c1ed1668da191afc28b109
2df907b7567e761727f4cfd6c6749db66e41f7e14396b2a2e877677674a11b6d
3b6964d95faf658bd84e68c153f8d3d1b89cd0406d88b84eb79d399f07e3a785
497de247f6703ebb23a4ad3b729c068de8d2ad90ea2bf5b0413cd3b0de6f23e3
4c50c24ae5a48ebc136c6e74a9610839ff2ec2c257666314f5e9c69f7b61e535
71be64bd9881972abcfb988b01183ea6c2d38ccf0ae7517a06747f5f0d2246af
a70e6447f593e1fea6449fe98240d04f8a3da5072988ca7176ca154640841c75

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

  2. If you installed it — respond

    @ornikar/repo-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/repo-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/repo-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/repo-config on npm has been identified as a malicious package (versions 15.3.3, 15.3.4, 15.3.5, 15.3.6, 15.3.7, 15.3.8, 15.3.9, 15.3.10, and 3 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-m8wp-v685-2qrjIN-MAL-2026-011933IN-MAL-2026-011937IN-MAL-2026-011934IN-MAL-2026-011932IN-MAL-2026-011931IN-MAL-2026-011720IN-MAL-2026-011938IN-MAL-2026-011928IN-MAL-2026-011926IN-MAL-2026-011721IN-MAL-2026-011935

References

Credits

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

Detect & block this

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