What problem does it solve? Code that handles user input, authentication, or external integrations often ships with exploitable vulnerabilities because security checks are applied inconsistently or bolted on too late. This Skill provides a threat-model-first workflow with concrete prevention patterns, checklists, and verification steps so security becomes a constraint on every line of code rather than an afterthought. ## Core Features & Use Cases - Threat Modeling with STRIDE: Map trust boundaries, name assets, and run a lightweight STRIDE analysis before writing controls, so mitigations target real attack surface instead of guesses. - OWASP Prevention Patterns: Ready-to-use TypeScript examples for injection, broken authentication, XSS, broken access control, security misconfiguration, sensitive data exposure, and SSRF, plus input validation with Zod and safe file upload handling. - Dependency and Supply-Chain Triage: A decision tree for package-manager audit findings based on severity and reachability, plus lockfile integrity, install-script blocking, and typosquat detection guidance. - Privacy and LLM Security: Data classification, retention, and deletion-path rules for GDPR/CCPA compliance, and OWASP LLM Top 10 guidance for treating model output as untrusted input. - Use Case: While building a login flow, apply the Skill to hash passwords with bcrypt, configure httpOnly/secure/sameSite session cookies, add rate limiting backed by a shared store, and run the security review checklist before shipping. ## Quick Start Audit this authentication endpoint for OWASP Top 10 vulnerabilities and tell me what to fix before release.