MAL-2026-11757Malicious code in @ornikar/intl-config (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @ornikar/intl-config | 10.0.10 |
| npm | @ornikar/intl-config | 10.0.2 |
| npm | @ornikar/intl-config | 10.0.3 |
| npm | @ornikar/intl-config | 10.0.4 |
| npm | @ornikar/intl-config | 10.0.5 |
| npm | @ornikar/intl-config | 10.0.6 |
| npm | @ornikar/intl-config | 10.0.7 |
| npm | @ornikar/intl-config | 10.0.8 |
| npm | @ornikar/intl-config | 10.0.9 |
{"schema_version":"1.7.4","id":"MAL-2026-11757","published":"2026-08-04T15:12:46Z","modified":"2026-08-18T00:30:48.462464803Z","aliases":["GHSA-g4r2-833j-2226"],"summary":"Malicious code in @ornikar/intl-config (npm)","details":"npm/@ornikar/intl-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.\n\nVersion 10.0.10 was added to this record on 2026-08-06, when it differed from the versions above in one important way: it was still published. As of that date the registry had unpublished 10.0.2 through 10.0.9 — those versions survived only in the packument `time` map and were absent from `versions` — while 10.0.10, the last republish of the burst, had been left in place and still held the `latest` dist-tag, so a default `npm install @ornikar/intl-config` still resolved to a poisoned release. The 10.0.10 manifest replaces every real script with a single `\"preinstall\": \"node setup.mjs\"` entry, carries no `gitHead`, was published at 2026-08-04T12:44:09.580Z by the same maintainer account as the preceding legitimate releases, and declares `dist.unpackedSize` 759999 against 21369 for the last clean release (10.0.1). A file listing of the published tarball shows the two extra files 10.0.10 adds over 10.0.1: `setup.mjs` (11017 bytes) and `math_init.js` (727680 bytes), whose sha256 digests match the campaign payload already recorded in this report's `evidence_files`; the same two files, byte for byte, are also in @ornikar/react-native-svg-transformer 1.0.13. Wiz Research and OX Security both list 10.0.10 in their published IoC sets for this campaign. Consumers should not resolve this package from `latest` or a floating range: pin to 10.0.1 or earlier, audit lockfiles for 10.0.10, and treat any host or CI runner that installed it with install scripts enabled as compromised.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b00ad0a37ba93042e1b29779854f3ac5f0b8fa95fb2873acccb3dcf71cb7f168)\nVersion 10.0.7 of @ornikar/intl-config, an internal-facing FormatJS/intl configuration helper, ships a preinstall lifecycle hook (`\"preinstall\": \"node setup.mjs\"`) that downloads the Bun runtime from `https://github.com/oven-sh/bun/releases/download/bun-v<version>/<arch>.zip`, extracts and chmods the `bun` binary, and then runs `execFileSync(bun, ['math_init.js'])`. `math_init.js` is a 727KB Bun-CJS bundle (leading `// @bun @bun-cjs` marker) obfuscated with a rotated string-array (`function WV8StW(...)` shifting `n7gIxM=[...]`) and hex-mangled identifiers. The driver `setup.mjs` is itself obfuscator.io-style minified with identifiers like `_0x488df8`, `_0x52943e` and property-mangling maps. The payload filename and content bear no relation to the package's advertised purpose (intl/FormatJS configuration) and the package has no legitimate need for a second language runtime. The preinstall fires automatically on `npm install`, causing opaque author-controlled code to execute on the installer's machine under a runtime that Node-based supply-chain scanners do not follow. This is the alternate-runtime dropper pattern: an unrelated runtime is fetched at install time specifically to execute a bundled obfuscated payload, evading review.\n\n## Source: ghsa-malware (3006fb22096e9c0c4b8d96c8957f15d3b162fe2e1f9da36ebda40faf525e5742)\nAny 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.\n","affected":[{"package":{"name":"@ornikar/intl-config","ecosystem":"npm"},"versions":["10.0.2","10.0.3","10.0.4","10.0.5","10.0.6","10.0.7","10.0.8","10.0.9","10.0.10"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"setup.mjs","sha256":"fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb","tlsh":"9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be"},{"path":"math_init.js","sha256":"9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc","tlsh":"59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d"}],"package_integrity":[{"filename":"intl-config-10.0.7.tgz","hashes":{"sha1":"2f3e8b585ce26136becc782a7af4480bccfc5f02","sha512_sri":"sha512-cA0wqdrx78up7apIhvr91lvbUbsMLZbco8rgYgQDcneW0ILAP4qkALCURTQAdDJvPVqfiC8cND579sNepVjgZA=="}},{"filename":"intl-config-10.0.10.tgz","hashes":{"sha1":"9f3cd76e9e60eb645fc73b15d1c942b64e726ad4","sha512_sri":"sha512-k8GKHPsKG/7ThYsTWSdOyAF1rCDFXOR2Morv3iv728JQZeGY/OsXZh8S4W7VSCd0PyoA06J7t1oMHZ/lS+bEZA=="}}]}}}],"references":[{"type":"WEB","url":"https://socket.dev/blog/popular-npm-packages-in-the-keyv-and-cacheable-namespaces-compromised-in-active-supply-chain"},{"type":"WEB","url":"https://www.aikido.dev/blog/keyv-and-friends-compromised-in-npm-supply-chain-attack"},{"type":"WEB","url":"https://safedep.io/keyv-npm-supply-chain-compromise/"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ornikar/intl-config"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-g4r2-833j-2226"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ornikar/intl-config/v/10.0.7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ornikar/intl-config/v/10.0.8"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ornikar/intl-config/v/10.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ornikar/intl-config/v/10.0.9"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ornikar/intl-config/v/10.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ornikar/intl-config/v/10.0.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ornikar/intl-config/v/10.0.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ornikar/intl-config/v/10.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ornikar/intl-config/v/10.0.10"},{"type":"WEB","url":"https://www.ox.security/blog/a-new-infostealer-worm-hits-npm-affecting-keyv-and-cacheable/"}],"database_specific":{"iocs":{"files":[{"note":"Stage 1 loader added to the package tarball and run via the preinstall script 'node setup.mjs'. Downloads a standalone Bun runtime and executes the second stage under it.","paths":["setup.mjs"],"source":"PACKAGE_ARCHIVE","digests":{"sha256":"fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb"}},{"note":"Stage 2 payload: byte-identical, heavily obfuscated ~728 KB Bun-bundle credential stealer, shipped in the tarball as Math_Symbol.js and executed at runtime as math_init.js.","paths":["Math_Symbol.js","math_init.js"],"source":"PACKAGE_ARCHIVE","digests":{"sha256":"9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc"}}]},"malicious-packages-origins":[{"id":"GHSA-g4r2-833j-2226","import_time":"2026-08-05T00:10:18.066999245Z","modified_time":"2026-08-04T16:50:47Z","sha256":"3006fb22096e9c0c4b8d96c8957f15d3b162fe2e1f9da36ebda40faf525e5742","source":"ghsa-malware","versions":["10.0.9","10.0.8","10.0.7","10.0.6","10.0.5","10.0.4","10.0.3","10.0.2"]},{"id":"IN-MAL-2026-011783","import_time":"2026-08-05T03:11:45.445271275Z","modified_time":"2026-08-05T02:26:49Z","sha256":"b00ad0a37ba93042e1b29779854f3ac5f0b8fa95fb2873acccb3dcf71cb7f168","source":"amazon-inspector","versions":["10.0.7"]},{"id":"IN-MAL-2026-011797","import_time":"2026-08-05T03:11:46.780771251Z","modified_time":"2026-08-05T02:28:47Z","sha256":"d799f73192e81b54ae5f66031b340d49dcf682ff5296c285fd7ae93fab5eed27","source":"amazon-inspector","versions":["10.0.8"]},{"id":"IN-MAL-2026-011795","import_time":"2026-08-05T03:11:46.605580529Z","modified_time":"2026-08-05T02:28:30Z","sha256":"d7a4161209cd8500a928073b32942f35ccceaf7eafa88b2250f75355b9b1df0d","source":"amazon-inspector","versions":["10.0.3"]},{"id":"IN-MAL-2026-011798","import_time":"2026-08-05T03:11:46.994514174Z","modified_time":"2026-08-05T02:28:58Z","sha256":"d8a2a83d2a43b8f7e601dcdee705e416df3d66fec42fec4eee40356c6af5f11c","source":"amazon-inspector","versions":["10.0.9"]},{"id":"IN-MAL-2026-011553","import_time":"2026-08-05T03:11:20.325828007Z","modified_time":"2026-08-05T01:54:02Z","sha256":"db5a32d04d3b9fcf09300eefd658be4cf7565ce1de3302ae1fe9107e05371d44","source":"amazon-inspector","versions":["10.0.2"]},{"id":"IN-MAL-2026-011788","import_time":"2026-08-05T03:11:45.937519672Z","modified_time":"2026-08-05T02:27:30Z","sha256":"04ee3ead1df48d2280166a16ba68bc1ef31e012190c5abb0eb051bb0e2a205c6","source":"amazon-inspector","versions":["10.0.5"]},{"id":"IN-MAL-2026-011796","import_time":"2026-08-05T03:11:46.690342951Z","modified_time":"2026-08-05T02:28:39Z","sha256":"51b29ab69b3d22fd3177742240c504803faca29133df5a574795bba04ef3b419","source":"amazon-inspector","versions":["10.0.6"]},{"id":"IN-MAL-2026-011676","import_time":"2026-08-05T03:11:33.985239109Z","modified_time":"2026-08-05T02:11:45Z","sha256":"56e5154d7dd7792043d8b7f5c1b29ff8c9e6e4945b917b5276793fca73d09215","source":"amazon-inspector","versions":["10.0.4"]},{"id":"GHSA-g4r2-833j-2226","import_time":"2026-08-09T23:21:54.504725Z","modified_time":"2026-08-07T18:06:02Z","sha256":"516280b047c4c1dee92a4b4d82164763a653ed8fd01914c4382c74c44dadbbbf","source":"ghsa-malware","versions":["10.0.10","10.0.9","10.0.8","10.0.7","10.0.6","10.0.5","10.0.4","10.0.3","10.0.2"]}]},"credits":[{"name":"Aikido Security","contact":["https://www.aikido.dev"],"type":"FINDER"},{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"OX Security","contact":["https://www.ox.security"],"type":"FINDER"},{"name":"SafeDep","contact":["https://safedep.io"],"type":"FINDER"},{"name":"Socket Threat Research Team","contact":["https://socket.dev"],"type":"FINDER"},{"name":"Wiz Research","contact":["https://www.wiz.io"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0