{"id":"MAL-2026-6807","summary":"Malicious code in bootstrap-utils (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d9ac4913fc1ffcabe1ed6637abc6d532abc014683f48b341ece6127a51da15d8)\nThe 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.\n\n## Source: ghsa-malware (d3b42bbdadaf453f0ae5f3be0f2455ec5c57217e988927fd501ff6320a361ee9)\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-jgjc-8w9g-8wmq"],"modified":"2026-07-08T22:01:49.706697247Z","published":"2026-07-06T18:52:47Z","database_specific":{"malicious-packages-origins":[{"versions":["4.5.0"],"source":"ghsa-malware","sha256":"d3b42bbdadaf453f0ae5f3be0f2455ec5c57217e988927fd501ff6320a361ee9","id":"GHSA-jgjc-8w9g-8wmq","modified_time":"2026-07-06T18:52:58Z","import_time":"2026-07-06T18:54:03.600200433Z"},{"versions":["4.5.0"],"sha256":"d9ac4913fc1ffcabe1ed6637abc6d532abc014683f48b341ece6127a51da15d8","source":"amazon-inspector","id":"IN-MAL-2026-008615","modified_time":"2026-07-08T21:33:59Z","import_time":"2026-07-08T21:54:09.403621819Z"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jgjc-8w9g-8wmq"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/bootstrap-utils/v/4.5.0"}],"affected":[{"package":{"name":"bootstrap-utils","ecosystem":"npm","purl":"pkg:npm/bootstrap-utils"},"versions":["4.5.0"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature.","cweId":"CWE-506"},{"name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature.","cweId":"CWE-506"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bootstrap-utils/MAL-2026-6807.json","indicators":{"evidence_files":[{"tlsh":"8c8288c83fc1f0605637e0f7ba1b60a6f17a5c88a3499449f766b4e8fd68314e4c5b68","path":"index.js","sha256":"83cdd6e8aad968780d79795db9530e688d831a7e4e53232162a8fad9a5a195fc"}]}}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}