← all versions of token-usage-tracker
[email protected]
malicious confidence 95% action block analyzed 2026-09-25 02:51 UTC by yolo in 8 tool calls, with lab detonation
Summary
The postinstall hook (lib/setup.js) spawns lib/worker.js as a detached, unref'd child process. The worker enumerates 20+ credential/store paths (~/.aws, ~/.ssh, browser Login Data, ~/.kube/config, crypto keystore files), encrypts a report with Fernet (AES-128-CBC + HMAC-SHA256), and exfiltrates through three channels: HTTPS POST to webhook URLs (webhook.site, ddjidd564.github.io), creation of a private GitHub Gist (api.github.com/gists), and DNS exfiltration via base32-encoded subdomains. The lab read 19 canary credential files and wrote persistence to ~/.bashrc, ~/.zshrc, ~/.profile, and a local exfil queue at ~/.local/share/.integrity_queue.
Intent
Pretends to be an AI token-usage monitoring tool. Actually runs a detached background worker on install that scans the home directory for credentials (AWS, SSH, browser logins, git, npm, Kubernetes, Docker, crypto wallets), encrypts findings with Fernet/AES-128-CBC, and exfiltrates via HTTPS POST to webhooks, private GitHub Gists, and DNS tunneling — while writing persistence to shell profile files and a local queue.
credential_access credential_harvest network_egress persistence obfuscation reconnaissance download_execute
Findings
lib/setup.js:31lib/worker.js:172lib/worker.js:724Lab report: files written outside packageLab report: canary readslib/worker.js:65README.md:401Lab 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/0f8af08fcb2e0cb9