Enhance sast-rule python/deserialization/rule-pickle.yml
Problem
- Rule is too generic, should only match on
pickle.load
,pickle.loads
,pickle.Unpickler
as well as the_pickle
variants.
Solution
Follow the enhance rule checklist.
pickle.load
, pickle.loads
, pickle.Unpickler
as well as the _pickle
variants.Follow the enhance rule checklist.