remediation-injection

Remediate SQL injection, command injection, and XSS with secure coding patterns.

9|2|Updated Dec 5, 2025
One-click install
npx skills add https://github.com/Zate/cc-plugins --skill remediation-injection
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: remediation-injection
Source: https://github.com/Zate/cc-plugins/tree/main/plugins/security/skills/remediation-injection
Command: npx skills add https://github.com/Zate/cc-plugins --skill remediation-injection

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Actionable fix patterns for injection vulnerabilities including SQL injection, command injection, and XSS.

Core Features & Use Cases

  • Parameterized queries: for SQL across languages.
  • Safe shell usage: avoid shell=True and use list arguments.
  • XSS mitigations: secure rendering practices.

Quick Start

Implement secure SQL parameterization in your data access layer.

Frequently Asked Questions about remediation-injection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix SQL injection vulnerabilities in my code?

SQL injection remediation uses parameterized queries or prepared statements to separate code from data. Pass user input as query parameters rather than concatenating strings into SQL commands across Python, JavaScript, Java, and Go.

What's the best way to prevent command injection attacks?

Command injection prevention avoids shell=True and instead passes commands as argument lists to your runtime. This blocks shell metacharacter interpretation and applies across Python, Node.js, Java, and Go.

How do I prevent XSS vulnerabilities when rendering user content?

XSS mitigation uses secure rendering practices that escape or encode user input before output. Context-aware escaping and templating prevent malicious scripts from executing in browsers across supported languages.

Can I use parameterized queries with my ORM?

Safe ORM usage relies on built-in parameterization features rather than string concatenation. Most ORMs in Python, JavaScript, Java, and Go provide secure query builders that prevent injection when used correctly.

What input validation techniques stop injection attacks?

Input validation and escaping reduce injection risk by enforcing expected data formats and neutralizing dangerous characters. Combined with parameterization, validation creates defense-in-depth against SQL, command, and XSS injection.

Where do OWASP guidelines fit into injection remediation?

OWASP ASVS standards and cheat sheets document secure coding patterns for injection prevention. This Skill references OWASP guidelines to align remediation efforts with industry-standard vulnerability mitigation practices.