Spring security configurator auditor

From JetBrains/skills · View interactive version

Spring security configurator auditor is an AI agent skill from the GitHub repository JetBrains/skills. Design and audit Spring Security configurations for Kotlin plus Spring services, including filter chains, JWT or OAuth2 resource server setup, method security, CORS, CSRF rationale, and public endpoint exposure. Use when adding or reviewing authentication and authorization, narrowing access rules, v

How to use this skill

Skill file

Spring Security Configurator Auditor

Source mapping: Tier 2 high-value skill derived from Kotlin_Spring_Developer_Pipeline.md (SK-13).

Mission

Produce a security model that is explicit, minimal, and testable.

Optimize for least privilege and correct failure semantics, not for shortest config.

Read First

Design Sequence

  1. Define who the clients are: browser, internal service, public API consumer, job, or operator.
  2. Define authentication mechanism and token trust boundaries.
  3. Enumerate public endpoints explicitly.
  4. Define authorization at URL and method level.
  5. Define 401 and 403 behavior.
  6. Add tests for the critical allowed and denied paths.

Core Security Rules

Advanced Security Traps

Advanced AuthZ And Token Nuances

Expert Heuristics

Output Contract

Return these sections:

Guardrails

Quality Bar

A good run of this skill makes the access model explicit and auditable.

A bad run produces a working login flow while leaving route exposure, token validation, or test coverage dangerously vague.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.