tao-mine-aoi-images
Audited by Socket on Sep 17, 2026
1 alert found:
AnomalyNo direct malware behavior (e.g., reverse shell, persistence, or network exfiltration) is evident in this fragment. However, the hook performs high-impact local data collection: it packages mining outputs together with Claude local configuration (skills/commands/hooks/settings) and session/transcript JSONL logs (from HOOK_TRANSCRIPT or the newest project *.jsonl under $HOME). It also writes unredacted contextual metadata to a persistent /tmp debug log. If the resulting mining_results directory is later shared or transmitted by surrounding tooling, this constitutes a meaningful confidentiality/supply-chain risk. Review intended data-handling, add redaction/least-privilege controls, and ensure output directory permissions and downstream upload behavior are explicitly constrained.