npm

date-fmt-helper-xz @1.0.4

Vulnerability report · Last retrieved from osv.dev August 14, 2026 at 3:31 AM UTC

Malicious

OSV ID

MAL-2026-13946

Ecosystem

npm

Summary

date-fmt-helper-xz ships a postinstall.js that runs automatically on npm install. The script opens a TCP connection to the hardcoded remote host 8.135.48.40 on port 4444 and pipes /bin/sh stdio over the socket, granting the remote party interactive shell access on the installer's machine. Bash /dev/tcp and python3 pty.spawn fallbacks are included to maximize the chance the shell succeeds across environments. On failure of the shell paths, the script issues an HTTP GET to http://8.135.48.40/shell/failed and /shell/error with the error message, confirming the same host as attacker command-and-control. The package advertises date formatting; the reverse shell is unrelated to any legitimate functionality.

Source: amazon-inspector (b384650ec0fabdd01a7dfc513cccd25156611a04c17ba0c435b950ddb9215777)

Protect your entire dependency tree

Scan your lock files automatically on every PR. Block malicious packages before they reach production.