Java security checklist covering OWASP Top 10, input validation, injection prevention, and secure coding. Works with Spring, Quarkus, Jakarta EE, and plain Java. Use when reviewing code security, before releases, or when user asks about vulnerabilities.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Security Audit Skill
Security checklist for Java applications based on OWASP Top 10 and secure coding practices.
## When to Use
- Security code review
- Before production releases
- User asks about "security", "vulnerability", "OWASP"
- Reviewing authentication/authorization code
- Checking for injection vulnerabilities
---
## OWASP Top 10 Quick Reference
| # | Risk | Java Mitigation |
|---|------|-----------------|
| A01 | Broken Access Control | Role-based checks, deny by default |
| A02 | Cryptographic Failures | Use strong algorithms, no hardcoded secrets |
| A03 | Injection | Parameterized queries, input validation |
| A04 | Insecure Design | Threat modeling, secure defaults |
| A05 | Security Misconfiguration | Disable debug, secure headers |
| A06 | Vulnerable Components | Dependency scanning, updates |
| A07 | Authentication Failures | Strong passwords, MFA, session management |
| A08 | Data Integrity Failures | Verify signatures, secure deserialization |
| A09 | Logging Failures | Log security events, no sensitive data |
| A10 | SSRF | Validate URLs, allowlist domains |
---
## Input Validation (All Frameworks)
### Bean Validation (JSR 380)
…
The line at the top of this page pins the label git:20260828.702770a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_uhh7e4zpvkbxtiwz
GET https://markdownregistry.com/api/v1/resolve?ref=decebals/claude-code-java/security-audit
GET https://markdownregistry.com/api/v1/blob/9c4f4da95e5b600e914a8dcd75f308050f15a5f39d04c63325818bf1e741201f
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
decebals/claude-code-java · skills/api-contract-review/SKILL.md · Review REST API contracts for HTTP semantics, versioning, backward compatibility, and response consistency. Use when…
decebals/claude-code-java · skills/changelog-generator/SKILL.md · Generate changelogs from git commits. Use when user says "generate changelog", "update changelog", "what changed since…
decebals/claude-code-java · skills/clean-code/SKILL.md · Clean Code principles (DRY, KISS, YAGNI), naming, function design and readability. Use when code is hard to read, with…
decebals/claude-code-java · skills/design-patterns/SKILL.md · Common design patterns with Java examples (Factory, Builder, Strategy, Observer, Decorator, etc.). Use when user asks…
decebals/claude-code-java · skills/git-commit/SKILL.md · Generate conventional commit messages for Java projects. Use when user says "commit", "create commit", "commit…
decebals/claude-code-java · skills/issue-triage/SKILL.md · Triage and categorize GitHub issues with priority labels. Use when user says "triage issues", "check issues", "review…
decebals/claude-code-java · skills/java-code-review/SKILL.md · Systematic code review for Java with null safety, exception handling, concurrency, and performance checks. Use when…
decebals/claude-code-java · skills/java-migration/SKILL.md · Guide for upgrading Java projects between major versions (8→11→17→21→25). Use when user says "upgrade Java", "migrate…
decebals/claude-code-java · skills/jpa-patterns/SKILL.md · JPA/Hibernate patterns and common pitfalls (N+1, lazy loading, transactions, queries). Use when user has JPA…
decebals/claude-code-java · skills/logging-patterns/SKILL.md · Java logging best practices with SLF4J, structured logging (JSON), and MDC for request tracing. Includes AI-friendly…
maxmiksa/auto-company · .claude/skills/security-audit/SKILL.md · Use when reviewing code security, auditing dependencies for CVEs, checking configuration or secret security, assessing…
cowork-os/cowork-os · resources/skills/security-audit/SKILL.md · Answer security questions about code, review a file or change for vulnerabilities, or run a full multi-agent audit of a…
josstei/maestro-orchestrate · plugins/maestro/skills/security-audit/SKILL.md · Run a Maestro-style security assessment for authentication, authorization, data exposure, secret handling, and…