simple-date-formatter-util-11@1.0.0
Malicious code in simple-date-formatter-util-11 (npm)
Analysis
The package's postinstall hook (defined inline in package.json) runs a comprehensive host-reconnaissance and credential-harvesting script on installation. It collects: user identity, hostname, OS/kernel version, container cgroup info, Docker socket presence, Linux capabilities, Kubernetes service-account tokens, mount table, network interfaces, ARP table, and environment variables matching kube/aws/token/secret/key/pass/role/region/cluster/node/service/container patterns. All collected data is piped via curl POST to hxxp://safjhdvsfwzhieemkdzbgr54r0yjhrmok[.]oast[.]fun/escinfo. The package name is a combosquat of a legitimate utility name with a numeric suffix.
- analyzed by
- Leitwacht
- first seen
- Aug 3, 2026, 03:36 PM
- analyzed
- Aug 3, 2026, 03:37 PM
Related advisories
- simple-date-formatter-util-4@1.0.0
- string-formatter-pro@1.0.0
- ripshakti@80.0.0
- anthropic-internal-tools@1.0.0
- date-format-helper2@1.0.4
- hunsterx-package@7.0.1
- delta-time-32bb@1.0.0
- hex-conv-ae7a@1.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.