# Command Injection Detection

> Detects command injection vulnerabilities where user input is passed to OS command execution

- Skill: `zakirkun/command-injection-detection` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add zakirkun/command-injection-detection`
- Raw SKILL.md: https://api.skillmd.com/api/skills/zakirkun/command-injection-detection/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: zakirkun (https://skillmd.com/u/zakirkun)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/zakirkun/command-injection-detection

---


# Command Injection Detection

## Overview
Command injection occurs when an application passes user-supplied data to a system shell or OS command without proper sanitization.

## Remediation
Avoid using shell commands with user input. If necessary, use allowlists and never pass raw user input to command execution functions.

