npx skills add ...
npx skills add github/awesome-copilot --skill mcp-security-audit
Audit MCP (Model Context Protocol) server configurations for security issues. Use this skill when: - Reviewing .mcp.json files for security risks - Checking MCP server args for hardcoded secrets or shell injection patterns - Validating that MCP servers use pinned versions (not @latest) - Detecting unpinned dependencies in MCP server configurations - Auditing which MCP servers a project registers and whether they're on an approved list - Checking for environment variable usage vs. hardcoded credentials in MCP configs - Any request like "is my MCP config secure?", "audit my MCP servers", or "check .mcp.json" keywords: [mcp, security, audit, secrets, shell-injection, supply-chain, governance]
npx skills add github/awesome-copilot --skill mcp-security-audit
Audit MCP server configurations for security issues — secrets exposure, shell injection, unpinned dependencies, and unapproved servers.
MCP servers give agents direct tool access to external systems. A misconfigured .mcp.json can expose credentials, allow shell injection, or connect to untrusted servers. This skill catches those issues before they reach production.
.mcp.json file in a projectScan MCP server args and env values for hardcoded credentials.
Good practice — use env var references:
Bad — hardcoded credentials:
Detect dangerous command patterns in MCP server args.
Flag MCP servers using @latest in their package references.
Good — pinned version:
Bad — unpinned:
Combine all checks into a single audit.
Usage: