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 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: Map trust boundaries, name assets, and run a lightweight STRIDE analysis before writing security controls. - OWASP Prevention Patterns: Ready-to-use TypeScript code for parameterized queries, bcrypt password hashing, secure session cookies, CSP headers, CORS restriction, and Zod schema validation at API boundaries. - SSRF and LLM Security: Allowlist-based URL validation with DNS resolution checks, plus guidance for treating LLM output as untrusted input per the OWASP LLM Top 10. - Supply-Chain Hygiene: Dependency audit triage by reachability and severity, lockfile integrity rules, and blocking unreviewed install scripts. - Use Case: When adding a webhook endpoint that fetches user-supplied URLs, apply the SSRF allowlist pattern to block requests to internal IPs and cloud metadata endpoints. ## Quick Start Ask the agent to review your new API endpoint for security issues using the security-and-hardening checklist before committing the code.