mirror of
https://github.com/github/codeql.git
synced 2026-05-03 12:45:27 +02:00
Added two new CMDi sinks fot python's stdlib
This commit is contained in:
@@ -1169,7 +1169,9 @@ private module StdlibPrivate {
|
||||
private class SubprocessPopenCall extends SystemCommandExecution::Range, DataFlow::CallCfgNode {
|
||||
SubprocessPopenCall() {
|
||||
exists(string name |
|
||||
name in ["Popen", "call", "check_call", "check_output", "run"] and
|
||||
name in [
|
||||
"Popen", "call", "check_call", "check_output", "run", "getoutput", "getstatusoutput"
|
||||
] and
|
||||
this = subprocess().getMember(name).getACall()
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user