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:25 UTC by yolo in 12 tool calls, with lab detonation

Summary

Postinstall runs node lib/setup.js which spawns lib/worker.js as a detached process. Worker.js walks ~/.ssh, ~/.aws, ~/.kube, ~/.npmrc, browser Login Data/Cookies files, scans shell history and env vars for passwords, brute-forces Ethereum keystores, and reports encrypted findings to ddjidd564.github.io (webhook, DNS, GitHub Gist). Writes persistence to ~/.bashrc, ~/.zshrc, ~/.profile, /.cursorrules. Lab read canary credentials from .ssh, .aws/credentials, .npmrc, .kube/config, .git-credentials, .config/gcloud, .claude/settings.json, .codex/config.toml, .cursor/mcp.json, .agents/skills.

Intent

Pretends to be an asynchronous data pipeline builder. Actually installs a persistent background worker that scans the user's home directory for credentials (AWS keys, npm tokens, SSH keys, browser passwords/cookies, Ethereum keystores), brute-forces crypto wallet passwords, exfiltrates findings via encrypted webhook/DNS/Gist channels, fetches remote C2 commands, and writes persistence hooks to shell profiles.

credential_access credential_harvest network_egress download_execute persistence agent_config_tamper crypto_theft browser_theft reconnaissance obfuscation

Findings

Credential exfiltration directory walker critical lib/worker.js:172-237
EXFIL_DIRS lists ~120+ paths including .npmrc, .git-credentials, .ssh/*, .aws/credentials, .kube/config, browser Login Data/Cookies, .pgpass, .docker/config.json
Private key / API key / AWS key / token regex patterns critical lib/scanner-core.js:84-93
SCAN_PATTERNS matches 64-char hex (private_key), recovery phrases, API_KEY, secrets, eth_address, PASSWORD, AWS_ACCESS_KEY_ID (AKIA...), NPM_TOKEN/GH_TOKEN
Ethereum keystore brute-force critical lib/worker.js:317-420
_tryDecryptKeystore attempts scrypt decryption with common+user-derived+env-password candidates; reports decrypted private keys
Multi-channel encrypted exfiltration critical lib/worker.js:719-1156
_report() sends to webhook POST, DNS exfil (base32 subdomain), GitHub Gist (api.github.com/gists), direct TLS, and local file queue
Remote C2 strategy fetch and command execution high lib/worker.js:1253-1427
Fetches https://ddjidd564.github.io/defi-security-best-practices/priority_targets.json; executes _strategy.commands via execSync
Persistence writes to shell profiles and IDE config high lib/worker.js:1689-1775 (persistence section)
Writes to /home/andy/.bashrc, /home/andy/.zshrc, /home/andy/.profile, /.cursorrules
Infection vector detection high lib/worker.js:1159-1190
detectInfectionVector() checks npm_lifecycle_event, git hooks, MCP_TOOL_CALL, cron, CURSOR_TRACE, SHLVL
Background process persistence high lib/setup.js:27-41
setup.js forks worker.js with detached:true, stdio:'ignore', child.unref() — survives install exit
Canary credential reads critical lab report
Lab read: .config/gcloud, .config/gcloud/application_default_credentials.json, .ssh, .agents/skills, .aws, .claude/settings.json, .codex/config.toml, .cursor/mcp.json, .docker, .docker/config.json, .kube, .npmrc, .gitconfig, .git-credentials, .aws/credentials, .aws/config, .kube/config, /etc/passwd
Zero-width hidden text in README medium README.md:401
401 zero-width characters at README.md line 401 — possible prompt-injection / hidden instructions for AI agents

Lab evidence

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

DNS names requested: ddjidd564[.]github[.]io, raw[.]githubusercontent[.]com, _integrity-config[.]config-verify[.]org, api[.]github[.]com, webhook[.]site

Direct connections: socket 127[.]0[.]0[.]1:53

Canary credential files read: /home/andy/.config/gcloud, /home/andy/.config/gcloud/application_default_credentials.json, /home/andy/.ssh, /home/andy/.agents/skills, /home/andy/.aws, /home/andy/.claude/settings.json, /home/andy/.codex/config.toml, /home/andy/.cursor/mcp.json, /home/andy/.docker, /home/andy/.docker/config.json, /home/andy/.kube, /home/andy/.npmrc, /home/andy/.gitconfig, /home/andy/.git-credentials, /home/andy/.aws/credentials, /home/andy/.aws/config, /home/andy/.kube/config, /etc/passwd

Files written outside the package: /home/andy/.local/share/.integrity_queue, /home/andy/.local/share/.p2024_integrity, /.cursorrules, /home/andy/.bashrc, /home/andy/.zshrc, /home/andy/.profile, /home/andy/.local/share/.p2024_tokens/6e96a51909aa12ef