Highlights
Path Traversal: 4 prior fixes. Scrutinize any change in this area.
py7zr.py: most-fixed (3 issues). Treat as high-risk during review.
4 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Path Traversal: Malicious path names in 7z archives can escape the destination directory. Resolving Windows drive letters, null bytes, and symlinks securely is critical to preventing arbitrary file writes.
Denial of Service: Decompression bombs, unlimited parallel workers, and unvalidated stream counts can exhaust system memory, CPU, or process handles. Strict limits on extraction sizes, process counts, and stream validations are necessary.
Insecure Default Initialization: Creating files with overly permissive default Unix file permissions (such as 0o644) could expose sensitive extracted contents to other local users. Default permissions must be restricted to owner-only read/write (0o600).