Skip to content

Commit 3f41a42

Browse files
committed
remove unused classes
1 parent 1567168 commit 3f41a42

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

javascript/ql/src/experimental/Security/CWE-094-dataURL/CodeInjection.ql

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ import DataFlow::PathGraph
2020

2121
abstract class Sanitizer extends DataFlow::Node { }
2222

23-
abstract class Sink extends DataFlow::Node { }
24-
2523
/** A non-first leaf in a string-concatenation. Seen as a sanitizer for dynamic import code injection. */
2624
class NonFirstStringConcatLeaf extends Sanitizer {
2725
NonFirstStringConcatLeaf() {
@@ -87,5 +85,5 @@ class Configuration extends TaintTracking::Configuration {
8785

8886
from Configuration cfg, DataFlow::PathNode source, DataFlow::PathNode sink
8987
where cfg.hasFlowPath(source, sink)
90-
select sink.getNode(), source, sink, sink.getNode() + "This command line depends on a $@.", source.getNode(),
91-
"user-provided value"
88+
select sink.getNode(), source, sink, sink.getNode() + "This command line depends on a $@.",
89+
source.getNode(), "user-provided value"

0 commit comments

Comments
 (0)