simple-date-formatter-util-6@1.0.0
Malicious code in simple-date-formatter-util-6 (npm)
T1195.002 · Compromise Software Supply ChainT1059.004 · Unix ShellT1059.007 · JavaScriptT1082 · System Information DiscoveryT1552.004 · Private KeysT1041 · Exfiltration Over C2 ChannelT1071.001 · Web Protocols
Analysis
The package's postinstall hook executes a reverse shell connecting to 124[.]221[.]154[.]135:4444 via bash /dev/tcp. A bundled postinstall.js file reads the victim's SSH public keys (~/.ssh/*.pub) and system user information, then exfiltrates the collected data via HTTPS POST to 124[.]221[.]154[.]135/post. The main index.js is a benign decoy date-formatting function.
- analyzed by
- Leitwacht
- first seen
- Aug 3, 2026, 02:29 PM
- analyzed
- Aug 3, 2026, 02:30 PM
Related advisories
- approval-guardian@1.0.8
- color-convert-helper@1.0.0
- @daylightqc/date-fmt-lite@1.1.2
- system-performance-helper@1.0.1
- crypto-javas@2.0.8
- n8n-nodes-utils-helper@1.0.0
- mcp-dev-toolkit@1.5.0
- time-format-kit@1.0.2
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.