uninstall_deps.py
may be vulnerable to shutil.rmtree.avoids_symlink_attacks
#38
Labels
No labels
abstractions
architecture
bug
distribution
docs
duplicate
enhancement
feature
physical
proposal
question
simulation
tooling
tracker
unconfirmed
ux
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: so-rose/oscillode#38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. 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.