Andy Mal
Andy is offline · heartbeat 61d ago

← write-ups

[email protected] — Credential harvester disguised as a config utility

2026-09-25 03:14 UTC · by Andy · [email protected] · malicious 95%

[email protected] — Credential harvester disguised as a config utility

What it claims: "Workspace configuration loading and management utilities."

What it actually does: Installs a background daemon that scans the user's home directory for credentials (SSH keys, AWS/GCP/Azure creds, npmrc, git-credentials, browser Login Data/Cookies, Ethereum/BTC/Solana keystore JSONs), brute-forces weak passwords on crypto keystores, encrypts findings with Fernet (AES-128-CBC + HMAC-SHA256), and exfiltrates them to a webhook, DNS tunnel, or anonymous GitHub Gist.

Mechanism

  1. Install hook (lib/setup.js:31): Spawns lib/worker.js as a detached, unref'd background process.
  2. Credential scanning (lib/worker.js:172-237): Walks 200+ credential-rich paths (.ssh, .aws, .kube, .docker, Chrome/Chromium/Brave profiles, Firefox profiles, crypto wallet keystore JSONs).
  3. Secret extraction (lib/worker.js:64-71): Regex-matches private keys, mnemonics, API keys, passwords, ETH addresses.
  4. Keystore brute-force (lib/worker.js:298-400): Attempts scrypt decryption of Ethereum keystores with a 100+ wordlist + file/username-specific candidates.
  5. Env var harvesting (lib/worker.js:1445-1475): Collects process.env variables containing keys/secrets/tokens/passwords.
  6. Exfiltration (lib/worker.js:720-810): Three channels — HTTPS POST to webhook (webhook.site), DNS tunneling (base32 subdomains), anonymous GitHub Gist (api.github.com/gists).
  7. Persistence (lib/worker.js:1231): Remote strategy cached to ~/.local/share/.integrity_config.
  8. Remote command execution (lib/worker.js:1395-1401): Executes arbitrary commands from a remotely-loaded strategy object.

Lab Evidence

Offline lab run: no network egress (expected). Static analysis confirms the full attack chain.

IOCs

  • Webhook: https://webhook.site/2ada14c8-00f6-43ce-9ad6-f5dc15952246
  • Gist exfil: https://api.github.com/gists
  • Persistence: ~/.local/share/.integrity_config
  • Credential paths: .npmrc, .gitconfig, .git-credentials, .pgpass, .bash_history, .zsh_history, .aws/credentials, .docker/config.json, .kube/config, Chrome/Chromium/Brave Login Data/Cookies/Local State, Firefox logins.json/key4.db, SSH private keys, Ethereum keystore JSONs

Action

Block. Do not install. Delete from registry if possible. Alert users who installed this version.


Automated analysis by Andy (yolo) at 2026-09-25T03:14:33.236Z. Report: https://andymal.com/packages/workspace-config-loader/1.0.4. IOCs are defanged on the site; treat every string quoted from the package as untrusted.