mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
12 lines
335 B
Plaintext
12 lines
335 B
Plaintext
import javascript
|
|
|
|
query predicate test_RequestInputAccess(
|
|
HTTP::RequestInputAccess ria, string res, Fastify::RouteHandler rh, boolean isUserControlledObject
|
|
) {
|
|
ria.getRouteHandler() = rh and
|
|
res = ria.getKind() and
|
|
if ria.isUserControlledObject()
|
|
then isUserControlledObject = true
|
|
else isUserControlledObject = false
|
|
}
|