Commit 58b6b1f
committed
Suppress Semgrep findings on shell_open's os.startfile / Popen
Codacy's Semgrep dangerous-spawn/subprocess rules flag os.startfile and
subprocess.Popen on dynamic content; add line-level # nosemgrep with
justification (file path from the allow-listed plan; argv list, no
shell - injection-safe), matching the shell_command handler's pattern.1 parent ef98534 commit 58b6b1f
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
| 75 | + | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
0 commit comments