remove unused flowLable, update path query alert message

This commit is contained in:
amammad
2023-10-08 11:06:13 +02:00
parent 00b6e1f0b0
commit 15671682c5

View File

@@ -57,10 +57,6 @@ class URLConstructorLabel extends FlowLabel {
URLConstructorLabel() { this = "URLConstructorLabel" }
}
class DynamicImportLabel extends FlowLabel {
DynamicImportLabel() { this = "DynamicImport" }
}
/**
* A taint-tracking configuration for reasoning about code injection vulnerabilities.
*/
@@ -91,5 +87,5 @@ class Configuration extends TaintTracking::Configuration {
from Configuration cfg, DataFlow::PathNode source, DataFlow::PathNode sink
where cfg.hasFlowPath(source, sink)
select sink.getNode(), source, sink, sink.getNode() + " depends on a $@.", source.getNode(),
select sink.getNode(), source, sink, sink.getNode() + "This command line depends on a $@.", source.getNode(),
"user-provided value"