log-taker1@0.1.0
Malicious code in log-taker1 (npm)
Analysis
log-taker1@0.1.0 is a credential and data stealer distributed via npm. The package's postinstall hook runs code that performs four exfiltration stages: (1) scans the current working directory for wallet files, .env files, and credential-related documents (targeting keys matching metamask, phantom, trezor, seed, mnemonic, keystore, and related terms); (2) performs a full recursive scan of the entire filesystem (Linux /home, macOS /Users, all Windows drives C: through J:) for the same sensitive file patterns; (3) collects and uploads shell command history from .bash_history, .zsh_history, fish_history, and PowerShell PSReadLine history files, with fallback to running 'bash -c history' and 'zsh -c fc -l -1000'; (4) steals Telegram Desktop session data by locating and compressing the tdata directory (Windows: AppData/Roaming/Telegram Desktop/tdata, macOS: ~/Library/Application Support/Telegram Desktop/tdata) and uploading it. All stolen data is exfiltrated via HTTP multipart POST requests to log-taker[.]store/api/v1 (configurable via the BACKUP_API_URL environment variable). The publisher account uses a random-string username and throwaway email.
- analyzed by
- Leitwacht
- first seen
- Jun 19, 2026, 09:15 PM
- analyzed
- Jun 19, 2026, 09:16 PM
Related advisories
- eslint-helper-1@5.0.4
- eslint-helper@4.0.1
- parket-helper@0.0.1
- parket-flow@3.0.1
- ts-big-ecro@3.8.1
- new-solt-1@0.0.9
- color-utils-eee0@1.0.0
- stream-read-35cf@1.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.