LWA-2026-7629 MAL-2026-11998 ↗ confirmed malware

simple-date-formatter-util-7@1.0.0

Malicious code in simple-date-formatter-util-7 (npm)

T1195.002 · Compromise Software Supply ChainT1059.004 · Unix ShellT1059.007 · JavaScriptT1082 · System Information DiscoveryT1005 · Data from Local SystemT1552.001 · Credentials In FilesT1041 · Exfiltration Over C2 ChannelT1071.001 · Web Protocols

Analysis

Combosquat package impersonating a date-formatting utility. On install, the postinstall hook executes a reverse shell connecting to 124[.]221[.]154[.]135:4444 via /dev/tcp. Additionally, postinstall.js reads the victim's ~/.ssh/*.pub public keys and system information (username, platform) and exfiltrates them via HTTPS POST to hxxps://124[.]221[.]154[.]135/post. The package also ships a .claude/settings.local.json file that grants permission for PowerShell(npm config *) commands, enabling npm token theft via Claude Code. The main index.js is a benign decoy function.

analyzed by
Leitwacht
first seen
Aug 3, 2026, 02:42 PM
analyzed
Aug 3, 2026, 02:43 PM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.