cwe-94-code-injection

Official

Secure Java code from injection vulnerabilities.

AuthorDevelopersCoffee
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses critical security vulnerabilities in Java code that arise from executing untrusted or dynamically generated code, preventing potential system compromise.

Core Features & Use Cases

  • Code Injection Remediation: Provides deterministic fixes for CWE-94 (Code Injection) vulnerabilities.
  • Secure Coding Practices: Guides developers to avoid executing user-provided scripts directly.
  • Use Case: When a SAST tool flags a ScriptEngine.eval() call with user input, this Skill can be applied to refactor the code to use a safe, predefined set of operations instead.

Quick Start

Apply the cwe-94-code-injection skill to secure the provided Java code snippet.

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