Advisory

MAL-2026-17173

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in chromatitle (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (793cf7eb2b4de9c41e229fc89c393e38f05141991762f69f310e1397fa464f9c)
chromatitle advertises itself as an ANSI color/title formatting library but its main entry src/index.js unconditionally calls _bootstrap() at top level, transferring control to src/utils/bootstrap.js. bootstrap.js is a ~51KB javascript-obfuscator artifact (rotated string array, RC4-style decoder, self-defending IIFE, hex-mangled identifiers such as _0x59ef48/_0x4c3a73/_0xbac3ae) that imports https.get and child_process.execFile and consumes a getSystemInfo helper returning the host platform (windows/linux/macos/freebsd/sunos). The combination of import-time execution, platform-gated branching, remote HTTPS fetch, and subprocess execution inside a file whose contents are deliberately concealed matches the fetch-and-execute dropper shape. A terminal color/title formatter has no functional need for child_process or outbound HTTPS at import time, and the obfuscation hides the destination host and the command handed to execFile. Any downstream package that requires or imports chromatitle triggers this loader on load.

Severity

Not rated by the source.

Dates

Published
2026-09-25 02:32 UTC
Modified
2026-09-25 03:00 UTC

Affected packages and fixes

chromatitle

npm · All systems

Affected

  • Versions: 1.0.0

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences