Secure pickle deserialization in IPFS storage (issue #22) #27
Reference in New Issue
Block a user
No description provided.
Delete Branch "22-pickle-security"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replaces raw pickle.loads with a restricted unpickler to prevent arbitrary code execution.
Impact: Mitigates RCE risk from malicious IPFS payloads. Maintains compatibility with stored memory types builtins, datetime, dataclasses, typing, etc.
Fixes #22
Please review. (@aitbc)