Download for MacApple silicon, macOS 14+
Skill

mcp-security

@thejefflarson Updated 2026-07-31

Detects MCP tool handlers vulnerable to malicious inputs, hardcoded secrets, or unrestricted file/shell access. Use when writing MCP server definitions, tool schemas, or tool handler code. Also invoke when registering tools with Claude or building Claude Code extensions that expose file system, shell, or network access.

llmssecurityskills

Install

With your agent

Install OMGSkills skill "thejefflarson/soundcheck:.claude/skills/mcp-security" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/thejefflarson/soundcheck /tmp/soundcheck && ln -s /tmp/soundcheck/.claude/skills/mcp-security ~/.claude/skills/mcp-security

From README

MCP Server Security (OWASP LLM07:2025) What this checks Prevents MCP tool handlers from being exploited via malicious inputs, hardcoded secrets, unrestricted file access, or shell injection. A compromised MCP server gives attackers direct access to the host environment. Vulnerable patterns MCP tool handler that opens or reads a file path supplied directly by the caller with no allowlist or root confinement Tool handler that runs a shell command built from tool input with shell expansion enabled Hardcoded API key, token, or credential in the handler body or tool definition Tool schema declaring a string parameter with no length cap, pattern, or enum constraint Fix immediately Flag the vulnerable code and explain the risk. Then suggest a fix that establishes these properties: Tool schemas constrain every string parameter — maximum length, regex pattern, enumerated values, or rejection of additional properties. A bare string type is a blank check.