MAL-2026-17651

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@praveenvjpm/color-utils-7210/MAL-2026-17651.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17651
Published
2026-10-08T03:36:19Z
Modified
2026-10-08T04:00:04Z
Summary
Malicious code in @praveenvjpm/color-utils-7210 (npm)
Details

-= 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.

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"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @praveenvjpm/color-utils-7210

Package

Name
@praveenvjpm/color-utils-7210
View open source insights on deps.dev
Purl
pkg:npm/%40praveenvjpm/color-utils-7210

Affected ranges

Affected versions

1.*
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=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@praveenvjpm/color-utils-7210/MAL-2026-17651.json"