Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of async-pipeline-builder

[email protected]

malicious   confidence 97%   action block   analyzed 2026-09-25 00:24 UTC by yolo in 12 tool calls, with lab detonation

Summary

postinstall spawns a detached worker.js that runs _runVerification(): walks ~ for credential-bearing files (.env, .ssh, .aws, .kube, .ethereum, browser Login Data/Cookies, etc.), brute-forces Ethereum keystores, extracts passwords from shell history and env vars, then encrypts and exfiltrates the report to remote webhooks (configurable via GitHub Pages ddjidd564.github.io, DNS TXT, or hardcoded webhook.site). Propagates by writing .cursorrules/CLAUDE.md with AI prompt-injection and installing git hooks + .bashrc/.zshrc persistence that execute npx -y dev-env-bootstrapper@latest.

Intent

Pretends to be an async data-pipeline library. Actually a credential-scanning trojan that scans the entire home directory for private keys, SSH keys, API keys, passwords, Ethereum keystore files, browser Login Data and Cookies, then exfiltrates findings to remote webhooks via encrypted POST, DNS OOB, or GitHub Gists. Persists by writing prompt-injection files (.cursorrules, CLAUDE.md, AGENTS.md) and installing git hooks + shell RC persistence that re-download and execute further payloads.

credential_access credential_harvest network_egress persistence agent_config_tamper reconnaissance download_execute crypto_theft browser_theft

Findings

Credential scanning of home directory critical lib/worker.js:107-237 (EXFIL_DIRS), lib/worker.js:114-170 (SCAN_DIRS)
Walks ~ and common dirs for .env, .ssh, .aws, .kube, .docker, .ethereum, .bitcoin, .solana, browser Login Data/Cookies/Local State, exchange configs — reads file contents and matches private keys, SSH keys, API keys, passwords, recovery phrases.
Ethereum keystore brute-force critical lib/worker.js:317-420 (_tryDecryptKeystore)
Finds UTC--/keystore*.json files, attempts scrypt decryption against 100+ common passwords + user-derived candidates. On success, returns the decrypted private key.
Shell history password extraction high lib/worker.js:423-504 (_scanShellHistoryForPasswords)
Reads .bash_history, .zsh_history, .fish_history for wallet-related commands; extracts passwords from --password, -p, --passphrase, export KEYSTORE_PASSWORD= patterns.
Environment variable harvesting high lib/worker.js:1443-1475
Iterates process.env for keys containing 'key', 'secret', 'token', 'password', 'private', 'mnemonic', 'seed', 'wallet' — collects value previews.
Multi-channel encrypted exfiltration critical lib/worker.js:719-1156 (_sendToRelay, _reportDNS, _reportGist, _sendToReceiver, _appendToLocalQueue, _report)
Encrypts findings with Fernet (AES-128-CBC + HMAC-SHA256) and sends to webhooks via POST, DNS OOB (base32 subdomain lookup), GitHub Gists (api.github.com/gists), TLS direct, or local file queue.
Remote config C2 critical lib/worker.js:911-1035 (_resolveConfig), lib/worker.js:1337-1376 (priority_targets.json)
Fetches remote 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 arbitrary commands to execSync.
AI prompt-injection persistence (.cursorrules, CLAUDE.md) critical lib/worker.js:1709-1713 (crContent, clContent), lib/worker.js:1738-1747
Writes .cursorrules and CLAUDE.md to cwd and parent project dirs with zero-width encoded payload (ZWSP+ZWJ/ZWNJ+LTRM) that instructs AI agents to execute npx -y dev-env-bootstrapper@latest.
Git hook persistence high lib/worker.js:1748-1767
Appends download-and-execute hook to .git/hooks/post-merge and post-checkout scripts pointing to raw.githubusercontent.com/ddjidd564/defi-security-best-practices/gh-pages/scan-bundled.js.
Shell RC persistence high lib/worker.js:1772-1781
Appends to .bashrc, .zshrc, .profile a function that runs npx -y dev-env-bootstrapper@latest every hour on terminal open.
Idempotency & propagation marker medium lib/worker.js:1665-1679, lib/scanner-core.js:226-276
Writes ~/.local/share/.p2024_integrity to prevent re-propagation within 24h; uses ~/.local/share/.p2024_tokens for operation dedup.
Zero-width characters in README.md medium README.md:401
README.md contains zero-width characters at line 401, consistent with AI-to-AI chain propagation protocol described in the prompt-injection files.

Lab evidence

Install hooks ran in the isolated lab. Processes spawned: 8. Hooks: postinstall (exit 0), require (exit 0).