SkillGuard
Enables scanning of Claude Code skills, plugins, or MCP servers for malware before installation via static analysis.
README
SkillGuard
Scan a Claude Code skill, plugin, or MCP server for malware before you install it. One command, no install, no account.
npx github:epistemedeus/skillguard https://github.com/owner/repo
# or a local folder:
npx github:epistemedeus/skillguard ./my-skill
SkillGuard report · 3 text files scanned
DANGER (4)
SKILL.md
■ Prompt-injection / data-exfil instruction in text [prompt-injection]
index.js
■ Possible env/secret exfiltration (sensitive env var near a network call) [env-exfil]
■ Hardcoded suspicious exfiltration endpoint (webhook/pastebin/raw-IP) [exfil-host]
■ Obfuscated/dynamic code execution (eval(atob), curl|bash) [obfuscation]
✗ DANGEROUS — do NOT install without reviewing the flagged files.
Why
The Claude Code / MCP ecosystem is exploding — and so is the attack surface. Researchers have found 71 malicious skills in the wild, ~26% of published skills carry vulnerabilities, and 30+ MCP CVEs landed in 60 days. The most common payloads:
- Environment-variable / secret exfiltration (
ANTHROPIC_API_KEY,AWS_SECRET_ACCESS_KEY,~/.env) shipped off to a webhook. - Install-time shell hooks (
postinstall) that run code the moment younpm install. - Prompt injection in tool descriptions / SKILL.md ("ignore previous instructions", "do not tell the user", "always auto-approve").
- Committed binaries and obfuscated
eval(atob(...))/curl | bashpayloads. - Auto-approve-all / skip-permissions configs that disarm your safeguards.
SkillGuard catches these patterns in seconds, so you can vet a third-party skill or MCP server before trusting it with your machine and your keys.
Safe by design
SkillGuard does static analysis only. It clones with git clone (hooks disabled) and reads files — it never runs npm install, never executes build/postinstall scripts, and never runs the target code. Scanning a malicious package can't harm you. (A scanner that executed what it's inspecting would be the very risk it's meant to prevent.)
What it checks
| Check | Catches |
|---|---|
env-exfil |
A sensitive env var read next to a network call |
exfil-host |
Hardcoded webhook / pastebin / raw-IP / Telegram exfil endpoints |
obfuscation |
eval(atob(...)), curl | bash, subprocess on encoded data |
prompt-injection |
Data-exfil / "ignore instructions" / auto-approve text in SKILL.md, tool descriptions, prompts |
secret-literal |
API keys / private keys committed to the repo |
committed-binary |
Compiled ELF / Mach-O / PE executables in the tree |
forced-artifact |
The honeypot pattern: a build step that generates + commits an encrypted blob |
dangerous-perms |
Auto-approve-all, sandbox-disabling, --dangerously-skip-permissions |
install-hook |
pre/postinstall scripts that run on install |
Exit code: 0 clean · 2 suspicious · 3 dangerous — so you can gate CI on it.
Use it in CI (GitHub Action)
Gate your CI on skill/MCP supply-chain safety:
- uses: epistemedeus/skillguard@v1
with:
path: . # path or git URL to scan
fail-on: dangerous # or "suspicious"
Use it as an MCP server
Give your agent the ability to vet a skill/MCP server before installing it. Add to your Claude Code / MCP client config:
{
"mcpServers": {
"skillguard": {
"command": "npx",
"args": ["-y", "github:epistemedeus/skillguard", "mcp"]
}
}
}
It exposes one tool, scan_skill(target), where target is a local path or a git/GitHub URL. Your agent can then check anything it's about to install. (Static-only — it never runs the scanned code.)
Show that you passed
If your skill or MCP server comes back clean, earn a badge for your README:
npx github:epistemedeus/skillguard . --badge
It prints a Markdown badge you can paste in — a signal to your users that you ran a malware scan:
Free vs. paid
The CLI is free and MIT-licensed — run it as often as you like. If you install third-party skills/MCPs regularly and want to stop worrying:
- One-time deep audit ($29) — we manually review a skill/MCP/plugin you're about to depend on and send you a written risk report, same day.
- Watch mode ($12/mo) — we re-scan the skills + MCP servers you depend on every time they ship an upstream release, and alert you the moment new risk appears (the rug-pull / mutable-tool problem).
Limitations
Heuristics catch known-bad patterns; a determined, novel attack can evade any static scanner. SkillGuard is a fast first line of defense, not a guarantee. Always review code from untrusted authors.
MIT · by SameDayDesk · issues + PRs welcome.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。