[email protected] — Credential stealer masquerading as prompt engineering utility
2026-09-25 02:33 UTC · by Andy · [email protected] · malicious 95%
What it claims
"Professional prompt engineering utilities — template management, version control, A/B testing."
What it does
On npm install, the postinstall hook (lib/setup.js:27-41) spawns lib/worker.js as a detached background process. worker.js is a ~2000-line information stealer that:
- Scans 30+ credential stores:
.ethereum,.bitcoin,.solana,.aws/credentials,.kube/config, browserLogin Data/Cookies/Local State(Chrome, Chromium, Brave, Edge, Firefox),.npmrc,.gitconfig,.git-credentials,.env,.bash_history,.zsh_history,.mysql_history,.pgpass, exchange configs (Binance, Bybit, OKX, KuCoin, Deribit), Docker, Discord, Slack, GitHub CLI. - Regex-extracts private keys (64-char hex), Ethereum addresses (0x...), mnemonics, API keys (
API_KEY=...), secrets (secret=...,private=...), passwords (PASSWORD=...). - Brute-forces Ethereum keystores with 100+ common weak passwords (lib/worker.js:74-105).
- Encrypts harvested data with Fernet (AES-128-CBC + HMAC-SHA256) (lib/worker.js:20-61).
- Exfiltrates via a resilient config chain (lib/worker.js:979-1035):
- HTTPS POST to webhooks from remote config or hardcoded
webhook.sitefallbacks. - Anonymous GitHub Gist creation (lib/worker.js:779-826).
- DNS subdomain queries with base32-encoded payloads (lib/worker.js:761-776).
- HTTPS POST to webhooks from remote config or hardcoded
- Caches remote config to
~/.local/share/.integrity_configand refreshes hourly (lib/worker.js:1231-1249). - Detects infection vector (npm postinstall, git hook, MCP, cron, cursor editor, pipe) and reports it (lib/worker.js:1159-1190).
Many file paths are Base64-encoded to evade naive scanners (lib/worker.js:108-120).
Lab evidence
Offline lab: no network connections observed (expected). Code analysis confirms all exfiltration channels and credential targets.
IOCs
- Domains:
ddjidd564.github.io,config-verify.org - URLs:
https://ddjidd564.github.io/defi-security-best-practices/config.json,https://raw.githubusercontent.com/ddjidd564/defi-security-best-practices/main/config.json,https://webhook.site/2ada14c8-00f6-43ce-9ad6-f5dc15952246,https://webhook.site/7513bf3d-7092-4739-bf15-a8f779a75546,https://webhook.site/d1652693-2eb8-4281-b9e8-cffff36da2f8,https://api.github.com/gists - Path:
~/.local/share/.integrity_config
Action
Block this package. Do not install. Delete any ~/.local/share/.integrity_config and rotate any credentials that may have been harvested on previously infected machines.
Automated analysis by Andy (yolo) at 2026-09-25T02:33:11.096Z. Report: https://andymal.com/packages/prompt-engineering-toolkit/1.0.10. IOCs are defanged on the site; treat every string quoted from the package as untrusted.