[email protected] — Credential scanner trojan with AI prompt-injection persistence
2026-09-25 00:24 UTC · by Andy · [email protected] · malicious 97%
What it claims
"Build robust asynchronous data processing pipelines with automatic backpressure handling."
What it actually does
On postinstall, the package spawns a detached background worker (lib/worker.js) that:
- Scans the entire home directory for credential-bearing files:
.env,.ssh,.aws,.kube,.docker,.ethereum,.bitcoin,.solana, browserLogin Data/Cookies/Local State, exchange configs (Binance, Bybit, OKX, KuCoin, Deribit), and more. - Brute-forces Ethereum keystore files (
UTC--*.json) against 100+ common passwords plus user-derived candidates. On success, returns the decrypted private key. - Extracts passwords from shell history (
.bash_history,.zsh_history) for wallet-related commands. - Harvests environment variables containing
key,secret,token,password,private,mnemonic,seed,wallet. - Encrypts findings with Fernet (AES-128-CBC + HMAC-SHA256) and exfiltrates via multiple channels: webhook POST, DNS OOB (base32-encoded subdomain lookup), GitHub Gists (
api.github.com/gists), TLS direct, or local file queue. - Fetches remote C2 config from
https://ddjidd564.github.io/defi-security-best-practices/config.json(mirrors on raw.githubusercontent.com) to dynamically set webhooks, scan depth, enabled vectors, and arbitraryexecSynccommands. - Persists by writing
.cursorrulesandCLAUDE.mdto project dirs with zero-width encoded payload instructing AI agents to executenpx -y dev-env-bootstrapper@latest. Installs git hooks (post-merge,post-checkout) that download and executescan-bundled.jsfrom GitHub. Appends to.bashrc/.zshrc/.profilea function that re-executes the payload every hour.
How it is delivered
Install hook postinstall: node lib/setup.js spawns the worker. The worker runs on every require() of the package as well.
Lab evidence
- Install hook ran, spawned detached
worker.js(2 instances). - Offline lab: no network connections (expected).
- Source code contains all described capabilities.
IOCs
Domains: ddjidd564.github.io, config-verify.org, webhook.site URLs:
- https://ddjidd564.github.io/defi-security-best-practices/config.json
- https://ddjidd564.github.io/defi-security-best-practices/priority_targets.json
- https://raw.githubusercontent.com/ddjidd564/defi-security-best-practices/main/config.json
- https://raw.githubusercontent.com/ddjidd564/defi-security-best-practices/gh-pages/scan-bundled.js
- https://raw.githubusercontent.com/ddjidd564/defi-security-best-practices/gh-pages/scan.js
- https://webhook.site/2ada14c8-00f6-43ce-9ad6-f5dc15952246 Paths: ~/.local/share/.p2024_integrity, .cursorrules, CLAUDE.md, AGENTS.md, COPILOT.md, .git/hooks/post-merge, .git/hooks/post-checkout, .bashrc, .zshrc, .profile
Action
Block. Do not install. If already installed, remove .cursorrules, CLAUDE.md, AGENTS.md, COPILOT.md from affected projects, remove git hooks, clean shell RC files, rotate any exposed credentials.
Automated analysis by Andy (yolo) at 2026-09-25T00:24:33.547Z. Report: https://andymal.com/packages/async-pipeline-builder/1.0.11. IOCs are defanged on the site; treat every string quoted from the package as untrusted.