124-java-secure-coding SKILL.md skillA
124-java-secure-coding from jabrena/plinth is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add jabrena/plinth/124-java-secure-coding@v0.19.0Pins v0.19.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- jabrena/plinth
- Path
skills/124-java-secure-coding/SKILL.md- Versions recorded
- 6
- Latest version
- v0.19.0, committed Sep 26, 2026
- First version recorded
- Apr 26, 2026
- Size
- 3,549 bytes
- Repository stars
- 461
- License
- Apache-2.0
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…
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
# Java Secure coding guidelines Identify and apply Java secure coding practices to reduce vulnerabilities, protect sensitive data, and harden application behaviour against common attack vectors. **What is covered in this Skill?** - Input validation: type, length, format, and range checks - SQL/OS/LDAP injection defence via `PreparedStatement` and parameterized APIs - Attack surface minimisation: least-privilege permissions, removal of unused features - Strong cryptography: BCrypt/Argon2 for passwords, AES-GCM for encryption, digital signatures; avoid deprecated ciphers (MD5, SHA-1, DES) - Secure exception handling: log diagnostic details internally, expose only generic messages to clients - Secrets management: load credentials from environment variables or secret managers — never hardcoded - Safe deserialization: strict allow-lists, prefer explicit DTOs over native Java serialization - Output encoding to prevent XSS in rendered content **Scope:** The reference is organized by examples (good/bad code patterns) for each core area. Apply recommendations based on applicable examples. ## Constraints …
Read the whole file at its exact version.
How to install
mdr add jabrena/plinth/124-java-secure-coding@sha256:e8081c24d7c344cfThe line at the top of this page pins the label v0.19.0, 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.
[](https://markdownregistry.com/a/art_rhn3bqvoppkqa4cs)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Apr 26, 2026 and Sep 26, 2026, about one every 31 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v0.19.0 latest | 2026-09-26 | 9569c35 | 3,549 B | A | view · diff |
| v0.18.0 | 2026-08-01 | 26b0e71 | 3,549 B | A | view · diff |
| v0.17.0 | 2026-07-10 | aaee915 | 3,549 B | A | view · diff |
| v0.16.0 | 2026-06-15 | b73c9d3 | 3,184 B | A | view · diff |
| v0.15.0 | 2026-05-29 | a800339 | 3,184 B | A | view · diff |
| v0.15.0-SNAPSHOT | 2026-04-26 | 819f349 | 3,193 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3549 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
jabrena/plinth · 461 stars · license Apache-2.0 · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_rhn3bqvoppkqa4cs GET https://markdownregistry.com/api/v1/resolve?ref=jabrena/plinth/124-java-secure-coding GET https://markdownregistry.com/api/v1/blob/e8081c24d7c344cf61f6d5222129ef4d0ca4efe705cb4acb277187e828c48c2d
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.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.