file-sorter

Warn

Audited by Socket on Aug 28, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/file_sorter.py

No clear malicious behavior or malware is present. The code is a readable file-sorting utility with explicit destructive execution and reasonable scan-time safeguards. The main security weakness is authorization: crafted plan or undo JSON can cause file moves outside the intended scan root because apply_plan() and undo_plan() do not enforce containment of all source and destination paths. This is a security risk when plan files can be modified or supplied by an untrusted party.

Confidence: 98%Severity: 62%
Audit Metadata
Analyzed At
Aug 28, 2026, 10:09 AM
Package URL
pkg:socket/skills-sh/bahayonghang%2Fmy-ai-cli-toolkit%2Ffile-sorter%2F@d1b4a4bbca7abe69033bd5b9f22621a013bb5fd637d9c2d9cef313d8cc9df950
Security Audit — socket — file-sorter