gmail
Warn
Audited by Socket on Sep 18, 2026
1 alert found:
AnomalyAnomalyscripts/gmail_search.py
LOWAnomalyLOW
scripts/gmail_search.py
The fragment appears to implement a legitimate Gmail API command-line utility, with no clear evidence of intentional malware or supply-chain sabotage. The main security concerns are unsafe pickle deserialization of the OAuth token and insufficient filename sanitization when downloading attachments. The broad full-mail OAuth scope also creates significant impact if credentials are compromised. The supplied fragment is incomplete because several referenced command handlers are missing, but that incompleteness is not itself malicious.
Confidence: 97%Severity: 58%
Audit Metadata