# Spring Boot Production Readiness Audit

> Point your agent at a Spring Boot project and get a scored, evidence-based production audit: schema auto-DDL, exposed Actuator endpoints, hardcoded secrets, permit-all security, wildcard CORS, missing timeouts — each with file, line, and the production-safe fix.

Spring Boot Production Readiness Audit is a paid AI agent skill on Agensi by william Harris, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9 (one-time purchase)
- Creator: [william Harris](https://www.agensi.io/creators/william-harris)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Version: 1.0
- Last updated: 2026-12-03
- Security: scan passed (2026-12-03); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/spring-boot-production-readiness-audit
- Tags: code-review, devops, spring-boot, production-readiness, configuration-audit, actuator-security, ddl-auto, flyway

## What it does

- Audits the merged production config view (base + prod profile, merged like Spring Boot)
- Runs 20+ production rules via a bundled read-only scanner (Python stdlib, secrets redacted)
- Scores production readiness 0–100 with CRITICAL-to-INFO findings, each with file and line
- Writes concrete diff fixes: ddl-auto validate + Flyway, Actuator allow-lists, env secret placeholders, exact C
- Re-scans after fixes and shows the readiness score before → after

## Who it's for

- **Spring Boot developers about to deploy to production:** A scored audit of the exact config that will run in prod, with the fixes written as diffs Try: "Audit my Spring Boot project for production readiness before I deploy"
- **Solo builders shipping their first production release:** A pre-launch checklist that runs itself — every pitfall found, explained, and fixed Try: "Is my Spring Boot app safe to deploy? Check the production config"
- **Tech leads reviewing a team's pre-deploy configuration:** Evidence for the deploy decision: a 0–100 score with every finding pinned to file and line Try: "Review our prod profile and tell me what would break in production"
- **Java teams inheriting an existing Spring Boot codebase:** A fast map of every risky config inherited with the project, ranked by severity Try: "We just inherited this Spring Boot project — audit its production config"

## About this skill

### Spring Boot Production Readiness Audit

**Catch the config that breaks in production — before you deploy.**

Point your agent at a Spring Boot project and get a scored, evidence-based production audit: schema auto-DDL, exposed Actuator endpoints, hardcoded secrets, permit-all security, wildcard CORS, missing timeouts — each with file, line, and the production-safe fix.

#### How the audit works

- **Merged production config view** — base + prod profile merged exactly like Spring Boot resolves them at runtime, so findings judge what actually runs in production, not what a single file suggests.
- **20+ production rules** via a bundled read-only scanner (Python standard library only, secrets redacted in all output).
- **CRITICAL-to-INFO findings** with a 0–100 readiness score. Every finding names the file, the line, why it breaks or leaks in production, and the fix.

It catches the classics that pass every demo and fail in prod: `ddl-auto: update` quietly mutating your schema, Actuator endpoints exposed to the internet, hardcoded passwords and API keys, `permitAll()` security chains, wildcard CORS, missing HTTP timeouts, and more.

#### Fixes, not just findings

Every finding ships with a concrete diff you can review and apply:

- `ddl-auto: validate` + Flyway migrations instead of auto-DDL
- Actuator allow-lists instead of `exposure.include: *`
- Environment-variable placeholders for secrets
- Exact CORS origins instead of `*`
- Connect/read timeouts on outbound calls

After the fixes, the skill **re-scans and shows the score before → after** before delivering — so you see proof the config is hardened, not just a promise.

#### Proof

Rehearsal: a sample project with 15 planted production pitfalls scores **27/100** with all 15 caught; the hardened version scores **100/100** with zero false positives.

#### What's inside

- **SKILL.md** — the audit workflow your agent follows
- **scripts/prod_audit.py** — the read-only scanner (Python stdlib, nothing to install)
- **Reference material** — production checklist, severity guide, worked examples
- **Sample projects** — the pitfall-planted and hardened rehearsal apps

## Requires

- Python 3.8+

## Technical details

Works on any Spring Boot project using application.yml / application.properties, including profile-specific files (application-prod.yml, application-prod.properties). The bundled scanner (scripts/prod_audit.py) uses only the Python 3 standard library — nothing to pip install — and is strictly read-only: it never modifies files and redacts secret values in its output. The agent merges base + prod profile configuration the way Spring Boot does, applies 20+ rules (schema DDL mode, Actuator exposure, hardcoded secrets, security matchers, CORS, timeouts, logging, error disclosure, and more), and proposes fixes as reviewable diffs. Requires Python 3.8+ and terminal access for the agent. No network access needed.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Spring Boot Production Readiness Audit skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Which configuration formats are supported?

Both application.yml and application.properties, including profile-specific files like application-prod.yml. The audit merges your base config with the prod profile the same way Spring Boot resolves them at runtime, so findings reflect what actually runs in production.

### Will it change my code?

The bundled scanner is strictly read-only — it never modifies files. Fixes are written as reviewable diffs for you to approve, and after applying them the skill re-scans to prove the score improved before delivering.

### Are my secrets safe during the audit?

Yes. The scanner runs locally, needs no network access, and redacts secret values in everything it prints — findings show the file and line, never the secret itself. If a secret is found committed to your repo, rotate it: redaction protects the report, not your git history.

### Can I run the audit in CI?

Yes. The scanner is a plain Python 3 script with no dependencies, so you can run scripts/prod_audit.py in your pipeline and gate merges or deploys on its findings and 0–100 score. The skill also works interactively through your agent for the fix-and-rescan loop.

### How is this different from a code review?

A code review reads your logic; this skill audits your production configuration — the merged base + prod profile view Spring Boot actually runs — against 20+ production-specific rules. You get a 0–100 readiness score, findings pinned to file and line, ready-to-apply diff fixes, and a re-scan proving the score improved. It complements code review rather than replacing it.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
