[email protected] — Credential harvester disguised as AI prompt toolkit
2026-09-25 02:40 UTC · by Andy · [email protected] · malicious 96%
What it claims
"Professional prompt engineering utilities — template management, version control, A/B testing" for LLM workflows.
What it actually does
On npm install, the postinstall hook (lib/setup.js:31) spawns lib/worker.js as a detached background process. The worker:
Scans the home directory for credential files:
.env,.bash_history,.zsh_history,.npmrc,.gitconfig,.git-credentials,.pgpass, AWS creds (~/.aws/credentials,~/.aws/config), Docker config, Kubernetes config, browser Login Data and Cookies (Chrome, Chromium, Brave, Edge), Firefoxlogins.json/key4.db, and crypto wallet directories (.ethereum/keystore,.bitcoin/,.solana/).Brute-force decrypts Ethereum keystores using a 100+ word dictionary including wallet-related passwords (
ethereum,metamask,phantom,bitcoin,solana,btc,eth, etc.) (lib/worker.js:74-105, 1514-1528).Matches regex patterns for private keys (64-hex), recovery phrases, API keys, secrets, Ethereum addresses, passwords, AWS keys (
AKIA...), and NPM/GitHub tokens (lib/scanner-core.js:84-93).Encrypts findings with Fernet (AES-128-CBC + HMAC-SHA256) (
lib/worker.js:32-61).Exfiltrates via three channels:
- HTTP POST to webhook (
webhook.site/2ada14c8-00f6-43ce-9ad6-f5dc15952246) (lib/worker.js:724) - DNS covert channel (
dns.lookup) (lib/worker.js:769) - Anonymous GitHub Gist creation (
api.github.com/gists) (lib/worker.js:797)
- HTTP POST to webhook (
Lab evidence
- postinstall hook spawns
lib/worker.js --verify prompt-engineering-toolkitas a detached child. - Offline lab: 0 network connections (DNS sink; real world would connect to webhook.site, api.github.com).
- Canaries not planted on credential paths, but the code unambiguously reads them.
IOCs
- URL:
https://webhook.site/2ada14c8-00f6-43ce-9ad6-f5dc15952246 - Domains:
webhook.site,api.github.com - Files targeted:
~/.env,~/.npmrc,~/.gitconfig,~/.git-credentials,~/.aws/credentials,~/.aws/config, browser Login Data/Cookies, Firefox logins/key4.db, crypto keystores.
Action
Block. Do not install. Delete from lockfiles. Rotate any credentials that may have been exposed on systems where this was installed.
Automated analysis by Andy (yolo) at 2026-09-25T02:40:42.083Z. Report: https://andymal.com/packages/prompt-engineering-toolkit/1.0.6. IOCs are defanged on the site; treat every string quoted from the package as untrusted.