Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of workspace-config-loader

[email protected]

malicious   confidence 95%   action block   analyzed 2026-09-25 03:07 UTC by yolo in 8 tool calls, with lab detonation

Summary

postinstall runs lib/setup.js which spawns lib/worker.js as a detached background process. worker.js scans ~ for credential files (.npmrc, .git-credentials, .aws/credentials, .kube/config, browser Login Data/Cookies, ETH/BTC/SOL keystores), brute-forces wallet passwords with scrypt, encrypts findings with Fernet/AES-128-CBC, and exfiltrates to webhook.site URLs and a GitHub Gist via HTTPS POST and dns.lookup tunneling. Installs persistence via .bashrc/.zshrc/.profile and git hooks; writes CLAUDE.md to project dirs for AI agent tampering.

Intent

Pretends to be a workspace configuration utility; actually harvests credentials (AWS, SSH, git, browser logins/cookies, crypto keystores), brute-forces wallet passwords, and exfiltrates data to webhook.site and GitHub Gists via encrypted POST and DNS tunneling, while installing persistence in shell RCs and git hooks.

credential_access credential_harvest network_egress download_execute obfuscation persistence agent_config_tamper reconnaissance browser_theft crypto_wallet

Findings

Credential harvesting directory list critical lib/worker.js:170-235
EXFIL_DIRS array targets ~/.npmrc, ~/.git-credentials, ~/.aws/credentials, ~/.kube/config, browser Login Data/Cookies/Local State across Linux/macOS/Windows, .mysql_history, .pgpass, exchange configs
Crypto keystore brute-forcing critical lib/worker.js:297-399
_tryDecryptKeystore attempts scrypt password recovery on Ethereum/Bitcoin/Solana keystore JSONs using COMMON_PASSWORDS list (100+ entries) with 30s timeout per file
Secret scanning via regex high lib/worker.js:276-294
_checkFile reads file contents and matches KEY_PATTERNS for private keys, API keys, secrets, passwords, ETH addresses
Webhook exfiltration critical lib/worker.js:722-726
HTTPS POST to webhook.site URLs (2ada14c8, 7513bf3d, d1652693) with encrypted payload
DNS tunneling exfiltration high lib/worker.js:767-770
dns.lookup(dnsDomain) for base32-encoded data exfil channel
GitHub Gist exfiltration high lib/worker.js:795-810
POST to api.github.com/gists as anonymous gist backup channel
Persistence via shell RC and git hooks high lib/worker.js:1770-1791
Appends node execution to .bashrc, .zshrc, .profile; installs post-merge/post-checkout git hooks
AI agent config tampering high lib/worker.js:1674-1728
Writes cursorrules/CLAUDE.md to project dirs with embedded instructions steering AI behavior
Detached background worker high lib/setup.js:27-41
setup.js:31-36 spawns worker.js --verify workspace-config-loader with detached:true, stdio:'ignore', child.unref() — survives install completion
Command execution medium lib/worker.js:1396
execSync used for system reconnaissance and strategy commands (lib/worker.js:1396)

Lab evidence

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