diff --git a/sources.ql b/sources.ql index 8679055..8b13789 100644 --- a/sources.ql +++ b/sources.ql @@ -1,12 +1 @@ -import javascript -predicate isSource(DataFlow::Node source) { - exists(DataFlow::FunctionNode plugin | - plugin = jquery().getAPropertyRead("fn").getAPropertySource() and - source = plugin.getLastParameter() - ) -} - -from DataFlow::Node node -where isSource(node) -select node