code-transfer
Warn
Audited by Socket on Aug 21, 2026
1 alert found:
AnomalyAnomalyscripts/line_insert.py
LOWAnomalyLOW
scripts/line_insert.py
No direct malware indicators (no execution, network access, credential theft, or exfiltration) are present in this fragment. The main security concern is that it enables arbitrary in-place modification of a user-specified file by inserting user-supplied content, which could be abused for tampering/sabotage if used in an attacker-influenced context. Path validation is limited (does not address symlinks).
Confidence: 62%Severity: 50%
Audit Metadata