Skip to content

Commit 4e25036

Browse files
committed
JS: Follow naming convention in InsecureModuleFlow module
1 parent d381ab1 commit 4e25036

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

javascript/ql/lib/semmle/javascript/security/dataflow/InsecureDownloadQuery.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module InsecureDownloadConfig implements DataFlow::StateConfigSig {
2929
/**
3030
* Taint tracking for download of sensitive file through insecure connection.
3131
*/
32-
module InsecureDownload = DataFlow::GlobalWithState<InsecureDownloadConfig>;
32+
module InsecureDownloadFlow = DataFlow::GlobalWithState<InsecureDownloadConfig>;
3333

3434
/**
3535
* DEPRECATED. Use the `InsecureDownload` module instead.

javascript/ql/src/Security/CWE-829/InsecureDownload.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
import javascript
1515
import semmle.javascript.security.dataflow.InsecureDownloadQuery
16-
import DataFlow::DeduplicatePathGraph<InsecureDownload::PathNode, InsecureDownload::PathGraph>
16+
import DataFlow::DeduplicatePathGraph<InsecureDownloadFlow::PathNode, InsecureDownloadFlow::PathGraph>
1717

1818
from PathNode source, PathNode sink
19-
where InsecureDownload::flowPath(source.getAnOriginalPathNode(), sink.getAnOriginalPathNode())
19+
where InsecureDownloadFlow::flowPath(source.getAnOriginalPathNode(), sink.getAnOriginalPathNode())
2020
select sink.getNode(), source, sink, "$@ of sensitive file from $@.",
2121
sink.getNode().(Sink).getDownloadCall(), "Download", source.getNode(), "HTTP source"

0 commit comments

Comments
 (0)