File tree Expand file tree Collapse file tree
test/query-tests/Security/CWE-200 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ DataFlow::Node getALeakingFolder(string description) {
8383 description = "the folder " + result .getFile ( ) .getParentContainer ( ) .getRelativePath ( )
8484 or
8585 result = DataFlow:: moduleImport ( "os" ) .getAMemberCall ( "homedir" ) and
86- description = "the home folder "
86+ description = "the home folder"
8787 or
8888 result .mayHaveStringValue ( "/" ) and
8989 description = "the root folder"
Original file line number Diff line number Diff line change 1616| private-file-exposure.js:22:1:22:58 | app.use ... lar/')) | Serves the folder "/node_modules/angular/", which can contain private information. |
1717| private-file-exposure.js:40:1:40:88 | app.use ... lar/')) | Serves the folder "/node_modules/angular/", which can contain private information. |
1818| private-file-exposure.js:41:1:41:97 | app.use ... lar/')) | Serves the folder "/node_modules/angular/", which can contain private information. |
19- | private-file-exposure.js:42:1:42:66 | app.use ... dir())) | Serves the home folder , which can contain private information. |
19+ | private-file-exposure.js:42:1:42:66 | app.use ... dir())) | Serves the home folder, which can contain private information. |
2020| private-file-exposure.js:43:1:43:46 | app.use ... )("/")) | Serves the root folder, which can contain private information. |
2121| private-file-exposure.js:51:5:51:88 | app.use ... les'))) | Serves the folder "../node_modules", which can contain private information. |
You can’t perform that action at this time.
0 commit comments