Spring Boot SaaS Audit Suite
Ship Spring Boot backends to production with confidence. This bundle pairs two deep audit skills that cover what generic code reviewers miss.
Multi-Tenant SaaS Audit finds cross-tenant data leaks before your customers do — tenant isolation checks, schema-per-tenant pitfalls, and data-access layer reviews for Spring/JPA multi-tenant apps.
Spring Boot Production Readiness Review gives you a launch checklist, not a prayer — configuration, observability, security headers, graceful shutdown, and the 30+ details teams forget before go-live.
Together they form one workflow: audit your tenant isolation first, then run the production-readiness gate before every release. The free JPA N+1 Query Smell Detector rides along as a bonus, catching the most common performance bug in JPA codebases.
Built for backend teams and solo developers shipping Spring Boot services where a data leak or a failed launch is not an option.
Works with every agent that reads SKILL.md — Claude Code, Cursor, Codex CLI, Gemini CLI, GitHub Copilot, Windsurf, OpenClaw, and more.
One payment, lifetime access. 2 skills unlock instantly in your library.
What's included
2 skillsAudit Spring Boot and Java SaaS backends for tenant isolation, context propagation, and cross-tenant data leaks.
Production readiness audit for Spring Boot apps with P0-P2 severity scoring and prioritized remediation plans.
See it in action
Spring Boot Multi-tenant SaaS
Example session with this skill installed
Audit our multi-tenancy in the /app folder. We use Spring Boot with a schema-per-tenant approach and PgBouncer. Check for data leaks.
- Read your context and instructions
- Compiled the spring boot multi-tenant
I have completed the multi-tenant architecture audit for the /app directory. I identified a
schema-per-tenant model with high confidence based on the TenantIdentifierResolver implementation.
Multi-Tenant Audit Report — backend-service @ 2023-10-24
Scope: src/main/java/**, src/main/resources/**. Tenancy model: Schema-per-tenant (High confidence).
Summary — P0: 1 | P1: 2 | P2: 0 | Can't-tell: 1
Findings
[P0] MT-02 — Session-level SET with Connection Pooler
- Evidence:
src/main/java/com/saas/config/TenantSchemaInterceptor.java:42
statement.execute("SET search_path TO " + tenantId);
Why it matters: Using SET instead of SET LOCAL inside a transaction while using PgBouncer can leak the schema context to the next tenant using the same physical connection.
How to verify: Deploy to a staging env with PgBouncer in transaction mode and trace schema resolution across concurrent requests.
Suggested fix: Wrap in a transaction and use SET LOCAL search_path TO... or use a dedicated MultiTenantConnectionProvider.
[P1] MT-06 — Async path without tenant propagation
- Evidence:
src/main/java/com/saas/service/ReportService.java:112
Why it matters: The @Async method generateExport() triggers without capturing the TenantContext. The background thread will default to the 'public' schema or fail.
- Suggested fix: Use a
TaskDecoratorto copy theThreadLocalcontext to the new thread.
[P1] MT-04 — Cache keys without tenant prefix
- Evidence:
src/main/java/com/saas/repository/ProductRepo.java:15
Why it matters: @Cacheable(value = "products") lacks a tenant discriminator. Tenant A may see Tenant B's cached products.
- Suggested fix: Update the cache key to include
tenantId:key = "#root.target.tenantId + #id".
Next steps
- Patch the
SET LOCALP0 finding immediately to prevent cross-contamination in production. - Implement a
TaskDecoratorfor theThreadPoolTaskExecutorto fix the async leaks. - Update the
RedisCacheManagerconfiguration to globally prefix keys with the tenant identifier.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs these skills for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every skill in this bundle passes our trust checks.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back