syllabus
Warn
Audited by Socket on Sep 18, 2026
1 alert found:
AnomalyAnomalyscripts/citation_tracker.py
LOWAnomalyLOW
scripts/citation_tracker.py
The code is a readable local session-tracking CLI with no evident malicious behavior. It contains a genuine path traversal/arbitrary file read-write risk because the user-controlled session name is not validated before being used as a filesystem path. Restrict session names to safe filename characters, resolve and verify paths remain within SESSIONS_DIR, and use safer atomic file handling. The risk is security-relevant but not indicative of malware.
Confidence: 98%Severity: 62%
Audit Metadata