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, threat-model-first process to identify trust boundaries and apply concrete prevention patterns before vulnerabilities ship. ## 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 via helmet, Zod schema validation, and SSRF-safe URL fetching with DNS resolution checks. - Supply-Chain and Dependency Auditing: A decision tree for triaging native package-manager audit results by severity and reachability, plus lockfile and install-script hygiene rules. - LLM Security Controls: Guidance mapped to the OWASP LLM Top 10 for treating model output as untrusted input, constraining tool permissions, and isolating RAG data per tenant. - Use Case: When adding a webhook endpoint that fetches user-supplied URLs, apply the SSRF allowlist pattern to block requests to internal IPs like the cloud metadata service. ## Quick Start Ask the agent to review the new authentication and file upload endpoints for security vulnerabilities using the security-and-hardening checklist.