What problem does it solve? Applications that accept user input, manage sessions, or integrate external services ship with exploitable vulnerabilities when security is treated as an afterthought. This Skill enforces threat modeling, input validation, and defense-in-depth controls on every feature that touches untrusted data. ## Core Features & Use Cases - Threat Modeling with STRIDE: Map trust boundaries, name assets, and run STRIDE analysis before writing code to prevent insecure design (OWASP A04). - OWASP Prevention Patterns: Concrete TypeScript examples for injection, broken authentication, XSS, broken access control, SSRF, and security misconfiguration using zod, bcrypt, helmet, and DOMPurify. - Supply-Chain & Dependency Auditing: Decision tree for triaging package-manager audit findings by severity and reachability, plus lockfile and install-script hygiene. - LLM Security Controls: Guardrails for prompt injection, untrusted model output, excessive agency, and RAG tenant isolation based on the OWASP LLM Top 10. - Use Case: When adding a webhook endpoint that fetches user-supplied URLs, apply the SSRF allowlist pattern with DNS resolution checks to block access to cloud metadata endpoints like 169.254.169.254. ## Quick Start Ask the AI to review your new API endpoint for security issues using the security-and-hardening checklist before merging.