What problem does it solve? Web applications that accept user input, manage sessions, or integrate external services ship with exploitable vulnerabilities when security is treated as an afterthought. This Skill embeds threat modeling and concrete prevention patterns into every feature that touches untrusted data, authentication, or third-party integrations. ## Core Features & Use Cases - Threat Modeling with STRIDE: Map trust boundaries, name assets, and run a structured STRIDE analysis before writing controls, addressing OWASP A04 Insecure Design. - OWASP Prevention Patterns: Ready-to-use TypeScript code for parameterized queries, bcrypt password hashing, session cookie configuration, CSP headers via helmet, Zod schema validation, and SSRF-safe URL fetching with DNS resolution checks. - Supply-Chain and Dependency Auditing: A decision tree for triaging audit findings by severity and reachability, plus lockfile integrity, install-script blocking, and typosquat detection guidance. - LLM Security Controls: Defenses mapped to the OWASP LLM Top 10, covering prompt injection, untrusted model output, excessive agency, and RAG tenant isolation. - Use Case: When adding a webhook endpoint that fetches user-supplied URLs, apply the SSRF allowlist pattern to block requests to internal IPs and cloud metadata endpoints before merging. ## Quick Start Review this new authentication endpoint for security vulnerabilities and apply the hardening patterns from the security skill.