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 gives an AI agent a threat-model-first workflow and concrete prevention patterns so security is built into every feature rather than bolted on later. ## Core Features & Use Cases - Threat Modeling with STRIDE: Maps trust boundaries, names assets, and runs a lightweight STRIDE pass before writing controls, covering OWASP A04 insecure design. - OWASP Top 10 Prevention Patterns: Provides copy-ready TypeScript examples for parameterized queries, bcrypt password hashing, secure session cookies, CSP headers, CORS restriction, output encoding, and SSRF-safe URL fetching with DNS resolution checks. - Dependency and Supply-Chain Triage: Supplies a severity-and-reachability decision tree for package-manager audit findings, plus lockfile integrity, install-script blocking, and typosquat detection guidance. - Privacy and LLM Security: Covers GDPR/CCPA data classification, retention, and deletion paths, plus OWASP LLM Top 10 rules for treating model output as untrusted input. - Use Case: When adding a webhook endpoint that fetches user-supplied URLs, apply the SSRF allowlist pattern to block requests to internal IPs like 169.254.169.254 before shipping. ## Quick Start Ask the agent to audit your login flow or new API endpoint against the OWASP Top Ten and apply the security checklist before committing.