File tree Expand file tree Collapse file tree 3 files changed +204
-28905
lines changed
Expand file tree Collapse file tree 3 files changed +204
-28905
lines changed Original file line number Diff line number Diff line change 1+ rules :
2+ - id : python.lang.security.audit.subprocess-shell-true.subprocess-shell-true
3+ pattern : |
4+ subprocess.run(..., shell=True)
5+ message : " Unsafe command execution with shell=True"
6+ severity : WARNING
7+ languages : [python]
8+
9+ - id : python.lang.security.audit.hardcoded-password.hardcoded-password
10+ pattern : |
11+ $PASSWORD = "..."
12+ message : " Hardcoded password detected"
13+ severity : WARNING
14+ languages : [python]
15+
16+ - id : python.lang.security.audit.pickle.avoid-pickle
17+ pattern : |
18+ pickle.loads(...)
19+ message : " Unsafe deserialization with pickle"
20+ severity : WARNING
21+ languages : [python]
22+
23+ - id : python.lang.security.audit.os-system.os-system
24+ pattern : |
25+ os.system(...)
26+ message : " Unsafe command execution with os.system"
27+ severity : WARNING
28+ languages : [python]
You can’t perform that action at this time.
0 commit comments