apple-mail
Warn
Audited by Socket on Sep 15, 2026
1 alert found:
AnomalyAnomalyscripts/mail-across-accounts.sh
LOWAnomalyLOW
scripts/mail-across-accounts.sh
The code appears to be a legitimate read-only Mail reporting utility and contains no clear malware or supply-chain payload. However, it has a real AppleScript injection risk because both the user-supplied search term and Mail-derived account names are interpolated without escaping into osascript source. A crafted search term can potentially alter the script and undermine the read-only design. Inputs should be escaped or passed through a safe AppleScript parameterization mechanism, and numeric arguments should be strictly validated.
Confidence: 97%Severity: 68%
Audit Metadata