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

Predicate insecureDependencyUrl

Holds if url is a string containing a URL that uses an insecure protocol. msg is the alert message that will be displayed to the user.

Import path

import codeql.ruby.security.InsecureDependencyQuery
predicate insecureDependencyUrl(Expr url, string msg)