Malicious code in simple-date-formatter-new-8 (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12199
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (4f0bf9e4040cf2940b0ca9a9e5cea7def2c660925afd0ba959ed69d28ca007b7) The package.json postinstall script runs unconditionally on `npm install`, collecting host and internal-network reconnaissance (kernel version via `uname -r`, `/etc/resolv.conf`, `hostname -I`, `/proc/net/route`, internal TCP endpoint probes, and Kubernetes API probes against 10.45.196.x /version and /api/v1/namespaces) and POSTs the aggregated output via `curl` to an attacker-controlled interact.sh OAST collector at http://safjhdvsfwzhieemkdzbgr54r0yjhrmok.oast.fun/escinfoF. A sibling postinstall.js enumerates the installer's `~/.ssh` directory and POSTs the contents along with username and platform to a hardcoded remote host at 124.221.154.135:443/post. The declared purpose is a trivial date formatter, which has no legitimate need to read SSH material, enumerate internal networks, or contact OAST infrastructure.
- Source published
- 5 Aug 2026 08:48:09 UTC
- Source modified
- 5 Aug 2026 10:06:20 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.