pythonsecurity-s5135-deserialization-injection-mining
Read-only mining codemod for pythonsecurity:S5135: Deserialization should not be vulnerable to injection attacks.
Emits python_security_finding metric rows with blocking severity. Source files are never modified.
Rule
- ID:
pythonsecurity:S5135 - Severity: blocking
- Remediation: Avoid deserializing untrusted data with pickle, yaml.load, or marshal
Usage
bash
Development
bash