Use when you need to apply Java secure coding best practices — including validating untrusted inputs, defending against injection attacks with parameterized queries, minimizing attack surface via least privilege, applying strong cryptographic algorithms, handling exceptions securely without exposing sensitive data, managing secrets at runtime, avoiding unsafe deserialization, and encoding output to prevent XSS. This should trigger for requests such as Review Java code for secure coding; Find input validation risks in Java code; Review Java code for injection vulnerabilities; Improve secure error handling in Java services; Harden Java code against common security flaws. Part of Plinth Toolkit
$npx -y skills add jabrena/plinth --skill 124-java-secure-codingInstalls into the current project.
Run `npx skills use "https://github.com/jabrena/plinth" --skill "jabrena/plinth/124-java-secure-coding"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/jabrena/plinth" that are relevant to the current task. Run `npx skills add "https://github.com/jabrena/plinth"` and select the relevant skills, then follow their instructions.