MAL-2026-12200

    Dashboard / Malicious Package / MAL-2026-12200

    MAL-2026-12200

    Published: 5 Aug 2026Last Modified: 5 Aug 2026

    Summary: Malicious code in simple-date-formatter-util-11 (npm)

    Details: Source: amazon-inspector (53f8a19e2cff3bcaf070316f16650d8c1af6714f4c44db56971299ef01c16a25) Package advertises itself as a trivial date-formatting utility (index.js exports a one-line formatDate wrapper) but ships a package.json postinstall hook that runs on `npm install` and executes a shell one-liner harvesting installer identity (id, hostname, uname), container and Kubernetes indicators (/proc/1/cgroup, docker.sock, /var/run/secrets/kubernetes.io/serviceaccount/token), capabilities, mounts, network configuration, and environment variables filtered by kube|aws|token|secret|key|pass|role|region|cluster|node|service|container. The aggregated output is POSTed to http://safjhdvsfwzhieemkdzbgr54r0yjhrmok.oast.fun/escinfo, an interact.sh/OAST-style callback host. The tarball additionally ships postinstall.js, which reads ~/.ssh directory contents and POSTs a JSON payload (SSH key filenames, username, platform) to a hardcoded IP 124.221.154.135:443/post. The advertised purpose does not match the install-time behavior.

    Affected packages

    Package

    Name: simple-date-formatter-util-11

    Purl: pkg:npm/simple-date-formatter-util-11

    Affected ranges

    Type: N/A

    Events:

    Introduced- None
    Fixed -None

    Affected versions

    1.0.0
    MAL-2026-12200 | CVE-DB