What problem does it solve? Backend developers often ship endpoints with missing input validation, broken tenant isolation, SQL injection risks, or PII leaks in logs. This Skill provides concrete security rules and checklists for implementing and reviewing secure backend code in the iWana neXt stack (NestJS, Zod, TypeORM, PostgreSQL multi-tenant by schema, JWT). ## Core Features & Use Cases - Runtime Input Validation: Enforces Zod validation on all external boundaries including HTTP bodies, params, queries, queue payloads, and environment configuration. - Multi-Tenant Security: Ensures tenant resolution and propagation per request with schema-level isolation in PostgreSQL, preventing cross-tenant data access. - AuthN/AuthZ Controls: Guides JWT with refresh token rotation, MFA, RBAC/ABAC authorization, and secure password hashing. - Use Case: When adding a new public endpoint to a NestJS module, use this Skill to verify it has rate limiting, restrictive CORS, validated input, parameterized TypeORM queries, sanitized logs, and an audit trail for sensitive writes. ## Quick Start Review this NestJS endpoint for security issues and fix any missing validation, tenant isolation, or audit logging.