Skip to content
affaan-m avatar

Springboot Security

Spring Boot security review guide covering authn/authz, validation, CSRF, secrets, headers, and rate limiting.

CCM score
73 of 100
skills.sh installs
14.2K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers authentication, authorization, input validation, SQL injection, password hashing, CSRF, secrets, CORS, security headers, rate limiting, and dependency scanning
  • Includes annotated Java and YAML examples marked BAD and GOOD, such as @PreAuthorize guards, Bean Validation DTOs, and parameterized native queries
  • Enforces deny-by-default authorization, BCrypt or Argon2 password hashing, and externalized secrets with no credentials in application.yml
  • Designed for Java Spring Boot services and includes a pre-release checklist covering tokens, CSRF posture, headers, rate limits, and CVE scanning

Install

$ npx -y skills add affaan-m/ecc --skill springboot-security -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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=Strict cookies for sessions
  • Validate tokens with OncePerRequestFilter or resource server
@Component
public class JwtAuthFilter extends OncePerRequestFilter {
  private final JwtService jwtService;

  public JwtAuthFilter(JwtService jwtService) {
    this.jwtService = jwtService;
  }

Details

Repository
github.com/affaan-m/ecc
Categories
Security, Backend & APIs, Java & JVM
First seen
Jul 14, 2026

Questions

What does the springboot-security skill help with?

The springboot-security skill reviews Java Spring Boot services for Spring Security best practices. It covers authentication and authorization, input validation, CSRF, secrets management, security headers, rate limiting and dependency security.

How do I install the springboot-security skill?

Run npx -y skills add affaan-m/ecc --skill springboot-security -y in your project. Once installed, the agent can review Spring Security code for authn and authz, validation, CSRF, secrets, headers and rate limiting.

Where does springboot-security rank in the Security category?

It ranks in the top 50 of the Security category on Claude Marketplaces. It stands apart by focusing on Spring Boot specifics such as @PreAuthorize rules, Bean Validation on DTOs and Bucket4j rate limiting.

Does springboot-security cover rate limiting and file uploads?

Yes, the skill includes guidance on rate limiting for expensive endpoints using Bucket4j or gateway limits, returning 429 responses. It also covers validating file uploads by size, content type and extension.

More from affaan-m/ecc

All 257

Similar to Springboot Security

More Security