Malicious code in bootstrap-utils (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-6807
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (d9ac4913fc1ffcabe1ed6637abc6d532abc014683f48b341ece6127a51da15d8) The package's index.js is heavily obfuscated with classic string-array shuffling patterns (e.g., while(!![]) loops with repeated ['shift']() calls and hex-encoded indices on a single line). Obfuscation of this shape is uncommon in legitimate library code and frequently used to hide install/runtime behavior, but no concrete installer-harm behavior (exfiltration endpoint, credential read, dropper, lifecycle hook) has been corroborated in this record. The package name 'bootstrap-utils' also has confusion potential with the popular 'bootstrap' ecosystem. A human reviewer should de-obfuscate index.js to confirm intent before this version is trusted. ## Source: ghsa-malware (d3b42bbdadaf453f0ae5f3be0f2455ec5c57217e988927fd501ff6320a361ee9) 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.
- Source published
- 6 Jul 2026 18:52:47 UTC
- Source modified
- 8 Jul 2026 22:01:49 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.