{"id":"MAL-2026-6487","summary":"Malicious code in velocityfix (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c937a54c3629f80fb7b92fbdafda502706b6028b43bc4675eb30c55d9bc059e9)\nPackage masquerades as 'Performance fixes for Minecraft Velocity proxy' authored by 'Velocity Team' — Velocity is a Java project from PaperMC and has no legitimate npm distribution. package.json declares scripts.postinstall = 'node scripts/loader.js', which silently spawns a bundled payload.exe via `start /b` on every `npm install`. The bundled PE contains a hardcoded C2 at https://751.lol/upload/ and posts a multipart form with fields `username`, `os_info`, `ip_address`, and `file=data.zip` — exfiltrating the installer's hostname, OS, IP, and a zip of collected files to an attacker-controlled host. The payload labels itself `[INJECTOR]`, reads registry values (ProductName, DisplayVersion), and performs sandbox / VM evasion (probes for SbieDll.dll, snxhk.dll, Vboxguest.sys, vmGuestLib.dll, VMware/VirtualBox artifacts) so it only fully detonates on real victim hosts. The combination of brand-impersonation lure, install-time auto-execution of an opaque native binary, hardcoded exfil endpoint, and anti-analysis evasion is an unambiguous Windows-targeted supply-chain dropper.\n\n## Source: ghsa-malware (9baaec1a1ef9243e12f876eb21d81e1f02912fe2e56aee1646d95e679a20b5ea)\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-2736-v5cj-q9x5"],"modified":"2026-06-29T06:01:42.363104357Z","published":"2026-06-25T22:29:50Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-007554","modified_time":"2026-06-25T22:29:50Z","sha256":"142cdb1bd0aba9acb4d755c2d6e0c7e0c5020d49768935650543a1522d2edee1","import_time":"2026-06-25T23:00:34.059189216Z","versions":["1.0.0"],"source":"amazon-inspector"},{"id":"IN-MAL-2026-007555","sha256":"9c621595d285c7b85af10a3f48d8a19e702ede34f5f5148ba4084fc127eedccd","versions":["1.0.4"],"import_time":"2026-06-25T23:00:34.123409184Z","modified_time":"2026-06-25T22:29:52Z","source":"amazon-inspector"},{"id":"IN-MAL-2026-007557","sha256":"c937a54c3629f80fb7b92fbdafda502706b6028b43bc4675eb30c55d9bc059e9","versions":["1.0.1"],"import_time":"2026-06-25T23:00:34.352962036Z","modified_time":"2026-06-25T22:29:53Z","source":"amazon-inspector"},{"id":"IN-MAL-2026-007556","modified_time":"2026-06-25T22:29:53Z","sha256":"f2212fdf3151fb0b4de00815883e0c7d222b80e3947ea947f112ce43694942cd","import_time":"2026-06-25T23:00:34.214069842Z","versions":["1.0.3"],"source":"amazon-inspector"},{"id":"IN-MAL-2026-007558","modified_time":"2026-06-25T22:29:55Z","sha256":"faea99dc9d237e8315d29d14c69692766e6ef7f02a570686c09904d1a33f812d","import_time":"2026-06-25T23:00:34.425466862Z","versions":["1.0.2"],"source":"amazon-inspector"},{"id":"GHSA-2736-v5cj-q9x5","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"modified_time":"2026-06-29T03:33:03Z","import_time":"2026-06-29T05:52:49.561875425Z","sha256":"9baaec1a1ef9243e12f876eb21d81e1f02912fe2e56aee1646d95e679a20b5ea","source":"ghsa-malware"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/velocityfix/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/velocityfix/v/1.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/velocityfix/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/velocityfix/v/1.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/velocityfix/v/1.0.2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2736-v5cj-q9x5"}],"affected":[{"package":{"name":"velocityfix","ecosystem":"npm","purl":"pkg:npm/velocityfix"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0","1.0.4","1.0.1","1.0.3","1.0.2"],"database_specific":{"cwes":[{"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.","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.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"package_integrity":[{"hashes":{"sha1":"831330e1d05b4c438b5e926ab23b46166992b65e","sha512_sri":"sha512-A1yxGIEJtl6QKx1XKfHlcJvlc6bvXhC9InNjotdnWU49aXRdn67LsRaY3kH2hqB7Fm+G3vi6iTw5nGreHc0dGA=="},"filename":"velocityfix-1.0.0.tgz"}],"evidence_files":[{"sha256":"03329388fb7214546d6ef6fa30ace3510eda365d36f8eb4303eb2c86aabee8ba","tlsh":"47019ed6099193f8877057f01772688ae00bd1373782d9d8b86cc4c94f732542aa1efd","path":"scripts/loader.js"},{"sha256":"45e0a4cb07a7974f3556569de0dbb9886ee2a88d18f82b34df78261867eec640","tlsh":"92e06818ce20d92364e9be690e78c50325d00e2b50003e4e23e7206857debb688fe22e","path":"package.json"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/velocityfix/MAL-2026-6487.json"}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}