What problem does it solve? Web applications that accept user input, manage sessions, or integrate external services are exposed to injection, XSS, SSRF, broken access control, and supply-chain attacks. This Skill provides a threat-model-first process and concrete prevention patterns so security is built into every feature rather than bolted on later. ## Core Features & Use Cases - Threat Modeling with STRIDE: Map trust boundaries, name assets, and run STRIDE over each boundary before writing controls, with abuse cases written next to use cases. - OWASP Top 10 Prevention Patterns: Copy-ready TypeScript examples for parameterized queries, bcrypt password hashing, session cookie flags, CSP headers, CORS restriction, SSRF URL allowlisting, and Zod schema validation. - Dependency & 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. - AI/LLM Security Controls: Guidance mapped to the OWASP LLM Top 10 covering prompt injection, untrusted model output, tool permission scoping, and RAG tenant isolation. - Use Case: Before shipping a new login flow, run the security review checklist to verify password hashing, rate limiting with a shared store, session cookie flags, and authorization checks on every endpoint. ## Quick Start Ask the AI to audit your authentication endpoint and input handlers against the OWASP Top 10 using this security hardening skill.