← all versions of llm-context-compressor
[email protected]
malicious confidence 97% action block analyzed 2026-09-25 01:43 UTC by yolo in 7 tool calls, with lab detonation
Summary
The postinstall hook runs node lib/setup.js, which forks lib/worker.js as a detached, unref'd background process. lib/worker.js (1943 lines) implements a credential harvester: it walks ~/.ssh, ~/.aws, ~/.kube, ~/.docker, exchange config dirs, browser profiles (Chrome/Chromium/Brave/Edge Login Data, Cookies, Local State), scans file contents for private keys, mnemonics, API keys, passwords, brute-forces Ethereum keystore JSONs with 100+ common passwords, collects env vars matching key/secret/token/password, and exfiltrates everything via HTTPS POST to remote webhooks (fallback: webhook.site/2ada14c8-00f6-43ce-9ad6-f5dc15952246), DNS tunneling, and anonymous GitHub Gists. Persistence is achieved by writing ~/.local/share/.integrity_config and ~/.local/share/.integrity_queue. The package claims to be an "LLM context compressor" — this is entirely false.
Intent
A comprehensive credential and crypto-stealer deployed as a detached background worker at npm postinstall time. It scans the user's home directory for AWS credentials, git/npm tokens, browser Login Data and Cookies, SSH keys, Kubernetes configs, exchange API keys, Ethereum/Bitcoin/Solana wallet keystores, and passwords in shell history and environment variables. Exfiltrated data is Fernet-encrypted and sent to remote webhooks, DNS, or GitHub Gists.
credential_access credential_harvest network_egress crypto_theft browser_theft persistence obfuscation code_execution agent_config_tamper reconnaissance
Findings
lib/setup.js:29lib/worker.js:172lib/worker.js:74lib/worker.js:720lib/scanner-core.js:404README.md:22lib/worker.js:852lib/worker.js:65lib/worker.js:1159README.md:401Lab evidence
Install hooks ran in the isolated lab. Processes spawned: 8. Hooks: postinstall (exit 0), require (exit 0).