Advisory

MAL-2026-11546

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 simple-date-formatter-util-6 (npm)

Details

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

Source: amazon-inspector (e3c4633742f36d29ca968a2ce71c97cb81e9cb2d2c76738742bb39de671cb115)
Package advertises a trivial formatDate utility but ships a malicious npm postinstall hook. The postinstall script launches a backgrounded interactive bash reverse shell via /dev/tcp/124.221.154.135/4444, granting a remote party shell access on the installer's host at install time. A companion postinstall.js reads the installer's ~/.ssh directory listing along with OS username/platform information and POSTs it over HTTPS to the same hardcoded IP (124.221.154.135:443, path /post). The advertised formatDate export in index.js is a decoy; the package name pattern and empty author metadata are consistent with a typosquat/decoy lure whose sole functional effect is install-time compromise of the installer machine.

Severity

Not rated by the source.

Dates

Published
2026-08-04 22:07 UTC
Modified
2026-08-04 23:05 UTC

Affected packages and fixes

simple-date-formatter-util-6

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