What problem does it solve?
Security defects are the most expensive to fix, causing data breaches, compliance violations, and permanent loss of user trust. Unlike functional bugs, security flaws are actively exploited by adversaries, requiring proactive, adversary-aware coding practices rather than just bug avoidance.
Core Features & Use Cases
- STRIDE Threat Modeling: Systematically identify attack surfaces and potential threats before building systems that handle sensitive data or untrusted input.
- Adversary-Aware Input Validation: Enforce allowlist-only validation, canonicalization, and size limits at all trust boundaries to block injection and traversal attacks.
- Language-Specific Vulnerability Mitigations: Reference guides for C++, Python, Rust, and Java covering memory safety, deserialization risks, injection patterns, and secure cryptography usage.
- Use Case: When building a payment processing API, use this skill to implement secure authentication, prevent SQL injection, enforce least-privilege access controls, and audit dependencies for supply chain risks.
Quick Start
Use the security skill to review the new user authentication endpoint for injection vulnerabilities, insecure session handling, and missing authorization checks.