In short.
Security Audit is a Java security review skill for developers using coding assistants, but conflicting and potentially unsafe examples limit its reliability as implementation guidance. It provides useful inspection targets for queries, access control, secrets, logging and dependencies. The Jackson examples disagree about polymorphic deserialization, the HTML validator uses a narrow blocklist, and the CSRF example combines disabling and configuring protection. No code, assistant session, build or scanner was executed; compatibility and detection accuracy remain unassessed.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the complete captured skills/security-audit folder, consisting of README.md and SKILL.md, plus the repository-level LICENSE at revision 049043449da59b04dc8fa9967466b171be5e49a7. Other repository files, related skills and linked external pages are excluded. Findings concern the supplied text and examples. No resource code, assistant interaction, installation, build, scanner or security test was executed; runtime behavior, compatibility and detection effectiveness remain unassessed.
The overview
Identity
Security Audit is the skills/security-audit folder in decebals/claude-code-java. Its captured contents are README.md and SKILL.md, accompanied by the repository-level MIT LICENSE. The source folder is available at [https://github.com/decebals/claude-code-java/tree/049043449da59b04dc8fa9967466b171be5e49a7/skills/security-audit].
The README points assistants to .claude/skills/security-audit/SKILL.md. The resource supplies review instructions, checklists and examples; the captured folder contains no executable scanner implementation.
Assessment
Use this resource as an initial review checklist with an experienced reviewer validating proposed changes. Its concrete examples make broad security topics easier to inspect, particularly parameterized database queries, document ownership checks, password hashing and sensitive logging.
Its implementation guidance needs caution. One Jackson example enables broad polymorphic deserialization while another disables it, and the SafeHtml validator checks only a few suspicious text patterns. These inconsistencies weaken the authority of examples presented as safe.
Users
The intended users are Java developers reviewing application security, authentication and authorization changes, or preparing for a release. The material includes Spring, Quarkus, Jakarta EE and plain Java examples, although framework coverage varies by topic.
Beginners can use the checklist to learn what questions to ask. Developers adopting its configuration or deserialization examples need enough framework knowledge to resolve contradictions and confirm behavior against their application.
Capabilities
The skill organizes reviews around input validation, SQL injection, cross-site scripting, cross-site request forgery, authentication, authorization, secrets, deserialization, dependencies, HTTP security headers and logging. Examples include JDBC PreparedStatement, JPA query parameters, Spring authorization annotations, BCrypt and Argon2 password hashing, and a Maven dependency-check configuration.
The README marks all ten listed OWASP risk categories as covered. Depth is uneven: SSRF and insecure design receive brief mitigation entries, while database queries and authentication receive longer examples. The coverage table does not establish comprehensive vulnerability detection or compliance.
Using it
Requirements
Using it as an assistant skill requires an environment that can read project skill instructions. The documented location follows a .claude/skills directory layout, but supported assistant versions, automatic discovery and activation behavior are unknown.
Applying individual examples may require Bean Validation, Spring Security, Jackson, an ORM or JDBC, and OWASP Encoder, depending on the application. The dependency-audit example assumes Maven. The README mentions Gradle, but the captured skill provides no Gradle configuration. Required JDK and framework versions are unspecified.
Mechanism
The assistant reads a Markdown instruction file containing topic descriptions, code patterns and review checklists. Those instructions can guide inspection of application code and the explanation of possible findings. Any resulting analysis depends on the assistant and the code it can access; detection performance is unknown.
The Maven dependency-check configuration is a separate, optional scanning step described inside the skill. Loading the instruction file does not establish that this scanner, a build or any verification command has run.
Setup
The README documents loading .claude/skills/security-audit/SKILL.md. A manual arrangement consistent with that location would place the captured skill folder beneath the project's .claude/skills directory. Installation commands and confirmation of automatic activation are absent from the supplied files.
Give the assistant the relevant application code and identify the framework and authentication approach before requesting a review. Check framework-specific examples against the versions in use, and preserve the MIT notice when copying the resource.
Example
For a document lookup service, a developer could ask an assistant to inspect whether the current user owns the requested document or has an administrator role, identify the relevant code locations, and propose verification cases. This follows the skill's DocumentService example, which checks ownership and role before returning a document.
The same review could examine query parameters and sensitive log fields using the corresponding checklist topics. This is an illustrative use case only; no assistant output, detected vulnerability or successful remediation was demonstrated.
Assessment & evidence
Limitations
The first Jackson example calls activateDefaultTyping with LaissezFaireSubTypeValidator and NON_FINAL, while the later security configuration calls deactivateDefaultTyping. The earlier example therefore supplies broad subtype handling without demonstrating restrictive subtype validation. Treat this conflict as a blocker to copying the example into an untrusted-input path.
The SafeHtml validator rejects only script tags, javascript: text and event-handler-like patterns. That is a blocklist, despite the nearby preference for allowlists, and the file provides no evidence of comprehensive HTML sanitization.
The Spring CSRF example disables protection and then configures a token repository in the same chain. Its comment about stateless JWT APIs omits how credentials are transported. Effective behavior and suitability for a particular application remain unassessed. The Quarkus configuration and other framework snippets were also not validated.
Reasoning
The strongest contribution is a compact collection of concrete inspection targets. A reviewer can connect broad concerns to recognizable code: concatenated SQL, missing ownership checks, hardcoded credentials and password-bearing logs.
The conflicting examples reduce confidence in using the material to generate fixes. An inference from the instructional format is that an assistant could reproduce those examples alongside useful advice; actual assistant behavior is unknown. Topic coverage and confident safety labels provide no evidence that a resulting application is secure.
Alternatives
For dependency-focused work, the source points to OWASP Dependency Check [https://owasp.org/www-project-dependency-check/] and supplies a Maven configuration. For reference reading, it links the OWASP Java Security Cheat Sheet [https://cheatsheetseries.owasp.org/cheatsheets/Java_Security_Cheat_Sheet.html]. The linked pages and their current contents were not assessed.
The folder also names java-code-review, maven-dependency-audit and logging-patterns as related skills. Their contents are outside the supplied scope, so comparative quality, compatibility and overlap are unknown.
Evidence
The captured instruction file is available at [https://raw.githubusercontent.com/decebals/claude-code-java/049043449da59b04dc8fa9967466b171be5e49a7/skills/security-audit/SKILL.md]. It contains the review guidance and code examples underlying the technical findings.
The accompanying README is at [https://raw.githubusercontent.com/decebals/claude-code-java/049043449da59b04dc8fa9967466b171be5e49a7/skills/security-audit/README.md], and the parent license is at [https://raw.githubusercontent.com/decebals/claude-code-java/049043449da59b04dc8fa9967466b171be5e49a7/LICENSE]. The broader repository and external references are outside this assessment. No execution evidence or measured detection results were supplied.
Access & freshness
Costs
The supplied files state no price, subscription requirement, token consumption or review runtime. Total operating cost is unknown.
The MIT license permits use and redistribution, but it does not establish the cost of an assistant service, computing resources or any separately used tooling.
Rights
The repository LICENSE is MIT, copyright 2026 Decebal Suiu, and SKILL.md also declares MIT. The license permits use, copying, modification, publication, distribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions.
The software is supplied without warranty, with a liability disclaimer. This notice does not establish the licenses or terms of linked websites, referenced dependencies or assistant services.
Freshness
The source snapshot was captured on 2026-11-16 at 02:17:15.289 UTC, at revision 049043449da59b04dc8fa9967466b171be5e49a7. Capture time does not establish the files' last modification dates or a release date.
The examples name OWASP Encoder 1.2.3, dependency-check-maven 9.0.7 and a Spring Security v5_8 Argon2 factory method. These are identifiers in the captured text, not verified current recommendations. Current dependency versions, vulnerability status and compatibility with a particular Java stack are unknown.
Actions
Begin with a bounded review of code you own or are authorized to assess. Ask for code locations, security rationale, proposed changes and verification steps, then have an experienced reviewer evaluate the findings.
Before adopting examples, resolve the Jackson and CSRF contradictions, replace reliance on the SafeHtml blocklist with an appropriate validated approach, and confirm framework settings and dependency versions. Verify resulting changes with application-specific tests and dependency checks; those steps remain unperformed here.
