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.00730 |
| Opus 5.5 | $0.00022 | $0.00292 |
| Sonnet 5.5 | $0.00011 | $0.00146 |
| Haiku 4.5 | $0.00006 | $0.00073 |
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 18d 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, 311 lines differ
- security-engineer — 88% identical, 335 lines differ
How it starts
The opening of the file, as written. The whole thing — 72 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 7 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.
- 18d ago Changed 1eb9825b2d59
- 20d ago Changed · -1 lines ff47c3c1a018
- 1mo ago Changed · -204 lines 25b3d2bebcca
- 3mo 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,478 stars, last pushed 8d ago), licensed Apache-2.0. It adds 55 tokens to every session and 730 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.
security-engineer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| security-engineerpiomin/claude-ai-spring-boot | Agent | 1.5k | 8d ago | Apache-2.0 | A | 55 | Claude Code |
| devops-engineerChanningLua/prax-agent | Agent | 272 | 2mo ago | MIT | A | 14 | Claude Code |
| Deployment SpecialistTheLobbi/claude | Agent | 22 | 1mo ago | MIT | C | 20 | Claude Code |
| frontend-engineerfpindej/netrock | Agent | 236 | 19d ago | MIT | A | 39 | Claude Code |
| db-expertcfircoo/claude-code-toolkit | Agent | 17 | 8mo ago | MIT | A | 50 | Claude Code |
| 02-postgresql-dbapluginagentmarketplace/custom-plugin-sql | Agent | 1 | 11mo ago | none | A | 50 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 102k | today | Apache-2.0 | A | 151 | Claude Code |