Skip to content

Files

Latest commit

 

History

History
21 lines (14 loc) · 709 Bytes

B301.md

File metadata and controls

21 lines (14 loc) · 709 Bytes

Pattern: Use of possibly insecure pickle module

Issue: -

Description

pickle module appears to be in use, causing a possible security issue. It's not secure against erroneous or maliciously constructed data. It's recommended to never unpickle data received from an untrusted or unauthenticated source.

This rule checks for the following calls:

  • pickle.loads
  • pickle.load
  • pickle.Unpickler
  • cPickle.loads
  • cPickle.load
  • cPickle.Unpickler

Further Reading