uninstall_deps.py
may be vulnerable to shutil.rmtree.avoids_symlink_attacks
#38
Labels
No Label
abstractions
architecture
bug
distribution
docs
duplicate
enhancement
feature
physical
proposal
question
simulation
tooling
tracker
unconfirmed
ux
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: so-rose/oscillode#38
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Deleting the dependency folder is clean and easy, but there are apparently attacks where symbolic links can be manipulated to delete other things on a user's systems.
Whether this is practical is unknown, but it's worth investigating that our use of
shutil.rmtree
is valid and proper.NOTE: Python does have auditing events internally, which can be hooked into.