pickle
termKept in this browser · My desk
Python's own binary serialization format, and the module that implements it, which can turn almost any Python object into bytes and back.
Unpickling can run arbitrary code: the documentation warns that the module is not secure and that only trusted data should be unpickled, suggests signing pickled data with HMAC where tampering is possible, and points to JSON for untrusted input. shelve and multiprocessing connections use pickle underneath, and Bandit reports pickle.load and pickle.loads as test B301.
Also known as: Python pickle, unpickling, pickle.loads, shelve