study
Warn
Audited by Socket on Jul 27, 2026
1 alert found:
AnomalyAnomalyviewer/handler.py
LOWAnomalyLOW
viewer/handler.py
No clear evidence of overt malicious behavior (e.g., backdoor, exfiltration, keylogging, cryptomining) is present in this fragment. However, there are notable security risks: untrusted request data (especially concept_id) is passed to a subprocess (record-review.py) and untrusted inputs are passed to render_diagram_svg to generate SVG returned to clients. The file serving logic appears to include path traversal mitigations (validate_slug + safe_resolve). Review the implementations of record-review.py, safe_resolve, merge_learning_record_event/write_learning_record, and render_diagram_svg to determine whether these sinks enable real sabotage or data access.
Confidence: 55%Severity: 55%
Audit Metadata