What problem does it solve?
Helps developers avoid common and critical security misconfigurations in Java Spring applications by providing patterns, checks, and prescriptive fixes for authentication, authorization, CORS, secrets, and OWASP compliance.
Core Features & Use Cases
- Authentication & Authorization: Guidance and examples for SecurityFilterChain, SecurityWebFilterChain, JWT filters, password hashing, and method-level access control.
- JWT & OAuth2: Token provider and validation patterns, reactive and MVC examples, and migration notes for Spring Security 6.x.
- CORS and Security Headers: Explicit origin configuration, preflight caching, and a security headers filter for HSTS, CSP, and nosniff.
- Secrets & Pre-Deployment Checklist: Secrets-from-environment or Vault patterns, gitignore rules, OWASP dependency scanning, and production hardening checks.
- Testing & Validation: MockMvc and WebTestClient test patterns, OWASP scan integration, and pre-deploy verification items.
Quick Start
Ask the spring-security skill to review my SecurityConfig and JWT setup, list critical vulnerabilities, and produce prioritized fixes with code or configuration changes.