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

Predicate matchesDangerousPrefix

Holds if t may match the dangerous prefix and some suffix, indicating intent to prevent a vulnerability of kind kind.

Import path

import codeql.ruby.security.IncompleteMultiCharacterSanitizationQuery
predicate matchesDangerousPrefix(EmptyReplaceRegExpTerm t, string prefix, string kind)