MAL-2026-12199 Malicious code in simple-date-formatter-new-8 (npm)
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Kubernetes
Description
-= 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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm simple-date-formatter-new-8(npm) | = 1.0.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm simple-date-formatter-new-8(npm) | = 1.0.0 | No fix listed |
References
- www.npmjs.com product