
Springboot Security
This is your Spring Security checklist in skill form. It covers JWT and OAuth2 authentication, method-level authorization with @PreAuthorize, Bean Validation for inputs, CSRF and CORS config, secrets management, rate limiting with Bucket4j, and dependency scanning. The code samples are production-ready, not toys: proper filter chains, parameterized queries to stop SQL injection, BCrypt password encoding, security headers. Activate it when you're adding auth to an endpoint, handling user input, or reviewing a PR before release. The pre-deploy checklist alone is worth having around. If you're building Spring Boot APIs and don't want to reinvent security patterns, this gives you the guardrails.
- skills.sh installs
- 6K
- GitHub stars
- 300.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add affaan-m/ecc --skill springboot-security --agent claude-codeInstalls into .claude/skills of the current project.
Files
Spring Boot Security Review
Use when adding auth, handling input, creating endpoints, or dealing with secrets.
When to Activate
- Adding authentication (JWT, OAuth2, session-based)
- Implementing authorization (@PreAuthorize, role-based access)
- Validating user input (Bean Validation, custom validators)
- Configuring CORS, CSRF, or security headers
- Managing secrets (Vault, environment variables)
- Adding rate limiting or brute-force protection
- Scanning dependencies for CVEs
Authentication
- Prefer stateless JWT or opaque tokens with revocation list
- Use
httpOnly,Secure,SameSite=Strictcookies for sessions - Validate tokens with
OncePerRequestFilteror resource server
@Component
public class JwtAuthFilter extends OncePerRequestFilter {
private final JwtService jwtService;
public JwtAuthFilter(JwtService jwtService) {
this.jwtService = jwtService;
}
Sponsors
Details
- Repository
- github.com/affaan-m/ecc
- Categories
- Security, Java & JVM
- First seen
- Jul 14, 2026
More from affaan-m/ecc
All 263- Search First6K
- Nextjs Turbopack6K
- Brand Voice6K
- Jira Integration6K
- Laravel Tdd6K
- Fastapi Patterns6K
- Remotion Video Creation6K
- React Patterns5.9K
- Perl Security5.9K
- Kotlin Coroutines Flows5.9K
- React Performance5.9K
- Kotlin Patterns5.9K
- Architecture Decision Records5.9K
- Deployment Patterns5.8K
- React Testing5.8K
- Pytorch Patterns5.8K
- Hexagonal Architecture5.8K
- Flutter Dart Code Review5.8K
- Frontend A11y5.8K
- Error Handling5.8K
- Ui Demo5.8K
- Agentic Engineering5.8K
- Vite Patterns5.8K
- Bun Runtime5.8K