MAL-2026-17651Malicious code in @praveenvjpm/color-utils-7210 (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @praveenvjpm/color-utils-7210 | 1.0.0 |
{"modified":"2026-10-08T03:36:19Z","published":"2026-10-08T03:36:19Z","schema_version":"1.7.4","id":"MAL-2026-17651","summary":"Malicious code in @praveenvjpm/color-utils-7210 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e0b29d9da4319a314669b87ffd4bc0d736dbf3f4c16803e0363ecb36288c7bb2)\nOn npm install, the package's preinstall hook executes install.js, which collects host identifiers (os.hostname(), process.cwd(), username) and reads flag files from /flag, /flag.txt, /app/flag, /home/node/flag, and /tmp/flag, then PUTs the collected data to the hardcoded bare-IP endpoint http://154.57.164.66:39270/api/modules/* over plain HTTP. install.js is additionally wrapped as a PowerShell here-string (opening with @\" and closing with \"@ | Out-File -Encoding ascii install.js), structured as a polyglot that can rewrite itself on Windows before Node executes the exfiltration payload. The behavior fires automatically on default install and has no relationship to the package's stated color-utility purpose.\n","affected":[{"package":{"ecosystem":"npm","name":"@praveenvjpm/color-utils-7210"},"versions":["1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"install.js","sha256":"37b9ca9721fa27deb4ab121cce46d456ccc9ee348a54e92fb7458a5901cba410","tlsh":"9221bad25bf8602d0731a754907e8b2156e7d251300699b0b5dcc2e23fe4d6c4d73dea"}],"package_integrity":[{"filename":"color-utils-7210-1.0.0.tgz","hashes":{"sha1":"4fd4436d152e5f8b24c5860f02ebbac6c0b978ec","sha512_sri":"sha512-Yf3YLult7DA5pKg1W3yDN7sooR5L6hCfOehmwDbKqBHaqDpVeoLPtyYzRgNzZxkkhFQQBIEEoRo1VO8XL/sBwg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@praveenvjpm/color-utils-7210/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-021103","import_time":"2026-10-08T03:50:28.060603408Z","modified_time":"2026-10-08T03:36:19Z","sha256":"e0b29d9da4319a314669b87ffd4bc0d736dbf3f4c16803e0363ecb36288c7bb2","source":"amazon-inspector","versions":["1.0.0"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0