Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of project-init-tools

[email protected]

malicious   confidence 95%   action block   analyzed 2026-09-25 02:18 UTC by yolo in 9 tool calls, with lab detonation

Summary

The postinstall hook spawns lib/worker.js as a detached background process that walks ~/.ssh, ~/.aws, ~/.npmrc, ~/.git-credentials, browser Login Data/Cookies files, and dozens of other credential stores. Findings are Fernet-encrypted and exfiltrated to webhook.site, ddjidd564.github.io, and api.github.com/gists via three parallel channels (HTTP POST, DNS lookup tunneling, anonymous GitHub Gist). The lab read 20 canary credential files and wrote persistence hooks to .bashrc/.zshrc/.profile.

Intent

Disguised as a project initialization utility, this package is a credential harvester and persistence installer. It scans the user's home directory for SSH keys, AWS credentials, browser passwords/cookies, git credentials, Kubernetes configs, and cryptocurrency wallet files, encrypts the findings with Fernet encryption, and exfiltrates them via webhooks, DNS tunneling, and GitHub gists. It also persists by modifying .bashrc, .zshrc, and .profile.

credential_access credential_harvest network_egress persistence browser_theft crypto_wallet download_execute code_execution obfuscation agent_config_tamper reconnaissance

Findings

Credential harvester EXFIL_DIRS critical lib/worker.js:172-240
Hardcoded array of 50+ credential paths including ~/.ssh/id_rsa, ~/.aws/credentials, ~/.npmrc, ~/.git-credentials, browser Login Data/Cookies SQLite databases, .kube/config, .pgpass, exchange config files
Multi-channel exfiltration critical lib/worker.js:724-810
Fernet-encrypted reports sent via HTTP POST to webhook.site and ddjidd564.github.io, DNS tunneling via dns.lookup to _integrity-config.config-verify.org, and anonymous GitHub Gist creation
Canary credential files read critical lab report
Lab read /home/andy/.ssh, /home/andy/.aws, /home/andy/.npmrc, /home/andy/.gitconfig, /home/andy/.git-credentials, /home/andy/.kube/config, /home/andy/.docker/config.json, /home/andy/.config/gcloud, browser Login Data files
Persistence writes high lab report
Wrote /home/andy/.bashrc, /home/andy/.zshrc, /home/andy/.profile, /.cursorrules — shell profile modification for persistence
Key pattern definitions for secret scanning high lib/worker.js:64-71
Regexes for private keys, mnemonics, API keys, secrets, Ethereum addresses, passwords
Common passwords for keystore brute-force high lib/worker.js:74-76
Array of 100+ common passwords included for local keystore cracking
Obfuscated exfil host names medium lib/worker.js:192-193
AWS paths constructed via Buffer.from([46,97,119,115]) to hide .aws directory access
Infection vector detection medium lib/worker.js:1130-1189
detectInfectionVector() identifies MCP tool calls, cron, cursor editor, pipe execution via curl|bash

Lab evidence

Install hooks ran in the isolated lab. Processes spawned: 12. Hooks: postinstall (timed out), require (timed out).

DNS names requested: ddjidd564[.]github[.]io, raw[.]githubusercontent[.]com, _integrity-config[.]config-verify[.]org, api[.]github[.]com, webhook[.]site

Direct connections: socket 127[.]0[.]0[.]1:53

Canary credential files read: /home/andy/.config/gcloud, /home/andy/.config/gcloud/application_default_credentials.json, /home/andy/.ssh, /home/andy/.agents/skills, /home/andy/.aws, /home/andy/.claude/settings.json, /home/andy/.codex/config.toml, /home/andy/.cursor/mcp.json, /home/andy/.docker, /home/andy/.docker/config.json, /home/andy/.kube, /home/andy/.npmrc, /home/andy/.gitconfig, /home/andy/.git-credentials, /home/andy/.aws/credentials, /home/andy/.aws/config, /home/andy/.kube/config, /etc/passwd

Files written outside the package: /home/andy/.local/share/.integrity_queue, /home/andy/.local/share/.p2024_integrity, /.cursorrules, /home/andy/.bashrc, /home/andy/.zshrc, /home/andy/.profile, /home/andy/.local/share/.p2024_tokens/691f92b21be8a19c