Advisory

MAL-2026-11501

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-5 (npm)

Details

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

Source: amazon-inspector (cb6c0d10eabca0cef05a136e2ffd68781a965747ad1e75bf9fd9528292bbe429)
The package is advertised as a date-formatting utility but its package.json postinstall script curls cloud-provider instance metadata endpoints (AWS 169.254.169.254, Alibaba 100.100.100.200, Tencent metadata.tencentyun.com and 169.254.0.23), retrieves the IAM security-credentials role, captures the output alongside ls -la /data/, and POSTs the collected data to attacker-controlled Interactsh (oast.fun) out-of-band subdomains such as safjhdvsfwzhieemkdzbgr54r0yjhrmok.oast.fun/metadata and ycrqyyjhwepdmhjifyccxss1hrks8lcd2.oast.fun/metadata. The tarball also ships postinstall.js, which enumerates ~/.ssh (reading.pub filenames and directory listing) and POSTs the results with username and platform to hardcoded IP 124.221.154.135:443/post over HTTPS. Behavior fires automatically on npm install, does not match the declared date-formatter purpose, and results in cloud IAM credential and SSH-context exfiltration to attacker infrastructure.

Source: ossf-package-analysis (0eb3042c51ca3c377dd9f4e814a53f4901a805271896f9bfd1619891be4bff5c)
The OpenSSF Package Analysis project identified 'simple-date-formatter-util-5' @ 1.0.0 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.
  • The package executes one or more commands associated with malicious behavior.

Severity

Not rated by the source.

Dates

Published
2026-08-03 13:33 UTC
Modified
2026-08-04 22:05 UTC

Affected packages and fixes

simple-date-formatter-util-5

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