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 structured security workflow so these risks are addressed during development rather than retrofitted after a breach. ## Core Features & Use Cases - Threat Modeling First: Maps trust boundaries and applies STRIDE analysis before writing controls, preventing insecure design (OWASP A04). - Three-Tier Boundary System: Defines Always Do rules (parameterized queries, output encoding, bcrypt hashing, security headers), Ask First gates (auth changes, new PII storage, CORS changes), and Never Do prohibitions (committed secrets, eval with user data). - OWASP Prevention Patterns: Provides TypeScript code examples for injection, broken authentication, XSS, access control, misconfiguration, SSRF, and LLM-specific risks (prompt injection, untrusted model output). - Supply-Chain Hygiene: Guides lockfile verification, dependency audit triage by reachability, and blocking unreviewed install scripts. - Use Case: When adding a webhook endpoint that fetches user-supplied URLs, apply the SSRF allowlist pattern with DNS resolution checks to block requests to internal services like cloud metadata endpoints. ## Quick Start Use the security-and-hardening skill to review my new API endpoint for vulnerabilities before I commit it.