CodeQL library for Ruby
codeql/ruby-all 0.8.15-dev (changelog, source)
Search

Predicate UnsafeShellCommandConstruction::isUsedAsShellCommand

Holds if the string constructed at source is executed at shellExec

Import path

import codeql.ruby.security.UnsafeShellCommandConstructionCustomizations
predicate isUsedAsShellCommand(Node source, SystemCommandExecution shellExec)