Java Spring Boot 服务中关于身份验证/授权、验证、CSRF、密钥、标头、速率限制和依赖安全的 Spring Security 最佳实践。
Install with Tessl CLI
npx tessl i github:affaan-m/everything-claude-code --skill springboot-security71
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillValidation for skill structure
JWT authentication and method-level authorization
OncePerRequestFilter used
100%
100%
Bearer token extraction
100%
100%
SecurityContext populated
100%
100%
CSRF disabled
100%
100%
Stateless session policy
100%
100%
@EnableMethodSecurity present
0%
100%
@PreAuthorize on admin endpoint
100%
100%
Default deny stance
100%
100%
Security headers configured
0%
100%
CSP default-src self
0%
100%
JWT preference documented
100%
100%
Without context: $0.5693 · 2m 22s · 28 turns · 117 in / 9,642 out tokens
With context: $0.7610 · 2m 38s · 33 turns · 40 in / 10,844 out tokens
Input validation and SQL injection prevention
@Valid on controller
100%
100%
@NotBlank on name
100%
100%
@Email on email field
100%
100%
@Size constraint present
100%
100%
No string concatenation in search
100%
100%
Parameterized binding used
100%
100%
Spring Data repository used
100%
100%
HTML sanitization mentioned
100%
100%
Validation error handler
100%
100%
Constraint annotations on DTO
100%
100%
Without context: $0.3300 · 1m 17s · 20 turns · 26 in / 4,881 out tokens
With context: $0.6641 · 2m 37s · 29 turns · 35 in / 9,812 out tokens
Secret management, rate limiting, safe logging, and file upload security
DB password externalized
100%
100%
JWT secret externalized
100%
100%
Bucket4j used for rate limiting
100%
100%
429 status returned
100%
100%
Retry-After header included
100%
100%
No token logged
100%
100%
No PII logged
0%
0%
Structured JSON logging configured
100%
100%
File content type validated
100%
100%
File extension validated
100%
100%
Storage outside web root
100%
100%
File size validated
100%
100%
Without context: $0.2788 · 1m 17s · 13 turns · 15 in / 5,059 out tokens
With context: $0.5597 · 1m 54s · 29 turns · 33 in / 7,561 out tokens
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.