[Security][Feature] Use Msgpack in OmniSerializer instead of pickle (#310)

Signed-off-by: gcanlin <canlinguosdu@gmail.com>
This commit is contained in:
Canlin Guo authored and GitHub committed 2025-12-22 13:21:16 +13:00
1 parent a7fe4fba4e
commit 97a5860681
5 files changed
+380 -64

No files matched your search

+7
View File
@@ -58,3 +58,10 @@ repos:
verbose: true
pass_filenames: false
# Insert new entries above the `suggestion` entry
- id: check-pickle-imports
name: Prevent new pickle/cloudpickle imports
entry: python tools/pre_commit/check_pickle_imports.py
language: python
types: [python]
additional_dependencies: [regex]