cwe-77-command-injection

Official

Prevent command injection in Java.

AuthorDevelopersCoffee
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the critical security vulnerability of Command Injection (CWE-77) in Java applications, preventing unauthorized command execution on the server.

Core Features & Use Cases

  • Vulnerability Identification: Detects patterns where user input is directly incorporated into system commands.
  • Secure Code Transformation: Provides deterministic fixes to safely execute external commands.
  • Use Case: Secure a Java web application endpoint that uses user-provided input to construct a ping command, preventing attackers from executing arbitrary shell commands.

Quick Start

Use the cwe-77-command-injection skill to secure the Java code that executes system commands with user input.

Dependency Matrix

Required Modules

None required

Components

references

💻 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-77-command-injection
Download link: https://github.com/DevelopersCoffee/java-cwe-security-skills/archive/main.zip#cwe-77-command-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.