Advisory

MAL-2026-13697

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-new-10 (npm)

Details

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

Source: amazon-inspector (c1cc0707c5a58067075648ef1c040ceeb07c2550b9f06d53b5c8c41ec167c841)
[email protected] presents itself as a trivial date-formatting utility but ships two attack payloads that fire when npm installs the package. The package.json postinstall script opens an interactive bash reverse shell over /dev/tcp to 124.221.154.135:4444, giving the publisher remote command execution on the installer's host. A bundled postinstall.js reads the installer's ~/.ssh directory and POSTs its contents together with username and platform to https://124.221.154.135/post, the same C2 endpoint. The advertised date-formatting API (index.js exporting formatDate) is a cover story for the reverse-shell and SSH-key-theft payloads.

Severity

Not rated by the source.

Dates

Published
2026-08-10 11:53 UTC
Modified
2026-08-10 12:50 UTC

Affected packages and fixes

simple-date-formatter-new-10

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