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-12@1.0.0
- num-format-helper@1.0.0
- chart-data-utils@1.0.0
- @daylightqc/date-fmt-lite@1.1.2
- n8n-nodes-utils-helper@1.0.0
- antsrcsrctest@1.0.0
- delta-time-32bb@1.0.0
- ts-enum-helper@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.