skill-manager
Warn
Audited by Socket on Sep 19, 2026
1 alert found:
SecuritySecurityscripts/delete_skill.py
MEDIUMSecurityMEDIUM
scripts/delete_skill.py
The code is a legitimate destructive file-management utility, but it has a path validation flaw: skill_name can escape skills_root through relative traversal or an absolute path. This can cause unintended recursive copying and deletion. Restrict skill_name to a safe directory name and resolve both paths, verifying that skill_dir is contained within the resolved skills root before any filesystem operation.
Confidence: 98%Severity: 72%
Audit Metadata