-
-
Notifications
You must be signed in to change notification settings - Fork 681
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
From Python 3.12 docs:
The extraction methods in tarfile, and shutil.unpack_archive(), have a new a filter argument that allows limiting tar features than may be surprising or dangerous, such as creating files outside the destination directory. See Extraction filters for details. In Python 3.14, the default will switch to 'data'. (Contributed by Petr Viktorin in PEP 706.)
Describe the solution you'd like
Bandit should take advantage of this new tarfile function.
Describe alternatives you've considered
n/a
Additional context
https://docs.python.org/3.12/whatsnew/3.12.html#new-features
Love this idea? Give it a 👍. We prioritize fulfilling features with the most 👍.
sahal-mulki, mborsetti, joseparajelesGL, parthshah86, olivierlefloch and 1 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request