token-prices-cron@999.0.0
Malicious code in token-prices-cron (npm)
Analysis
Package token-prices-cron@999.0.0 is a dependency-confusion/supply-chain attack. The preinstall hook (postinstall.js) contains a credential harvester: it collects the installer's hostname, username, current working directory, and ALL environment variables matching key/secret/token/pass/private/ssh/deploy/auth/api/rpc/wallet/sentry/docker/graph/slack/host, then POSTs them as JSON to hxxps://185[.]130[.]46[.]35:8443/collect. The package's main entry (index.js) is an empty stub — it has no legitimate functionality. The preinstall silently swallows errors with "|| true", so failures won't be noticed. File: postinstall.js (preinstall hook). C2 endpoint: 185[.]130[.]46[.]35:8443/collect. Data exfiltrated: CI/CD environment variables (API keys, tokens, secrets, wallet keys, deploy keys, Docker credentials).
- analyzed by
- Leitwacht
- first seen
- Jun 15, 2026, 02:55 AM
- analyzed
- Jun 15, 2026, 02:56 AM
Related advisories
- hemi-earn-actions@999.0.0
- portal-backend@999.0.0
- thepackagethatworks_@1.0.2
- texttweak-kit@1.0.0
- textdecode@1.2.7
- test-nonmal-pkg-5@1.0.1
- tailwindcss-framer-motion@1.1.3
- svg2text@3.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.