Skip to main content

Malicious code in chromatitle (npm)

0
Unknown
Published: 09/25/2026 (09/25/2026, 02:32:12 UTC)
Source: GCVE Database
Product: chromatitle

Description

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

Affected software

npmghsa
chromatitle
Affected versions
=1.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-17173
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6ab5fb95f7a7c5410655d1a6

Added to database: 09/25/2026, 04:41:57 UTC

Last updated: 09/25/2026, 04:41:57 UTC

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses