Outils et scripts IA
Java Code Safety Check
Cette annonce est affichée dans sa langue d'origine (anglais).
Check Java and Spring Boot code before you deploy: SQL built with + or format, Runtime.exec and ProcessBuilder with outside input, unsafe deserialization, hard-coded secrets and JWT keys, XXE, weak crypto, trust-all TLS and logged secrets.
Ce que vous recevez : 1 fichier · 48.33 KB · ZIP
Voir les options d'achatDescription du produit
One jdbc.query("... WHERE email = '" + email + "'") or one new ObjectInputStream(request.getInputStream()) is enough to lose your data or your server. This skill finds those and eleven other Java security mistakes before you deploy, and tells you how to fix each one.
Your agent runs a scanner on your .java files. It skips comments, tests and generated code, understands strings, text blocks and concatenation, follows SQL built in a variable or a StringBuilder to the call that runs it, and knows which values come from the request (getParameter, @RequestParam, @PathVariable, JAX-RS parameters, upload file names). It knows the safe patterns: ? and :name placeholders, constants and numbers, nCopies placeholder lists, sort columns checked against an allowlist, ObjectInputFilter, disallow-doctype-decl, SecureRandom, and normalize() with startsWith. It never compiles or runs Java. It returns BLOCK, REVIEW, or NOT FLAGGED, with the file, line, reason, and a safer approach. Secrets are never printed.
What it checks
BLOCK (fix before shipping)
J01: SQL or JPQL built with +, String.format or StringBuilder and run with JDBC, JdbcTemplate, JdbcClient, JPA or Hibernate, and ${} in MyBatis annotations
J02: Runtime.exec or ProcessBuilder running sh -c with a changing command, one command string built from a value, or a program name from the request
J03: ObjectInputStream without a filter, SerializationUtils.deserialize, XMLDecoder, XStream any-type permission, Jackson default typing or Id.CLASS on Object fields, SnakeYAML allowing every tag
J04: hard-coded passwords, API keys, tokens, JWT and HMAC keys, @Value defaults and passwords in JDBC URLs
J05: JWTs accepted without a signature (Algorithm.none(), parseClaimsJwt, unsecured()) or decoded and never verified
REVIEW (check before release)
J11: XML parsers (JAXP, dom4j, JDOM) without DTDs or external entities turned off (XXE)
J12: XStream without an allowlist and SnakeYAML new Yaml() without SafeConstructor
J13: DES, triple DES, RC4, Blowfish, ECB mode and Cipher.getInstance("AES")
J14: MD5 or SHA on passwords and NoOpPasswordEncoder or other weak Spring encoders
J15: java.util.Random, Math.random(), ThreadLocalRandom or RandomStringUtils for tokens, OTPs and reset codes
J16: trust-all TrustManagers and hostname verifiers, NoopHostnameVerifier, TrustSelfSignedStrategy
J17: file paths from the request in new File, Paths.get, resolve or FileSystemResource
J18: passwords, tokens and the Authorization header written to logs
What's included
The scanner (Python 3.9+, standard library only)
A rules guide with the reason and safer approach for each rule
A risky and a safe example Spring Boot service, and the real report the scanner produces on the risky one
Limits
It reads code as text, not with the Java compiler: types are not known and values are followed within one file. application.properties and application.yml, dependencies and known CVEs, Kotlin and JSP files are not checked. NOT FLAGGED is not a guarantee.
Contents
One ZIP file with 20 files: SKILL.md, the scanner in scripts/ (5 Python files), references/rules.md (every rule with its reason and safer approach), and examples/ (12 example files plus report.md, the real scanner output on the risky example).
How to use: This is an agent skill: a folder with a SKILL.md file and Python scripts that an AI coding agent such as Claude Code, Cursor, or Codex CLI can run. Unzip it into your agent's skills folder (for Claude Code: ~/.claude/skills/), then ask your agent to check your project. The scripts also run on their own with Python 3.9 or newer, with nothing to install. They read your files only: no network access, and nothing is sent anywhere.
Ce que vous recevez
1 fichier · 48.33 KB
- java-code-safety-check-1.0.0.zipZIP · 48.33 KB
Outils et scripts IA
Java Code Safety Check
Cette annonce est affichée dans sa langue d'origine (anglais).
Check Java and Spring Boot code before you deploy: SQL built with + or format, Runtime.exec and ProcessBuilder with outside input, unsafe deserialization, hard-coded secrets and JWT keys, XXE, weak crypto, trust-all TLS and logged secrets.
Inclus dans Getly ProPasser à Pro
Tags
Questions fréquentes
Ai-je accès au produit immédiatement ?
Oui. C'est un produit numérique : vous pouvez le télécharger juste après le paiement, directement depuis votre bibliothèque.
Puis-je l'utiliser pour des projets commerciaux ?
Oui. L'usage commercial est autorisé : utilisez-le dans votre propre activité et dans ce que vous vendez. Vous ne pouvez pas revendre ni redistribuer le fichier lui-même.
Quelle est votre politique de remboursement ?
Vous pouvez demander un remboursement dans un délai de 30 jours. Si quelque chose ne va pas, demandez-le depuis votre commande et l'équipe Getly l'examine.
Quels formats et quelles tailles de fichier vais-je recevoir ?
Vous téléchargerez 1 fichier - ZIP - 48.33 KB au total.
Ai-je droit aux mises à jour gratuites ?
Oui : quand le vendeur publie une nouvelle version, vous pouvez retélécharger les derniers fichiers depuis votre bibliothèque sans frais. Consultez le journal des modifications pour les dernières mises à jour.
Prix
$5.00



