mir-backend-node-nestjslisted
Install: claude install-skill anantbhandarkar/make-it-right
# /mir-backend-node-nestjs · Make It Right (NestJS)
Bottom tier of the chain: `mir-backend` (generic gates) → `mir-backend-node` (V8/Node event-loop model) → **this** (NestJS library mechanics). Run the gates first; load the Node runtime tier for event-loop and process-model concerns; reach for *this* at Gate 5 (design mechanics), Gate 6 (implementation), and Gate 7 review. **Runtime-level concerns (blocking the event loop, worker_threads, unhandled rejections, stream backpressure, timeouts, heap limits, npm supply chain) live in `mir-backend-node` — not here.**
**Stack assumed (npm registry, 13 Aug 2026):** `@nestjs/core@11.1.29` is `latest`. NestJS 12 exists only as `12.0.0-alpha.5` on the `next` tag — a pre-release; do not target it. `engines.node` says `>= 20`, but Node 20 is EOL — run on Node 22 or 24 per the runtime tier.
**Run 11.1.24 or newer across every `@nestjs/*` package.** Older 11.1.x patches carry the middleware-bypass CVEs listed in Security. The packages release in lockstep, so mismatched `@nestjs/*` versions in a lockfile are themselves the finding.
**Adapter pins, which matter when you audit transitive versions:** `@nestjs/platform-express@11.1.29` pins `express@5.2.1`, `path-to-regexp@8.4.2`, `multer@2.2.0`, `cors@2.8.6` — exact, not caret, so you cannot bump them independently without an override. `@nestjs/platform-fastify@11.1.29` pins `fastify@5.11.0`, `@fastify/cors@11.3.0`, `fastify-plugin@6.0.0`.
## The NestJS footguns AI walks into most
### 1.