22 * Provides a dataflow configuration for reasoning about the download of sensitive file through insecure connection.
33 *
44 * Note, for performance reasons: only import this file if
5- * `InsecureDownload::Configuration ` is needed, otherwise
5+ * `InsecureDownloadFlow ` is needed, otherwise
66 * `InsecureDownloadCustomizations` should be imported instead.
77 */
88
@@ -12,6 +12,8 @@ import InsecureDownloadCustomizations::InsecureDownload
1212
1313/**
1414 * A taint tracking configuration for download of sensitive file through insecure connection.
15+ *
16+ * DEPRECATED: Use `InsecureDownloadFlow`.
1517 */
1618deprecated class Configuration extends DataFlow:: Configuration {
1719 Configuration ( ) { this = "InsecureDownload" }
@@ -30,10 +32,7 @@ deprecated class Configuration extends DataFlow::Configuration {
3032 }
3133}
3234
33- /**
34- * A taint tracking configuration for download of sensitive file through insecure connection.
35- */
36- module Config implements DataFlow:: StateConfigSig {
35+ private module InsecureDownloadConfig implements DataFlow:: StateConfigSig {
3736 class FlowState = string ;
3837
3938 predicate isSource ( DataFlow:: Node source , DataFlow:: FlowState label ) {
@@ -47,4 +46,13 @@ module Config implements DataFlow::StateConfigSig {
4746 predicate isBarrier ( DataFlow:: Node node ) { node instanceof Sanitizer }
4847}
4948
50- module Flow = DataFlow:: GlobalWithState< Config > ;
49+ /**
50+ * Taint-tracking for download of sensitive file through insecure connection.
51+ */
52+ module InsecureDownloadFlow = DataFlow:: GlobalWithState< InsecureDownloadConfig > ;
53+
54+ /** DEPRECATED: Use `InsecureDownloadConfig` */
55+ deprecated module Config = InsecureDownloadConfig;
56+
57+ /** DEPRECATED: Use `InsecureDownloadFlow` */
58+ deprecated module Flow = InsecureDownloadFlow;
0 commit comments