order-package-saas@999.0.0
Malicious code in order-package-saas (npm)
Analysis
The postinstall hook executes a credential-harvesting payload. After a randomized 5-15 second delay, it reads a broad set of victim credentials from disk — ~/.npmrc, ~/.yarnrc, ~/.git-credentials, SSH private keys, ~/.aws/credentials and AWS SSO cache, gcloud application_default_credentials.json, Azure accessTokens.json, ~/.kube/config, ~/.docker/config.json, Terraform credentials, GitHub CLI hosts.yml, ~/.netrc, Vercel/Netlify/Supabase/Firebase auth files, ~/.pgpass, ~/.my.cnf, ~/.mongorc.js, VSCode settings, and gem/pypi/cargo credentials — and harvests every environment variable whose name contains TOKEN, KEY, SECRET, PASSWORD, API, AUTH, CREDENTIAL, or similar. The collected data is base64-encoded and exfiltrated to a hardcoded Telegram bot (via sendMessage/sendDocument to a fixed chat_id) and also POSTed to hxxp://2[.]26[.]82[.]63:8888/collect. The payload skips execution when NODE_ENV=test, CI=true, JEST_WORKER_ID, VITEST, or /.dockerenv is present.
- analyzed by
- Leitwacht
- first seen
- Sep 1, 2026, 04:41 PM
- analyzed
- Sep 1, 2026, 04:42 PM
Related advisories
- bt2-api-gateway-node-js@999.0.0
- cminhouse-api-gateway-nodejs@999.0.0
- space-items@1.0.0
- autbank-core@99.0.0
- @openzeppelin-5/contracts@1.0.0
- @openzeppelin-4/contracts@1.0.0
- permit2@1.0.0
- ethereum-vault-connector@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.