cwe-89-sql-injection

Official

Prevent SQL injection attacks.

AuthorDevelopersCoffee
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill protects your Java applications from SQL injection attacks, a common vulnerability that can lead to data breaches and unauthorized access.

Core Features & Use Cases

  • Detects vulnerable SQL queries: Identifies code where user input is directly concatenated into SQL statements.
  • Applies parameterized queries: Replaces vulnerable string concatenation with secure PreparedStatement or JdbcTemplate placeholders.
  • Use Case: Secure a web application's user login or data retrieval functions by ensuring all database queries are protected against malicious SQL input.

Quick Start

Use the cwe-89-sql-injection skill to secure the provided Java code against SQL injection.

Dependency Matrix

Required Modules

java.sql.PreparedStatementorg.springframework.jdbc.core.JdbcTemplate

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cwe-89-sql-injection
Download link: https://github.com/DevelopersCoffee/java-cwe-security-skills/archive/main.zip#cwe-89-sql-injection

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.