
Quarkus Security
Covers the essentials for locking down Quarkus apps: JWT and OIDC authentication, role-based access control with @RolesAllowed, input validation with Bean Validation, and SQL injection prevention using Panache's parameterized queries. Includes practical examples of custom auth filters, programmatic security checks, password hashing with Bcrypt, and secrets management via environment variables or Vault. The CORS configuration and custom validator samples are actually useful. Activate this when you're adding authentication to endpoints, implementing authorization logic, or hardening an existing Quarkus service. It's surprisingly thorough on the fundamentals without getting academic about threat modeling.
- skills.sh installs
- 1.6K
- GitHub stars
- 229.1K
- last updated
- Jul 14, 2026
Install
$ npx -y skills add affaan-m/everything-claude-code --skill quarkus-security --agent claude-codeInstalls into .claude/skills of the current project.
Files
Quarkus Security Review
Best practices for securing Quarkus applications with authentication, authorization, and input validation.
When to Activate
- Adding authentication (JWT, OIDC, Basic Auth)
- Implementing authorization with @RolesAllowed or SecurityIdentity
- Validating user input (Bean Validation, custom validators)
- Configuring CORS or security headers
- Managing secrets (Vault, environment variables, config sources)
- Adding rate limiting or brute-force protection
- Scanning dependencies for CVEs
- Working with MicroProfile JWT or SmallRye JWT
Authentication
JWT Authentication
// Resource protected with JWT
@Path("/api/protected")
@Authenticated
public class ProtectedResource {
@Inject
JsonWebToken jwt;
@Inject
SecurityIdentity securityIdentity;
@GET
public Response getData() {
String username = jwt.getName();
Set<String> roles = jwt.getGroups();
return Response.ok(Map.of(
"username", username,
"roles", roles,
"principal", securityIdentity.getPrincipal().getName()
)).build();
}
}
Sponsors
Details
- Repository
- github.com/affaan-m/everything-claude-code
- Categories
- Security, Java & JVM
- First seen
- Jun 3, 2026
More from affaan-m/everything-claude-code
All 256- Quarkus Tdd1.6K
- Quarkus Verification1.6K
- Skill Scout1.6K
- Uspto Database1.6K
- Prisma Patterns1.4K
- Blender Motion State Inspection1.3K
- Recsys Pipeline Architect1.3K
- Uncloud1.2K
- React Testing910
- React Performance903
- React Patterns893
- Frontend A11y870
- Marketing Campaign827
- Benchmark Optimization Loop826
- Latency Critical Systems818
- Parallel Execution Optimizer813
- Social Publisher806
- Data Throughput Accelerator805
- Prediction Market Risk Review801
- Recursive Decision Ledger801
- Prediction Market Oracle Research796
- Ito Basket Compare794
- Ito Data Atlas Agent794
- Ito Market Intelligence794