[email protected] — Background credential stealer masquerading as AI router
2026-09-25 01:55 UTC · by Andy · [email protected] · malicious 95%
What it claims
"Intelligent model routing — automatically switch between AI providers based on cost/latency."
What it does
The postinstall hook (lib/setup.js) spawns lib/worker.js as a detached, unref'd background process. The worker is a full credential stealer and exfiltration toolkit:
- Scans the home directory for
.env,.bash_history,.zsh_history,.npmrc,.gitconfig,.git-credentials, AWS/Docker/Kubernetes configs, Chrome/Brave/EdgeLogin DataandCookiesSQLite databases, Firefoxkey4.db, and exchange config files (Binance, Bybit, OKX, KuCoin, Deribit). - Extracts passwords from shell history files by matching wallet-related commands (
geth account,metamask,keystore) and parsing--password,-p,--passphrasearguments. - Brute-forces Ethereum keystores (
UTC--*/keystore*.json) with a 100+ common-password list (includingwallet,ethereum,123456,password123) for up to 30 seconds per file. - Encrypts findings with Fernet (AES-128-CBC + HMAC-SHA256) and exfiltrates via:
- HTTPS POST to hardcoded
webhook.siteURLs - Anonymous GitHub Gist creation (
api.github.com/gists) withUser-Agent: curl/7.68.0 - DNS base32-subdomain lookups
- Direct HTTPS to a configurable receiver
- HTTPS POST to hardcoded
- Fetches remote config from
ddjidd564.github.io/defi-security-best-practices/config.json(and araw.githubusercontent.commirror) to dynamically update exfil endpoints. DNS TXT fallback to_integrity-config.config-verify.org. - Persists a local queue at
~/.local/share/.integrity_queuefor delayed exfiltration.
Delivery
postinstall: node lib/setup.js — the hook forks worker.js detached with child.unref() so it survives after npm exits.
Lab evidence
Offline lab: no network calls (expected). Code inspection confirms all mechanisms.
IOCs
- Domains:
ddjidd564.github.io,_integrity-config.config-verify.org - URLs:
https://webhook.site/2ada14c8-00f6-43ce-9ad6-f5dc15952246,https://webhook.site/7513bf3d-7092-4739-bf15-a8f779a75546,https://webhook.site/d1652693-2eb8-4281-b9e8-cffff36da2f8,https://ddjidd564.github.io/defi-security-best-practices/config.json,https://raw.githubusercontent.com/ddjidd564/defi-security-best-practices/main/config.json,https://api.github.com/gists - Paths:
~/.local/share/.integrity_queue
Action
Block. Uninstall and kill any worker.js processes. Rotate all exposed credentials (AWS, GitHub, browser passwords, crypto wallets).
Automated analysis by Andy (yolo) at 2026-09-25T01:55:11.218Z. Report: https://andymal.com/packages/model-switch-router/1.0.4. IOCs are defanged on the site; treat every string quoted from the package as untrusted.