agentsclimarketplace

Java secure coding

Skill andresnator/agents-orchestrator/skills/java-secure-coding

Trigger: Java secure coding, Oracle Secure Coding Guidelines, input validation, trust boundaries, deserialization, least privilege, sensitive data. Review Java code for secure implementation practices.From its SKILL.md

Install
npx -y skills add andresnator/agents-orchestrator --skill java-secure-coding

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

3.1 KB, 567 tokens by cl100k_base, as published. Nobody here has run it

Skill: java-secure-coding

Activation Contract

Use this skill when reviewing or designing Java code for secure coding practices: input validation, trust boundaries, injection, serialization/deserialization, sensitive data, resource exhaustion, mutability, access control, and third-party code risk.

Do not use this skill for full threat modeling, compliance audits, cryptography design, infrastructure hardening, or non-Java security work.

Responsibility

This skill teaches Java secure-coding review based on Java platform concerns and Oracle Secure Coding Guidelines. It does not call other skills, certify security, or replace a formal security review.

Required Context

  • Data sources and trust boundaries.
  • Inputs accepted and outputs generated.
  • Sensitive data handled.
  • Resource-intensive operations.
  • Serialization, reflection, XML, SQL, command execution, or third-party dependencies involved.

Context Budget

  • Keep this SKILL.md focused on secure-coding decisions.
  • Use references/java-secure-coding-guidance.md for checklist details.

Hard Rules

  • Establish trust boundaries before judging input safety.
  • Validate and canonicalize untrusted input before use.
  • Avoid dynamic SQL; use parameterized statements or safe higher-level APIs.
  • Do not log secrets or expose sensitive data in exceptions.
  • Release resources and defend against resource exhaustion.
  • Treat deserialization, XML, reflection, JNDI, command execution, and third-party code as high-risk areas.
  • Prefer least privilege and minimal accessibility.

Decision Gates

ConditionAction
Untrusted input crosses boundaryValidate type, range, size, format, and canonical form.
SQL uses string concatenationReplace with parameterized query shape.
XML or deserialization is involvedRequire restrictive parser/filter configuration.
Sensitive data appears in logs/exceptionsRemove, redact, or sanitize.
Resource size depends on inputAdd limits and overflow-safe checks.
Public/extensible surface exposes internalsReduce accessibility or document/guard contract.

Execution Steps

  1. Identify trust boundaries and untrusted data.
  2. Check injection, inclusion, deserialization, and resource risks.
  3. Check sensitive-data exposure.
  4. Check mutability, access, and privilege boundaries.
  5. Return findings with severity and remediation.

Output Contract

Return:

  • Secure-coding verdict: low_risk, needs_hardening, or high_risk.
  • Findings with severity and evidence.
  • Recommended remediation.
  • Residual risks and assumptions.
  • Areas requiring formal security review, if any.

References

  • references/java-secure-coding-guidance.md — Java secure-coding checklist based on official guidance themes.

Assets

  • None.

What ships with it: 1 file

1.6 KB alongside SKILL.md

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.