sc-cmdi

Detect OS command injection vulnerabilities across multiple programming languages.

56|5|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/ersinkoc/security-check --skill sc-cmdi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sc-cmdi
Source: https://github.com/ersinkoc/security-check/tree/main/skills/sc-cmdi
Command: npx skills add https://github.com/ersinkoc/security-check --skill sc-cmdi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

OS command injection occurs when user-supplied input is passed to shell commands, subprocess calls, or process spawning without proper sanitization. This Skill detects such vulnerabilities across multiple language environments by tracing dangerous patterns from input sources to execution sinks and distinguishing between full command injection and argument injection.

Core Features & Use Cases

  • Multi-language pattern detection for Python, JavaScript/Node.js, Go, PHP, Java, C#, and Ruby.
  • Data-flow tracing from user input sources to command execution sinks to differentiate full command injection from argument injection.
  • Severity classification and actionable findings to guide remediation.

Quick Start

Run sc-cmdi against your codebase to identify and classify OS command injection risks in shell and subprocess calls.

Frequently Asked Questions about sc-cmdi

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

FAQPage Schema
How do I detect OS command injection vulnerabilities in my codebase?

Detect OS command injection by tracing data flow from user input sources to shell execution sinks. This skill analyzes subprocess calls and process spawning patterns across multiple languages, classifying risks from argument injection to full command injection.

What is the difference between full command injection and argument injection in subprocess calls?

Argument injection occurs when user input appends unsanitized parameters to a fixed command, while full command injection allows arbitrary shell execution. This skill traces data flow from sources to sinks to differentiate both vulnerability types and assign severity.

Does this static analysis tool support command injection detection across Python, Go, and PHP?

Yes, command injection detection applies across Python, JavaScript, Node.js, Go, PHP, Java, C#, and Ruby. The static analysis identifies dangerous patterns from user input to process spawning sinks in all these language environments.

How do I scan for shell execution vulnerabilities in Node.js and Ruby applications?

Scan for shell execution vulnerabilities by running the analysis against your codebase to discover risky patterns. It identifies dangerous process spawning and subprocess calls in Node.js and Ruby by tracing user input data flow to execution sinks.

What is the best way to find user input reaching shell commands in C# and Java?

Find user input reaching shell commands by applying static analysis with data-flow tracing from sources to execution sinks. This approach discovers risky patterns in C# and Java subprocess calls and generates structured findings with severity classifications.

Can I use this for security analysis of process spawning without external dependencies?

Yes, this security analysis tool operates without external dependencies. It directly analyzes your source code to identify risky process spawning and subprocess calls, generating structured findings with severity classifications for remediation guidance.