Skip to content
affaan-m avatar

Quarkus Security

Quarkus security patterns covering JWT/OIDC authentication, RBAC, Bean Validation, parameterized Panache queries, and secrets handling.

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

Own this skill? Claim it

What it does

  • Covers authentication with JWT and OIDC, role-based authorization with @RolesAllowed, and programmatic checks through SecurityIdentity
  • Includes Bean Validation DTO constraints, custom validators, BCrypt password hashing, CORS configuration, and parameterized query examples
  • Enforces parameterized Panache and native queries to prevent SQL injection, with explicit ownership checks before returning user records
  • Designed for Quarkus developers adding authentication, validating input, managing secrets, or reviewing an application for hardening

Install

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

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

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();
  }
}

Details

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

Questions

What does the quarkus-security skill help with?

The quarkus-security skill gives patterns for securing Quarkus applications, covering JWT and OIDC authentication, @RolesAllowed role checks, and Bean Validation. It also covers parameterized Panache queries, BCrypt password hashing, CORS and security headers, and dependency CVE scanning.

How do I install the quarkus-security skill?

Run npx -y skills add affaan-m/ecc --skill quarkus-security -y in your project. Once installed, the agent can apply Quarkus security practices when you add authentication, authorization, or input validation.

Where does quarkus-security rank in the Security category?

On the Security category page, quarkus-security ranks in the top 100. Its own description says it targets authentication, authorization, JWT/OIDC, RBAC, input validation, CSRF, secrets management, and dependency security.

When should I use the quarkus-security skill?

Use it when adding authentication or authorization, validating user input, managing secrets, or hardening a Quarkus application. It also applies when adding rate limiting or brute-force protection to a Quarkus service.

More from affaan-m/ecc

All 257

Similar to Quarkus Security

More Security