SECURITY / JetBrains
Spring Security Configurator Auditor
Designs and audits Spring Security configurations: explicit public-endpoint allowlists, JWT and OAuth2 resource-server trust boundaries with issuer, audience and clock-skew validation, ordered filter chains, method security aligned with request security, and CSRF treated as a trust-model decision.
“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, validating token handling, or checking for insecure defaults and accidental exposure.”
01 / THE REASONING
Why this made the selection.
- Audits before it configures: enumerate public endpoints explicitly, model who can do what to which resource under which tenant before writing matcher code, and prefer deny-by-default so new endpoints start closed.
- Names configuration traps: a broad matcher in the wrong ordered filter chain shadowing a stricter one, permitAll on actuator or docs endpoints expanding further than intended, JWT validation without issuer or audience checks.
- Treats operational auth as part of the contract: JWKS caching and key rotation must keep validation alive during rollover, and clock-skew policy is a decision to make deliberately.
02 / THE REVIEW RECORD
What we actually inspected.
Source review has boundaries.
A clear record is more useful than a “safe” badge.
Material inspected
- spring-security-configurator-auditor/SKILL.md (JetBrains mirror)
- spring-security-configurator-auditor/agents directory listing
- upstream yalishevant/kotlin-backend-agent-skills .agents/skills/spring-security-configurator-auditor/SKILL.md
- upstream LICENSE
- JetBrains/skills README mirror policy
- https://github.com/Kotlin/kotlin-backend-agent-skills (answers HTTP 301 to yalishevant/kotlin-backend-agent-skills)
- mirror SKILL.md diffed against the upstream SKILL.md at fd0ed521d22efd28221d532c9abab97af0b9bf0e
Our findings
- CSRF is handled as a trust-model question — browser-based flows and cookie-backed auth change the answer — rather than the common "we use tokens so disable it".
- Security-context propagation gaps are called out for async execution, schedulers and message listeners, and method security is flagged as ineffective on internal calls that never cross the proxy boundary.
- The output contract requires security tests for both allowed and denied access on the critical paths, so a run cannot end with configuration but no verification.
- A diff against the upstream SKILL.md at fd0ed521d22efd28221d532c9abab97af0b9bf0e shows the mirror adds four frontmatter lines (metadata, short-description, author: Kotlin, source) and nothing else; the upstream file has no author field. agents/openai.yaml is identical in both.
- Upstream health: https://github.com/Kotlin/kotlin-backend-agent-skills, which the mirror’s metadata.source and README name, now answers HTTP 301 to yalishevant/kotlin-backend-agent-skills, a personal account (https://api.github.com/repos/Kotlin/kotlin-backend-agent-skills returns full_name yalishevant/kotlin-backend-agent-skills, owner type User). fd0ed521d22efd28221d532c9abab97af0b9bf0e is still that repository’s head, and its LICENSE (MIT, copyright 2026 Anton Yalyshev) is unchanged (checked 2026-10-13).
Not established by this review
- No security configuration was built or attacked; the rules were read, not executed.
- The agents/openai.yaml companion file was noted but not exercised.
The review applies to the material and revision named here. A newer upstream release can change its behavior.
03 / PUT IT TO WORK
Add a skill to your workflow.
DOCUMENTED COMMAND
npx skills add JetBrains/skills/spring-security-configurator-auditor --skill spring-security-configurator-auditor Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.
Optional: install the reviewed revision
Keeps the original source and installer version where recorded, while leaving your AI tools and installation scope for you to choose.
npx skills add https://github.com/JetBrains/skills/tree/e0f258b5cfed145015cb3e48da9a97947f7c4ed7/spring-security-configurator-auditor --skill spring-security-configurator-auditor - Install the skill from the JetBrains mirror, or from the upstream Kotlin backend agent skills repository if you prefer the origin.
- Bring the current SecurityFilterChain, endpoint inventory and authentication model; the output contract expects them as inputs.
Before you start
- Node.js/npm for the installer
- An agent that supports the Agent Skills format
- A Spring service using Spring Security, or one about to add it
04 / FOLLOW THE EVIDENCE
The source trail.
Our notes are separate from the original resource.
Check upstream before adopting a new version.
https://github.com/JetBrains/skills/blob/e0f258b5cfed145015cb3e48da9a97947f7c4ed7/spring-security-configurator-auditor/SKILL.md
Supports: summary, upstreamDescription, whySelected, bestFor, limitations, review, access
https://github.com/yalishevant/kotlin-backend-agent-skills/blob/fd0ed521d22efd28221d532c9abab97af0b9bf0e/.agents/skills/spring-security-configurator-auditor/SKILL.md
Supports: review, whySelected, limitations
- Upstream license (MIT) ↗Checked
https://github.com/yalishevant/kotlin-backend-agent-skills/blob/fd0ed521d22efd28221d532c9abab97af0b9bf0e/LICENSE
Supports: license
https://github.com/Kotlin/kotlin-backend-agent-skills
Supports: review, limitations
https://github.com/JetBrains/skills/blob/e0f258b5cfed145015cb3e48da9a97947f7c4ed7/README.md
Supports: review, install, limitations
https://github.com/vercel-labs/skills/blob/7407f3893ad4dceab546ac002c3ef806e4000c73/README.md
Supports: install