{"id":"MAL-2026-10496","revision":"aaafc216e0ca493a8b4ff8d8f6e76542","records":[{"revision":"aaafc216e0ca493a8b4ff8d8f6e76542","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10496","aliases":[],"title":"Malicious code in bubblestring (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d88c674968228c1d12eff609caca870ebe6d572631e15e2bdde0d0d4b7a320f9)\npackage.json declares a postinstall hook that runs the package's only code file, index.js, on every npm install. index.js is heavily obfuscated (obfuscator.io-style RC4 string array with 231 entries, two decoders, control-flow flattening). After deobfuscation, the top-level code constructs an IPv4 address by concatenating four numeric octets, performs an HTTPS request to that bare-IP host, writes the response body to a file under the OS temp directory via fs.writeFileSync, and then executes the dropped file via child_process. This is the canonical install-time remote-code-execution dropper shape: mutable attacker-controlled destination, no publisher domain, no integrity check, automatic execution under the installer's user account on `npm install`. The package metadata reinforces malicious intent — empty description, empty author, no repository or homepage, no exported functionality — and the README instructs users to install and require an unrelated package (`@array-util/subsearch`), serving as cover for a payload that has no advertised purpose.\n","state":0,"publishedAt":"2026-07-13T21:44:59+00:00","modifiedAt":"2026-07-13T22:01:57.2043433+00:00","affected":[{"ecosystem":"npm","name":"bubblestring","ranges":[],"versions":["1.1.4"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bubblestring/v/1.1.4"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10496","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10496","identifiers":["MAL-2026-10496"]},"retained":false,"historicalAffected":[]}],"coverage":[]}