LWA-2026-7634 MAL-2026-11547 ↗ confirmed malware

simple-date-formatter-util-9@1.0.0

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

T1195.002 · Compromise Software Supply ChainT1059.004 · Unix ShellT1059.007 · JavaScriptT1082 · System Information DiscoveryT1552.004 · Private KeysT1552.001 · Credentials In FilesT1041 · Exfiltration Over C2 ChannelT1071.001 · Web Protocols

Analysis

simple-date-formatter-util-9@1.0.0 is a combosquat package impersonating a date-formatting utility. On install, the postinstall hook executes a bash reverse shell connecting to 124[.]221[.]154[.]135:4444. A bundled postinstall.js script reads SSH public keys from ~/.ssh/ and exfiltrates them along with system user info via HTTPS POST to 124[.]221[.]154[.]135/post. The package also ships a .claude/settings.local.json file that grants permission for PowerShell-based npm config access, enabling npm token theft via Claude Code. The main index.js is a benign decoy date formatter.

analyzed by
Leitwacht
first seen
Aug 3, 2026, 02:54 PM
analyzed
Aug 3, 2026, 02:57 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.