Backend Input Validation
Validates untrusted input at backend boundaries while strictly separating structural checks from business logic.
Backend Input Validation provides architectural guidance and best practices for securing backend service boundaries against malformed or malicious inputs. It guides developers through implementing strict structural validation across DTOs, query parameters, headers, and file uploads, while ensuring database-dependent business rules and authorization logic remain properly isolated. With structured review checklists, canonicalization patterns, and negative testing strategies, this skill helps teams build resilient, secure APIs that fail fast at the boundary.
Características Principales
01Defines canonicalization strategies for whitespace, Unicode, and omitted values
02Establishes resource, payload, and collection bounds to mitigate DoS risks
03Enforces structural validation for types, formats, lengths, and enums at API boundaries
04Provides verification checklists and negative test patterns for untrusted input
05Separates syntax and structural checks from domain business rules and authorization
060 GitHub stars
Casos de Uso
01Preventing malformed, oversized, or malicious payloads from reaching domain services
02Securing file uploads, query parameters, and patch request semantics
03Designing robust DTO validation layers for RESTful and GraphQL endpoints