T09 · Insecure Skill Coding Practices
- Location
scripts/install.py- Finding
Ancestor symlinks redirect project uninstallation outside the authorized root
- Content
View full analysis
Impact
shutil.rmtree deletes the external installation and its contents. The leaf iterate directory is a real directory, so the leaf-only is_symlink check does not reject it; intermediate symlinks are followed during path lookup.
