qtil
advanced-security/qtil-javascript 0.0.3
Search

Predicate NestJS::hasGlobalValidationPipe

Holds if ValidationPipe is installed as a global pipe by a file in the given folder or one of its enclosing folders.

We use folder hierarchy to approximate the scope of globally-installed pipes.

Import path

import semmle.javascript.frameworks.Nest
predicate hasGlobalValidationPipe(Folder folder)