Registry / jeremylongshore

jeremylongshore/tons-of-skills-marketplace/detecting-command-injection-patterns

Scan a source tree for command-injection vulnerable patterns: shell=True calls in Python subprocess, os.system / os.popen with interpolated strings, Node child_process.exec with template literals, Ruby backticks / Kernel#system / Kernel#exec with interpolation, Go exec.Command with shell wrapping, PHP system / passthru / shell_exec / backticks with $-interpolation, Java Runtime.exec with concatenated args. Use when: pre-commit gate on code that calls out to shell utilities, audit of file-process

Agent skill · version 0.0.0-main.1794343452.g0500b27 · from jeremylongshore/tons-of-skills-marketplace

Install

npx yarkr-cli add skill:jeremylongshore/tons-of-skills-marketplace/detecting-command-injection-patterns

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:jeremylongshore/tons-of-skills-marketplace/detecting-command-injection-patterns
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:jeremylongshore/tons-of-skills-marketplace/detecting-command-injection-patterns

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:jeremylongshore/tons-of-skills-marketplace/detecting-command-injection-patterns

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.