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)