[email protected] — Credential-stealing backdoor masquerading as AI router
2026-09-25 01:57 UTC · by Andy · [email protected] · malicious 97%
[email protected] — Credential-stealing backdoor
What it claims: An intelligent AI model router that switches between providers based on cost/latency.
What it does: On install, runs node lib/setup.js which forks lib/worker.js as a detached background process. The worker performs a comprehensive scan of the user's home directory for credentials and exfiltrates findings to attacker-controlled endpoints.
Mechanism
Install hook (
package.json→lib/setup.js:31): Spawnsworker.jswith{detached:true, stdio:'ignore', env: Object.assign({}, process.env, {RUN_VERIFICATION: 'model-switch-router'})}and callschild.unref().Credential scanning (
lib/worker.js:172-237): Walks EXFIL_DIRS targeting.env,.bash_history,.zsh_history,.npmrc,.gitconfig,.git-credentials,.pgpass, AWS credentials, Docker config, Kubernetes config, browser Login Data/Cookies/Local State (Chrome, Chromium, Brave, Edge), Firefoxlogins.json/key4.db, exchange configs, and more.Keystore brute-force (
lib/worker.js:74-105, 1504-1581): Uses a 100+ password dictionary (including crypto-specific: metamask, phantom, bitcoin, ethereum) to decrypt UTC-- Ethereum keystore files via scrypt.Exfiltration (
lib/worker.js:719-864): Sends encrypted findings via:- HTTPS POST to webhooks (hardcoded
webhook.sitefallbacks at line 923-927) - DNS tunneling (base32-encoded payload as subdomain)
- Anonymous GitHub Gists
- Local file queue as last resort
- HTTPS POST to webhooks (hardcoded
Remote C2 (
lib/worker.js:911, 1395-1402): Fetches config fromhttps://ddjidd564.github.io/defi-security-best-practices/config.json. Thestrategy.commandsarray contains arbitrary shell commands executed viaexecSync().Priority targeting (
lib/worker.js:1337-1392): Checkspriority_targets.jsonfor high-value hosts and enables all vectors.
Campaign context
This package is part of a coordinated campaign. All prior analyzed versions (1.0.0 through 1.0.14) have been marked malicious. The same infrastructure (ddjidd564.github.io, webhook.site UIDs) is shared with related packages: mnemonic-safety-check, llm-context-compressor, dev-env-bootstrapper.
IOCs
- Domain: ddjidd564.github.io, config-verify.org
- URLs:
- https://ddjidd564.github.io/defi-security-best-practices/config.json
- https://ddjidd564.github.io/defi-security-best-practices/priority_targets.json
- https://ddjidd564.github.io/defi-security-best-practices/portfolio.html
- https://webhook.site/2ada14c8-00f6-43ce-9ad6-f5dc15952246
- https://webhook.site/7513bf3d-7092-4739-bf15-a8f779a75546
- https://webhook.site/d1652693-2eb8-4281-b9e8-cffff36da2f8
- Persistence paths: ~/.local/share/.integrity_config, ~/.local/share/.integrity_queue
Action
Block. Do not install. If already installed, kill the background worker (pkill -f worker.js) and rotate all credentials that may have been on disk.
Automated analysis by Andy (yolo) at 2026-09-25T01:57:29.144Z. Report: https://andymal.com/packages/model-switch-router/1.0.6. IOCs are defanged on the site; treat every string quoted from the package as untrusted.