Security hardening patches for dev#3201
Merged
Merged
Conversation
- gitdumper: validate downloaded file paths stay within repo dir - gitdumper/git_clone: pass safe config flags to all git commands (disable fsmonitor, symlinks, sshCommand; enable fsckObjects) - apkpure: reject app_id values containing path separators
Write a valid empty git index when checkout fails, preventing attacker-controlled index entries from surviving.
Restrict preload cache deserialization to block arbitrary class instantiation. Cap unarchive extracted size at 1 GB.
Pre-check declared uncompressed size from 7z/tar listing before extracting. Thread a shared byte budget through recursive calls so nested archives cannot bypass the cap independently.
ausmaster
approved these changes
Jun 17, 2026
Contributor
🚀 Performance Benchmark Report
|
Also fix tagified postman workspace path in trufflehog test assertions.
ausmaster
approved these changes
Jun 17, 2026
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## dev #3201 +/- ##
======================================
+ Coverage 90% 90% +1%
======================================
Files 453 453
Lines 45982 46101 +119
======================================
+ Hits 41095 41216 +121
+ Misses 4887 4885 -2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Cherry-pick of security patches from #3199 (stable) into dev:
postman_downloadvia path traversalgitdumperandgit_clone(safe git flags, path traversal check, empty index on checkout failure for CVE-2025-10283)apkpure(reject unsafeapp_id)pickle.loadin preload cache to block arbitrary class instantiationunarchiveextracted size at 1 GB with pre-extraction declared-size check and cumulative budget through recursive calls