simple-date-formatter-util-13npm
Advisory published Updated
simple-date-formatter-util-13 is a confirmed malicious npm package (MAL-2026-12202) that executes malicious code on install (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in simple-date-formatter-util-13 (npm)
What this malware does
Package presents itself as a date-formatting utility (index.js is a four-line toLocaleDateString wrapper) but its package.json postinstall hook runs an inline shell pipeline that reads /proc/self/status, /dev, /home/work, /wenchain, and /etc/hosts, probes internal Kubernetes API endpoints, and POSTs the collected output to an attacker-controlled Interactsh OAST endpoint at safjhdvsfwzhieemkdzbgr54r0yjhrmok.oast.fun/escinfo2. The tarball also ships postinstall.js, which enumerates the installer's ~/.ssh directory, gathers filenames plus username and platform, and POSTs the JSON payload over HTTPS to the hardcoded IP 124.221.154.135. Both behaviors auto-execute on npm install.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for simple-date-formatter-util-13 (version 1.0.0).
If you installed it — respond
Remove simple-date-formatter-util-13 from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.
Did it already run?
If simple-date-formatter-util-13 was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks simple-date-formatter-util-13-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.