/prodsec-skills-ge-core:input-validation-injectionfrom prodsec-skills-ge-core
Reviews code for injection vulnerabilities (SQL, LDAP, OS command, prototype pollution) and validates input handling strategy.
Ships in prodsec-skills-ge-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Ensure untrusted input is validated and never interpreted as code. Prevent injection across SQL, LDAP, OS commands, templating, and JavaScript runtime object graphs.
^$); beware ReDoS.Example (Java PreparedStatement):
String custname = request.getParameter("customerName");
String query = "SELECT account_balance FROM user_data WHERE user_name = ? ";
PreparedStatement pstmt = connection.prepareStatement(query);
pstmt.setString(1, custname);
ResultSet results = pstmt.executeQuery();
\ # + < > , ; " = and leading/trailing spaces* ( ) \ NULexec).& | ; $ > < \ ! ' " ( ) and whitespace when arguments must not contain spaces).-- to delimit arguments where supported to prevent option injection.Example (Java ProcessBuilder):
ProcessBuilder pb = new ProcessBuilder("TrustedCmd", "Arg1", "Arg2");
Map<String,String> env = pb.environment();
pb.directory(new File("TrustedDir"));
Process p = pb.start();
new Set() or new Map() instead of object literals.Object.create(null) or { __proto__: null } to avoid inherited prototypes.--disable-proto=delete as defense-in-depth.__proto__, constructor, prototype.Cache-Control: no-store on responses containing sensitive data; enforce HTTPS across data flows.What SKILL.md sets; muted values are Claude Code's defaults
12 skills in this plugin
/ai-code-reviewSecurity-focused review of AI-generated or AI-assisted code. Use when reviewing code produced by AI coding assistants, auditing AI-generated patches, verifying AI-assisted contributions before merge, or when a review needs to account for failure modes specific to AI code generation.
/ai-systems-securitySecure AI-powered products and infrastructure. Use when integrating LLM APIs, deploying model-serving infrastructure, building agent workflows, connecting MCP servers, or reviewing AI system architecture for security gaps.
/authenticationEnforce standard authentication for external data source connections. Use when integrating, configuring, or reviewing connections from AI systems to external databases, APIs, or data services.npx claudepluginhub redhatproductsecurity/prodsec-skills --plugin prodsec-skills-ge-coreOther plugins' skills for the same job