Malicious code in @praveenvjpm/color-utils-7210 (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (e0b29d9da4319a314669b87ffd4bc0d736dbf3f4c16803e0363ecb36288c7bb2) On 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.
- Products
- @praveenvjpm/color-utils-7210
- Affected versions
- 1.0.0
- Fixed versions
- Not specified
- CVEs
- Not specified
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 28 Oct 2026, 08:58 UTC · Revision 1
Source evidence
Malicious code in @praveenvjpm/color-utils-7210 (npm)
core-osv · Original sourcePublished 8 Oct 2026, 03:36 UTC
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (e0b29d9da4319a314669b87ffd4bc0d736dbf3f4c16803e0363ecb36288c7bb2) On 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.
osv:MAL-2026-17651
@praveenvjpm/color-utils-7210
Fixed versions: Not specified
Complete source record
{
"id": "fd734a109a0f4fa7ca148e1cd9cc393ccfae0f50c8af04a66e72362af1fcb848",
"url": "https://osv.dev/vulnerability/MAL-2026-17651",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Malicious code in @praveenvjpm/color-utils-7210 (npm)",
"summary": "--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (e0b29d9da4319a314669b87ffd4bc0d736dbf3f4c16803e0363ecb36288c7bb2) On 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.",
"evidence": "osv:MAL-2026-17651",
"products": [
{
"name": {
"value": "@praveenvjpm/color-utils-7210",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.0.0",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "unknown",
"structured": {
"id": "MAL-2026-17651",
"aliases": [
"MAL-2026-17651"
],
"affected": [
{
"package": {
"name": "@praveenvjpm/color-utils-7210",
"purl": "pkg:npm/%40praveenvjpm/color-utils-7210",
"ecosystem": "npm"
},
"versions": [
"1.0.0"
],
"database_specific": {
"cwes": [
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
}
],
"source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@praveenvjpm/color-utils-7210/MAL-2026-17651.json",
"indicators": {
"evidence_files": [
{
"path": "install.js",
"tlsh": "9221bad25bf8602d0731a754907e8b2156e7d251300699b0b5dcc2e23fe4d6c4d73dea",
"sha256": "37b9ca9721fa27deb4ab121cce46d456ccc9ee348a54e92fb7458a5901cba410"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "4fd4436d152e5f8b24c5860f02ebbac6c0b978ec",
"sha512_sri": "sha512-Yf3YLult7DA5pKg1W3yDN7sooR5L6hCfOehmwDbKqBHaqDpVeoLPtyYzRgNzZxkkhFQQBIEEoRo1VO8XL/sBwg=="
},
"filename": "color-utils-7210-1.0.0.tgz"
}
]
}
}
}
],
"modified": "2026-10-08T04:00:04.227021690Z",
"provider": "osv",
"references": [
"https://www.npmjs.com/package/@praveenvjpm/color-utils-7210/v/1.0.0"
],
"provider_metadata": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-021103",
"sha256": "e0b29d9da4319a314669b87ffd4bc0d736dbf3f4c16803e0363ecb36288c7bb2",
"source": "amazon-inspector",
"versions": [
"1.0.0"
],
"import_time": "2026-10-08T03:50:28.060603408Z",
"modified_time": "2026-10-08T03:36:19Z"
}
]
}
},
"related_cves": [],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 98426,
"published_at": "2026-10-08T03:36:19+00:00"
}