vetkit.py.deserialization.pickle-file-load
A file is loaded with a pickle-based loader (joblib.load, pandas.read_pickle, torch.load). Loading an untrusted file runs arbitrary code.
Last updated:
Suite: Security
python
A file is loaded with a pickle-based loader (joblib.load, pandas.read_pickle, torch.load). Loading an untrusted file runs arbitrary code.
Category: SECURITY · Engine rule severity: INFO
How to fix it
Only load model/data files from trusted, integrity-checked locations; prefer formats such as safetensors, ONNX, Parquet or JSON.
References
Source: packages/engine/rules/sast/python.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.