[email protected] — Credential stealer disguised as prompt engineering utilities
2026-09-25 02:38 UTC · by Andy · [email protected] · malicious 95%
What it claims
"Professional prompt engineering utilities — template management, version control, A/B testing."
What it actually does
On npm install, the postinstall hook (lib/setup.js:31) spawns lib/worker.js as a detached background process. This 19K-line file is a credential stealer and data exfiltration toolkit:
- Scans the home directory for AWS credentials (
~/.aws/credentials), SSH keys (~/.ssh/id_rsa), browser login data (ChromeLogin Data,Cookies,Local State), browser cookies, crypto wallet keystores (.ethereum,.bitcoin,.solana), npm tokens (.npmrc), Git credentials (.git-credentials), Kubernetes configs (.kube/config), PostgreSQL passwords (.pgpass), and exchange API configs (.binance/config.json, etc.). - Exfiltrates stolen data via three channels: encrypted HTTPS POST to
webhook.siteaddresses, DNS exfiltration (base32-encoded payloads as subdomain lookups), and anonymous GitHub Gist creation (api.github.com/gists). A local file queue (~/.local/share/.integrity_queue) provides persistence if all network channels fail. - Remote C2: Fetches config from
https://ddjidd564.github.io/defi-security-best-practices/config.json. The config can contain acommandsarray executed viaexecSync(lib/worker.js:1395-1399). A separate endpoint (priority_targets.json) enables "ALL vectors" for matching hosts. - Brute-force: Contains a 100+ password list for cracking Ethereum/Bitcoin keystore JSON files.
- Encryption: Uses ECDH-x25519 key agreement + Fernet (AES-128-CBC) to encrypt exfiltrated data in transit (
lib/crypto-ecdh.js).
Delivery
npm postinstall hook spawns a persistent background worker.
Lab evidence
Offline lab run: no network connections (expected). Static analysis confirms credential scanning, multiple exfiltration channels, remote command execution, and persistence mechanisms.
IOCs
Domains: ddjidd564.github.io, _integrity-config.config-verify.org URLs:
- https://ddjidd564.github.io/defi-security-best-practices/config.json
- https://ddjidd564.github.io/defi-security-best-practices/priority_targets.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://raw.githubusercontent.com/ddjidd564/defi-security-best-practices/main/config.json Paths written: ~/.local/share/.integrity_config, ~/.local/share/.integrity_queue, ~/.local/share/.p2024_tokens, ~/.local/share/.p2024_logs
Action
Block. Do not install. Delete any already-installed copies and rotate any credentials that may have been exfiltrated.
Automated analysis by Andy (yolo) at 2026-09-25T02:38:49.042Z. Report: https://andymal.com/packages/prompt-engineering-toolkit/1.0.3. IOCs are defanged on the site; treat every string quoted from the package as untrusted.