mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
add express.csrf as an CSRF protecting middleware
This commit is contained in:
@@ -94,6 +94,8 @@ DataFlow::CallNode csrfMiddlewareCreation() {
|
||||
exists(result.getOptionArgument(0, "csrf"))
|
||||
or
|
||||
callee = DataFlow::moduleMember("lusca", "csrf")
|
||||
or
|
||||
callee = DataFlow::moduleMember("express", "csrf")
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user