Advisory

MAL-2026-13947

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in date-fmt-utils-helper (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (4ae88f68f30ebd69a595537393ce95c4ce5e543b558572769fa2c608fa1b1b0d)
The package presents itself as a date-formatting utility, but its index.js is a trivial cover and a source comment explicitly labels the library as a disguise. The package.json postinstall hook runs node postinstall.js on npm install, which opens a TCP connection to the hardcoded remote host 8.135.48.40:4444 and pipes /bin/sh stdio over the socket, with bash -i >& /dev/tcp/... and python3 pty.spawn fallbacks, giving the remote party interactive shell access on the installer's machine at install time. On failure the script beacons error details via HTTP GET to http://8.135.48.40/shell/failed and /shell/error, confirming the destination is attacker-controlled command-and-control infrastructure.

Severity

Not rated by the source.

Dates

Published
2026-08-13 17:15 UTC
Modified
2026-08-13 17:30 UTC

Affected packages and fixes

date-fmt-utils-helper

npm · All systems

Affected

  • Versions: 1.0.0

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences