Recent Releases of pypickle

pypickle - 2.0.1

Some security checks, such as builtinsor os, can introduce many false positive detections. I fixed this by making some modules more specific.

  • Checks of builtins, os , sys and subprocess modules are more specific.

- Python
Published by erdogant about 1 year ago

pypickle - 2.0.0

This is a large update where many security mechanisms are incorporated in the loading and saving of pickle files. Updating to this version can break your pipeline! It is recommended to first look at the changes in saving and loading over here and here. Overall, save and load still work in the same manner, but with restrictions.

The new updates are as following: Save * Home and Temp directories are safe locations to save your pickle file and are allowed by default * To save outside the home and temp directory, you need to set the parameter: allow_external=True * It is not allowed to save in system-critical paths. See here for more information. * The extension of the pickle file must be one of these: .pkl, .pickle, .pklz, .pbz2 * Path traversal detection is implemented to detect and block path traversal attempts

Load * Loading pickle files now contains a validation step that checks for high-risk modules before loading. See here for the list. * To load risky modules, it must be explicitly added via the validate parameter or disable the validation using validate=False (not recommended). * Before loading pickle files, the modules stored in the pickle file can be checked using the validate_modules function without loading them. See here for more details.

General fixes * More logging * Code refactoring * Code cleaning * Updating docstrings * This update will solve issues #2 #3

- Python
Published by erdogant about 1 year ago

pypickle - 1.1.5

Fix for the minimum logging level of INFO. All levels, including None, are available again.

- Python
Published by erdogant about 1 year ago

pypickle - 1.1.4

  • bugfix syntax error in logger

- Python
Published by erdogant about 1 year ago

pypickle - v1.1.3

  • pyproject.toml updates with license.file = "LICENSE"
  • logger updated

- Python
Published by erdogant about 1 year ago

pypickle - 1.1.1

  • update setup.py into pyproject.toml
  • Added logging

- Python
Published by erdogant over 1 year ago

pypickle - v1.1.0

  • Added new input arguments for saving and loading of python 2 versions
    • fix_imports
    • encoding

- Python
Published by erdogant over 4 years ago

pypickle - 1.0.0

  • added doi

- Python
Published by erdogant over 4 years ago

pypickle - 0.1.1

  • included licence to setup file
  • added unit tests
  • added citation file

- Python
Published by erdogant over 4 years ago

pypickle - 0.1.0

  • initialize release

- Python
Published by erdogant almost 6 years ago