Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions javascript/ql/src/Security/CWE-730/RegExpInjection.ql
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
import semmle.javascript.security.dataflow.RegExpInjectionQuery
import RegExpInjectionFlow::PathGraph

predicate stats = RegExpInjectionFlow::Debug::stageStats/10;

predicate foo = RegExpInjectionFlow::Debug::stageStats3/10;

predicate bar = RegExpInjectionFlow::Stages::Stage3::fwdFlowStore/12;

from RegExpInjectionFlow::PathNode source, RegExpInjectionFlow::PathNode sink
where RegExpInjectionFlow::flowPath(source, sink)
select sink.getNode(), source, sink, "This regular expression is constructed from a $@.",
Expand Down
Loading
Loading