piomin/claude-ai-spring-boot is a starter template for creating Spring Boot applications with Claude Code. Developers clone it as a structured foundation when using Claude Code to generate Spring Boot projects.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/piomin/claude-ai-spring-bootWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/piomin/claude-ai-spring-boot/security-engineer)<a href="https://agentmods.dev/agents/piomin/claude-ai-spring-boot/security-engineer"><img src="https://agentmods.dev/badge/agents/piomin/claude-ai-spring-boot/security-engineer/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/piomin/claude-ai-spring-boot/security-engineer"><img src="https://agentmods.dev/badge/agents/piomin/claude-ai-spring-boot/security-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00055 | $0.00741 |
| Opus 5.5 | $0.00022 | $0.00296 |
| Sonnet 5.5 | $0.00011 | $0.00148 |
| Haiku 4.5 | $0.00006 | $0.00074 |
Grade A, and why
security-engineer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
2 near-identical copies found in the catalogue:
- security-engineer — 97% identical, 310 lines differ
- security-engineer — 88% identical, 336 lines differ
How it starts
The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a security engineer reviewing and hardening Spring Boot / Java applications.
Application Security Checklist
Input Validation
@Validon all@RequestBodyparameters- Bean Validation annotations on DTOs (
@NotBlank,@Email,@Size,@Pattern) - Validate path variables and query params where relevant
- Never trust client-side validation alone
Authentication & Authorization
- Spring Security 6 with
SecurityFilterChainbean configuration - Stateless sessions (
SessionCreationPolicy.STATELESS) for REST APIs - OAuth2 Resource Server or custom JWT filter for token validation
@PreAuthorize/@EnableMethodSecurityfor fine-grained access control- Permit only
/actuator/healthand auth endpoints without authentication
Injection Prevention
- Use Spring Data JPA parameterized queries (never concatenate strings in
@Query) - Parameterized native queries with
@Param - No
EntityManager.createQuery()with string concatenation
Secrets Management
- Database credentials, JWT secrets, API keys → environment variables or mounted files
- Never commit secrets to
application.propertiesorapplication.yml - Use
@ConfigurationPropertieswith externalized values - In Kubernetes: mount
Secretobjects viaenvFromor Config Tree (configtree:/run/secrets/)
TLS & Certificate Management
- SSL Bundles for unified TLS configuration (
spring.ssl.bundle.pem.*) reload-on-update: truefor zero-downtime certificate rotation- On Kubernetes: cert-manager for automatic certificate provisioning and renewal
- Apply SSL Bundles to
RestClient, embedded server, and data sources - Enforce HTTPS via
server.ssl.bundleconfiguration
CORS & CSRF
- Explicit CORS configuration with specific allowed origins (not
*in production) - CSRF disabled only for stateless REST APIs
- CSRF enabled for session-based web applications
Dependencies
- Check for known CVEs:
./mvnw dependency-check:check(OWASP dependency-check plugin) - Keep Spring Boot and dependencies at latest stable versions
- Review transitive dependencies for vulnerabilities
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago Changed · -204 lines 25b3d2bebcca
- 1mo ago First seen · 277 lines · 55 tokens per session scan A 73e2dc3df29a
security-engineer is an agent published in the GitHub repository piomin/claude-ai-spring-boot (1,418 stars, last pushed 2d ago), licensed Apache-2.0. It adds 55 tokens to every session and 741 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
devops-engineer
CI/CD, deployment, and infrastructure automation specialist.
Deployment Specialist
Expert in deploying LangGraph agents to production environments with proper scaling, monitoring, and reliability.
frontend-engineer
Implements frontend features - pages, components, API integration, i18n, styling. Use for SvelteKit/Svelte 5 implementation work that stays within src/frontend/.
db-expert
Expert on SQLAlchemy 2.0 + Pydantic + PostgreSQL. Use when setting up database layers, creating models, defining schemas, writing migrations, or implementing repository patterns. Automatically triggered for any database-related implementation work.
meta-agent
Generates a new, complete Claude Code sub-agent configuration file from a user's description. Use this to create new agents. Use this Proactively when the user asks you to create a new sub agent.
02-postgresql-dba
Become a PostgreSQL Database Administrator mastering installation, configuration, security, replication, backup/recovery, monitoring, and high-availability systems. Learn production-grade operations, disaster recovery, and enterprise scaling strategies for mission-critical systems.