Harden Nest ValidationPipe with whitelist mode
Global ValidationPipe instances should enable whitelist-style stripping for unexpected fields.
#Metadata
#Why it matters
Allowing undeclared fields preserves attack surface for mass-assignment style bugs.
#Remediation
Enable whitelist true and usually forbidNonWhitelisted true on the global ValidationPipe.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.security.nestjs-validation-pipe-without-whitelist.rule.yaml.