We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1624191 commit b63c658Copy full SHA for b63c658
javascript/ql/src/Security/CWE-352/MissingCsrfMiddleware.ql
@@ -57,7 +57,7 @@ predicate hasCookieMiddleware(Routing::Node route, Http::CookieMiddlewareInstanc
57
*/
58
DataFlow::SourceNode csrfMiddlewareCreation() {
59
exists(DataFlow::SourceNode callee | result = callee.getACall() |
60
- callee = DataFlow::moduleImport("csurf")
+ callee = DataFlow::moduleImport(["csurf", "tiny-csrf"])
61
or
62
callee = DataFlow::moduleImport("lusca") and
63
exists(result.(DataFlow::CallNode).getOptionArgument(0, "csrf"))
0 commit comments