Skip to content

Commit 4742262

Browse files
committed
fix: harden import-only pickle global detection
1 parent ae2b01c commit 4742262

File tree

3 files changed

+332
-101
lines changed

3 files changed

+332
-101
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8181

8282
### Fixed
8383

84+
- **security:** detect import-only pickle `GLOBAL`/`STACK_GLOBAL` references while preserving safe constructor imports and avoiding mislabeling executed call chains as import-only
8485
- **security:** harden TensorFlow weight extraction limits to bound actual tensor payload materialization, including malformed `tensor_content` and string-backed tensors, and continue scanning past oversized `Const` nodes
8586
- **security:** stream TAR members to temp files under size limits instead of buffering whole entries in memory during scan
8687
- **security:** inspect TensorFlow SavedModel function definitions when scanning for dangerous ops and protobuf string abuse, with function-aware finding locations

0 commit comments

Comments
 (0)