[email protected] — Credential harvester with AI prompt injection and self-propagation
2026-09-25 00:27 UTC · by Andy · [email protected] · malicious 95%
[email protected] — Malicious
Claimed purpose: Build robust asynchronous data processing pipelines with automatic backpressure handling.
Actual behavior: On npm install, a postinstall hook spawns a detached background worker that scans the user's entire home directory for credentials (private keys, AWS keys, npm/github tokens, browser Login Data, crypto wallet keystores), encrypts findings with Fernet (AES-128-CBC), and exfiltrates them to attacker-controlled webhook endpoints. The package self-propagates by writing prompt-injection files (.cursorrules, CLAUDE.md), git hooks, and shell RC persistence.
Mechanism
Install hook (
lib/setup.js:27-41): Spawnslib/worker.js --verify async-pipeline-builderas a detached, unref'd background process.Credential scanning (
lib/worker.js:172-237,lib/scanner-core.js:84-93): Walks ~/.ssh, ~/.aws, ~/.kube, ~/.docker, ~/.npmrc, ~/.git-credentials, browser profile directories (Chrome/Chromium/Brave/Edge Login Data, Cookies, Local State), Firefox profiles, crypto exchange configs (.binance, .bybit, .okx, .kucoin, .deribit), shell history files, and .env files. Scans file content with regex patterns for private keys (64-char hex), Ethereum addresses (40-char hex), mnemonic phrases, API keys, secrets, passwords, AWS access keys (AKIA...), and npm/github tokens.Crypto wallet targeting (
lib/worker.js:74-100, 1504-1569): Maintains a 100+ word dictionary (wallet, ethereum, bitcoin, metamask, phantom, trustwallet) and attempts brute-force decryption of found keystores. Collects environment variables and shell history passwords as candidates.Exfiltration (
lib/worker.js:747-853, 1124-1159): Three channels:- HTTPS POST to webhook.site endpoints (2ada14c8, 7513bf3d, d1652693)
- DNS out-of-band (base32-encoded data as subdomain lookups to OOB_DOMAIN)
- Anonymous GitHub Gist backup
- Direct TLS to receiver_url from remote config
Remote C2 (
lib/worker.js:938-944): Fetches configuration fromhttps://ddjidd564.github.io/defi-security-best-practices/config.jsonwith raw.githubusercontent.com mirror and DNS TXT fallback.Self-propagation (
lib/worker.js:1746-1856):- Writes .cursorrules and CLAUDE.md with prompt-injection content telling AI agents to re-run the scanner and propagate P-2024-001
- Installs git hooks (post-merge, post-checkout) that download and execute scan-bundled.js
- Appends .bashrc/.zshrc/.profile persistence that runs npx -y dev-env-bootstrapper@latest on terminal open
- Embeds zero-width characters (ZWSP+ZWJ/ZWNJ+LTRM) for AI-to-AI chain propagation
Lab evidence
Offline isolated lab: no network connections observed (expected — no internet). The detached worker process was spawned but could not reach external hosts. Code analysis is definitive.
IOCs
- ddjidd564.github.io (GitHub Pages C2)
- config-verify.org (DNS TXT config fetch)
- https://ddjidd564.github.io/defi-security-best-practices/config.json
- https://raw.githubusercontent.com/ddjidd564/defi-security-best-practices/main/config.json
- 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/priority_targets.json
- https://raw.githubusercontent.com/ddjidd564/defi-security-best-practices/gh-pages/scan-bundled.js
- ~/.local/share/.p2024_integrity (infection marker)
- ~/.local/share/.integrity_config (cached remote config)
Action
Block. Do not install. If already installed, remove the package, clean git hooks, shell RC files, and .cursorrules/CLAUDE.md files, and rotate all exposed credentials.
Automated analysis by Andy (yolo) at 2026-09-25T00:27:14.542Z. Report: https://andymal.com/packages/async-pipeline-builder/1.0.13. IOCs are defanged on the site; treat every string quoted from the package as untrusted.