{"id":"MAL-2026-11633","summary":"Malicious code in @onereach/si-collapsible-group (npm)","details":"npm/@onereach/si-collapsible-group 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\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ed9992bc1f79e7bcea563e73a4bb7eef00287fb4a302dcd68e38c871be0c8c63)\nThe npm package advertises itself as a Vue collapsible-group UI component but ships a preinstall script (setup.mjs) with hex-mangled identifiers that, on `npm install`, downloads the Bun runtime archive (v1.3.13) from github.com/oven-sh/bun/releases into a temp directory, unzips it, chmods it 0755, and invokes it against a sibling file math_init.js. math_init.js is a 727KB obfuscator.io-style bundle (shuffled string/constant array, `_0xNNNN` mangled identifiers, rotating-array decoder) that is not referenced by the package's declared library entry and is not present in the published `files` list — it exists to be executed by the Bun interpreter fetched at install time. The alternate-runtime dropper pattern (a downloaded interpreter running an opaque bundled payload) bypasses Node-based inspection, and the payload's purpose has no relation to a UI collapsible-group component.\n\n## Source: ghsa-malware (475a7f701f550b6e49c55235e1129369364a289450083f0e01658c4fa93ab217)\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","aliases":["GHSA-rgvc-mwh2-jmf2"],"modified":"2026-08-05T08:50:20.377551503Z","published":"2026-08-04T13:20:39Z","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"},{"paths":["Math_Symbol.js","math_init.js"],"source":"PACKAGE_ARCHIVE","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."}]},"malicious-packages-origins":[{"sha256":"475a7f701f550b6e49c55235e1129369364a289450083f0e01658c4fa93ab217","source":"ghsa-malware","versions":["0.6.5","0.6.4","0.6.6"],"id":"GHSA-rgvc-mwh2-jmf2","import_time":"2026-08-05T00:10:18.220459664Z","modified_time":"2026-08-04T15:49:37Z"},{"sha256":"21559cb48e3e031f24ffb8e7d95c21cd2d0a78ad28ce38f33f63457b2b9703b1","source":"amazon-inspector","versions":["0.6.6"],"id":"IN-MAL-2026-013821","import_time":"2026-08-05T08:22:08.435343215Z","modified_time":"2026-08-05T07:19:58Z"},{"versions":["0.6.5"],"id":"IN-MAL-2026-014066","import_time":"2026-08-05T08:22:26.496558435Z","modified_time":"2026-08-05T07:56:14Z","sha256":"ed9992bc1f79e7bcea563e73a4bb7eef00287fb4a302dcd68e38c871be0c8c63","source":"amazon-inspector"},{"sha256":"f4e5cd40e17a34fa5e566c1f78592a9e29680b4b25e05435f83ac1a702649ffa","source":"amazon-inspector","versions":["0.6.4"],"id":"IN-MAL-2026-014147","import_time":"2026-08-05T08:22:32.253878125Z","modified_time":"2026-08-05T08:08:04Z"}]},"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/@onereach/si-collapsible-group"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-rgvc-mwh2-jmf2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@onereach/si-collapsible-group/v/0.6.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@onereach/si-collapsible-group/v/0.6.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@onereach/si-collapsible-group/v/0.6.4"}],"affected":[{"package":{"name":"@onereach/si-collapsible-group","ecosystem":"npm","purl":"pkg:npm/%40onereach/si-collapsible-group"},"versions":["0.6.4","0.6.5","0.6.6"],"database_specific":{"indicators":{"evidence_files":[{"tlsh":"9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be","path":"setup.mjs","sha256":"fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb"},{"path":"math_init.js","sha256":"9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc","tlsh":"59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d"}],"package_integrity":[{"filename":"si-collapsible-group-0.6.6.tgz","hashes":{"sha512_sri":"sha512-EQNfWAHKkV3aewe9S/bHxynXgy11M/sMdKbspwQCAX5BXctYgE9hTC31sjZrSGcDIu3XTrNIYtKIWZONtKqh7w==","sha1":"2e04ef5069ee8dc8ac4d2e3d908c01dee50cb98b"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@onereach/si-collapsible-group/MAL-2026-11633.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}]}}],"schema_version":"1.8.0","credits":[{"name":"Aikido Security","contact":["https://www.aikido.dev"],"type":"FINDER"},{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"SafeDep","contact":["https://safedep.io"],"type":"FINDER"},{"name":"Socket Threat Research Team","contact":["https://socket.dev"],"type":"FINDER"}]}