z-mail-reader
Warn
Audited by Socket on Aug 4, 2026
1 alert found:
AnomalyAnomalyscripts/listen_emails.py
LOWAnomalyLOW
scripts/listen_emails.py
This wrapper appears intended for email polling/notification, but the fragment contains notable supply-chain/scripting risk: untrusted email fields from read_emails.py are interpolated into an AppleScript command executed via osascript, with only double-quote escaping (injection/scripting control risk). Additionally, generate_sum_md() unexpectedly removes the PID file, which could disrupt supervision or indicate a logic/sabotage issue. No explicit malware or external exfiltration is shown in this fragment, but the incomplete code (missing listen/write_pid/remove_pid and actual sum.md writing) and reliance on a separate helper script prevent high-confidence determination.
Confidence: 62%Severity: 60%
Audit Metadata