What problem does it solve? Web applications that accept user input, manage sessions, or integrate external services are exposed to injection, XSS, broken access control, SSRF, 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, addressing OWASP A04 Insecure Design. - OWASP Prevention Patterns: Ready-to-use TypeScript code for parameterized queries, bcrypt password hashing, secure session cookies, CSP headers, schema validation with zod, and SSRF-safe URL fetching. - Supply-Chain & Dependency Triage: A decision tree for triaging audit findings by severity and reachability, plus rules for lockfile integrity and blocking unreviewed install scripts. - AI/LLM Security: Guidance mapped to the OWASP LLM Top 10 covering prompt injection, untrusted model output, excessive agency, and RAG tenant isolation. - Use Case: While building a new API endpoint that accepts file uploads and calls a third-party webhook, apply the three-tier boundary system (Always Do / Ask First / Never Do) and the security review checklist to ship it without injection, SSRF, or data-exposure flaws. ## Quick Start Ask the AI to review your new API endpoint or authentication flow using the security-and-hardening checklist and fix any violations it finds.