CodeQL library for Python
codeql/python-all 1.0.5-dev (changelog, source)
Search

Predicate UnsafeShellCommandConstruction::isUsedAsShellCommand

Holds if the string constructed at source is executed at shellExec

Import path

import semmle.python.security.dataflow.UnsafeShellCommandConstructionCustomizations
predicate isUsedAsShellCommand(Node source, SystemCommandExecution shellExec)