-= Per source details. Do not edit below this line.=-
package.json declares "postinstall": "node index.js", and index.js is a heavily obfuscated single-file script (RC4+base64 string-array with rotating shift and two decoder wrappers). After deobfuscation, the postinstall body performs an HTTP GET to a built URL, writes the response body to a file under os.tmpdir() using fs.writeFileSync(..., {flag:'w+'}), and immediately executes the dropped file via child_process.exec(path, {windowsHide:true, cwd: process.cwd()}). This fires automatically on npm install with no user interaction and lands attacker-controlled bytes on the installer's machine. Author and description fields are empty, the obfuscation has no legitimate justification for a 'utility' package, and the README contradicts the published name by instructing users to install/require @array-util/subsearch — a name-confusion lure designed to harvest installs while hiding under a different documented identity. The combination of install-time remote fetch-and-exec, obfuscation intent to evade scanners, and identity mismatch is a textbook supply-chain dropper.
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-packages-origins": [
{
"source": "amazon-inspector",
"sha256": "7831cb93037b6f364e2174f6d4fb64b38bac958e54f3653b8a70810681972172",
"modified_time": "2026-06-16T22:22:20Z",
"import_time": "2026-06-16T23:03:43.764328533Z",
"id": "IN-MAL-2026-006849",
"versions": [
"1.1.4"
]
},
{
"source": "ghsa-malware",
"sha256": "c1c55149f831144e3ea806b4c4a8d9848f9d8ee5d838d4379bb49b3d98915b85",
"modified_time": "2026-07-06T18:51:41Z",
"import_time": "2026-07-06T18:54:03.593358278Z",
"id": "GHSA-9p79-38q4-f6wc",
"versions": [
"1.1.4"
]
}
]
}"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bubblestr/MAL-2026-5930.json"
[
{
"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",
"name": "Embedded Malicious Code"
}
]
{
"package_integrity": [
{
"filename": "bubblestr-1.1.4.tgz",
"hashes": {
"sha512_sri": "sha512-qG0hul/6x2SqhsweHgsRt0G8dtbe+Fgv3xbx6MtXj3OuXKlHDYHf5OF/Q6DRPllycjmdODbj1kaEmGXwNY3OWw==",
"sha1": "c6917b4c1740b531704859fd0efda9466585fca8"
}
}
],
"evidence_files": [
{
"path": "index.js",
"sha256": "19e0f7def6781dd59eb6d2f5f6a19cba7b2cb68db3e585dbf99cd9e3b51e1e93",
"tlsh": "379275cc3bc2f0b05233f0bb6a1b60a6f5b95c4ca3499848f797f0a8f968314d556b64"
},
{
"path": "README.md",
"sha256": "b483859ffa6b9e105f21b45694fa1b8b363e8f90429de4d420473f1dc3b49284",
"tlsh": "ceb0124dc64353b9266126f87619288ef231cc059502084070c75cf40bc1cd0b28106e"
}
]
}