What problem does it solve?
This playbook helps security engineers and auditors find authentication, validation, and module boundary weaknesses in NestJS applications that lead to unauthorized access, data leakage, and logic bypasses.
Core Features & Use Cases
- Guard & Decorator Audits: Map global, controller, and method-level guards and detect metadata mismatches or @Public misuse that permit unauthorized access.
- Validation & Pipe Checks: Detect ValidationPipe, Parse/Transform, and nested DTO misconfigurations that allow payload or type coercion bypasses.
- Cross-Transport Testing: Verify the same business logic across HTTP, WebSocket, GraphQL, and microservice transports to reveal transport-specific gaps.
- ORM & Serialization Probes: Test for ORM query injection, serialization leaks, and cache/key poisoning that expose sensitive fields.
- Use Case: During a pentest, enumerate Swagger, audit guard stacks, fuzz validation on endpoints and microservice handlers, and produce reproducible findings.
Quick Start
Use the nestjs playbook to enumerate Swagger, map guards and pipes, and run cross-transport tests to identify guard and validation bypasses.