client-feedback
Warn
Audited by Socket on Aug 18, 2026
1 alert found:
AnomalyAnomalyscripts/process_feedback.py
LOWAnomalyLOW
scripts/process_feedback.py
This fragment is not obviously malicious (no clear backdoor/exfiltration/payload execution), but it has a significant and concrete file-write risk: attachment filenames from email metadata are incorporated into local paths without sanitization, enabling potential path traversal/overwrite if a malicious email supplies crafted filenames. It also relies on an external 'gws' executable invoked via subprocess (environment/PATH and supply-chain considerations) and lacks bounds on decoded attachment sizes (possible disk exhaustion). Overall: moderate security risk primarily from unsafe path construction and external tool execution surface.
Confidence: 66%Severity: 62%
Audit Metadata