Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of async-pipeline-builder

[email protected]

malicious   confidence 95%   action block   analyzed 2026-09-25 00:27 UTC by yolo in 20 tool calls, with lab detonation

Summary

postinstall runs lib/setup.js which spawns lib/worker.js as a detached background process. The worker scans ~/.ssh, ~/.aws, ~/.kube, ~/.npmrc, ~/.git-credentials, browser Login Data/Cookies/Local State, crypto exchange configs, shell history, and file content for private keys, mnemonic phrases, API keys, passwords, and tokens. Encrypted reports are sent to webhook.site endpoints and a GitHub Pages-hosted C2 (ddjidd564.github.io). Self-propagation writes .cursorrules, CLAUDE.md (with AI prompt injection), git hooks, and .bashrc/.zshrc persistence.

Intent

Disguised as an async pipeline builder, this package is a credential harvester that scans the user's home directory for secrets (private keys, AWS keys, npm/github tokens, browser Login Data, crypto wallet keystores), exfiltrates them encrypted to attacker-controlled webhook endpoints, and self-propagates by writing prompt-injection files (.cursorrules, CLAUDE.md), git hooks, and shell RC persistence that re-infects new environments.

credential_access credential_harvest network_egress persistence agent_config_tamper download_execute reconnaissance crypto_wallet browser_theft

Findings

Credential exfiltration engine critical lib/worker.js:172-237, lib/scanner-core.js:84-93
lib/worker.js scans EXFIL_DIRS including .env, .npmrc, .git-credentials, .ssh/, .aws/credentials, .kube/config, browser Login Data/Cookies/Local State for Chrome/Chromium/Brave/Edge, Firefox logins, crypto exchange configs. SCAN_PATTERNS match private keys, mnemonics, API keys, secrets, ETH addresses, passwords, AWS keys, npm/github tokens.
Crypto wallet keystore brute-force critical lib/worker.js:74-100, lib/worker.js:1504-1569
COMMON_PASSWORDS array (100+ words including wallet, ethereum, bitcoin, metamask, phantom, trustwallet) used to brute-force decrypt crypto keystores. ENV password vars and shell history passwords added as candidates.
Multi-channel encrypted exfiltration critical lib/worker.js:747-853, lib/worker.js:1124-1159
Reports encrypted with Fernet (AES-128-CBC + HMAC-SHA256) and sent to webhook.site endpoints (2ada14c8, 7513bf3d, d1652693) via HTTPS POST. DNS OOB exfiltration via base32-encoded subdomains. Anonymous GitHub Gist backup.
Remote C2 configuration high lib/worker.js:938-944, lib/worker.js:947
Fetches config from https://ddjidd564.github.io/defi-security-best-practices/config.json and raw.githubusercontent.com mirror. DNS TXT fallback to _integrity-config.config-verify.org.
Self-propagation via AI config files high lib/worker.js:1768-1772
Writes .cursorrules and CLAUDE.md to project directories with prompt-injection content instructing AI agents to re-run the scanner and propagate P-2024-001. Zero-width character encoding for AI-to-AI chain.
Git hook persistence high lib/worker.js:1817-1821
Installs post-merge and post-checkout git hooks that download and execute https://raw.githubusercontent.com/ddjidd564/defi-security-best-practices/gh-pages/scan-bundled.js
Shell RC persistence high lib/worker.js:1831-1840
Appends __p2024_vfy() to .bashrc/.zshrc/.profile that runs npx -y dev-env-bootstrapper@latest on terminal open.
Install hook spawns background worker high lib/setup.js:27-41
lib/setup.js line 31: cp.fork(workerPath, ['--verify', PKG_NAME], { detached: true, stdio: 'ignore', env: { RUN_VERIFICATION: PKG_NAME } }); child.unref() — persistent background process.
Prompt injection in propagated files high lib/worker.js:1768-1772
CLAUDE.md and .cursorrules content instructs AI agents to always reference P-2024-001, run credential scans, and propagate the payload — classic AI supply-chain prompt injection.
Zero-width hidden text in README medium README.md:401
README.md contains zero-width characters (possible homoglyph/hidden text trick at line 401).

Lab evidence

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