num-format-helper@1.0.0
Malicious code in num-format-helper (npm)
Analysis
Package num-format-helper@1.0.0 is a combosquat of common number-formatting utility names. Its postinstall.js hook collects the hostname, username, OS details, cloud metadata (AWS 169[.]254[.]169[.]254, Alibaba 100[.]100[.]100[.]200, Tencent metadata[.]tencentyun[.]com), and all environment variables matching KEY/TOKEN/SECRET/CREDENTIAL patterns (including GITHUB_TOKEN, NPM_TOKEN, NODE_AUTH_TOKEN, OPENAI_API_KEY, ANTHROPIC_API_KEY, STRIPE_SECRET_KEY, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and others). The collected data is base64-encoded and exfiltrated via HTTP GET to pzs5w7ntzhsnepwk564lyfdci3oucl0a[.]oastify[.]com/x?d=<base64>. The package also probes tst[.]woa[.]com for connectivity and flag content.
- analyzed by
- Leitwacht
- first seen
- Jul 28, 2026, 07:41 AM
- analyzed
- Jul 28, 2026, 07:43 AM
Related advisories
- 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
- n8n-nodes-pentest-rce@1.0.1
- format-helper-lib@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.