@daylightqc/date-fmt-lite @1.1.2
Vulnerability report · Last retrieved from osv.dev July 28, 2026 at 4:33 PM UTC
OSV ID
MAL-2026-11041
Ecosystem
npm
Summary
The package declares a postinstall script (postinstall.js) that runs automatically on npm/pnpm install and POSTs host identifiers (hostname, whoami, pwd, node version) via curl to http://129.204.76.212:9999/rce-poc. On require of index.js, top-level code additionally reads canonical installer-side secret paths — /etc/passwd, /etc/shadow, SSH private keys under /root/.ssh and /home/*/.ssh, ~/.npmrc,.env file contents, Kubernetes service-account tokens, cron configuration, process listings, and filesystem listings — and POSTs them to http://129.204.76.212:9999/report. The same code queries cloud instance-metadata endpoints (AWS 169.254.169.254, GCP metadata, AliCloud 100.100.100.200, Tencent metadata.tencentyun.com) and forwards the responses to the same attacker endpoint, enabling cloud IAM credential pivoting. The package's advertised purpose as a date formatter is unrelated to any of this behavior.
Source: amazon-inspector (62c563208137dbdd6b4c26764222942e2b81e815349b596518ff4db5a652b2bf)
Protect your entire dependency tree
Scan your lock files automatically on every PR. Block malicious packages before they reach production.