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 gives an AI agent a structured security workflow — threat modeling, boundary validation, dependency triage, and privacy compliance — so vulnerabilities are prevented at design time instead of patched after a breach. ## Core Features & Use Cases - Threat Modeling with STRIDE: Maps trust boundaries, names assets, and runs a STRIDE pass over each boundary before writing controls, addressing OWASP A04 Insecure Design. - OWASP Top 10 Prevention Patterns: Provides concrete TypeScript code for parameterized queries, bcrypt password hashing, secure session cookies, CSP headers, output encoding, SSRF allowlisting, and schema validation with zod. - Dependency & Supply-Chain Triage: Decision tree for package-manager audit findings by severity and reachability, plus lockfile integrity, install-script blocking, and typosquat detection. - AI/LLM Security & Privacy Compliance: Covers the OWASP LLM Top 10 (prompt injection, untrusted model output, excessive agency) and GDPR/CCPA data classification, retention, and deletion paths. - Use Case: When adding a webhook endpoint that fetches user-supplied URLs, the agent applies the SSRF allowlist pattern — validating scheme, host, and resolved IPs — instead of fetching arbitrary URLs. ## Quick Start Ask the agent to audit your login flow or input handler against the OWASP Top Ten and apply the hardening patterns from this skill.