技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
itsalissonsilva/ModelSafetyMCP

itsalissonsilva/ModelSafetyMCP

MCP server for model safety inspection.
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add modelsafetymcp -- npx -y modelsafetymcp
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
1 ★ · itsalissonsilva/ModelSafetyMCP · 取自 GitHub 搜索 API · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 1 ★ · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 itsalissonsilva/ModelSafetyMCP;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

Model Safety MCP

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

Malicious or unsafe ML artifacts are a real supply-chain problem. There have already been real cases of malicious or suspicious models being discovered in the wild, including models hosted on public platforms and larger batches of unsafe AI/ML artifacts. See RL identifies malware ML model hosted on Hugging Face and Over 100 Malicious AI/ML Models Found on Hugging Face.
One of the biggest reasons this matters is deserialization risk. Many model formats, especially pickle-based and framework-specific formats, can execute code or invoke unsafe logic while being loaded or reconstructed. That means a model file can become an execution vector, not just a passive blob of weights.
model-safety is an MCP server for inspecting machine learning model artifacts before you load, ship, or trust them.
It is designed for practical triage:
- scan a local model file
- scan a downloadable model URL
- triage a whole directory of artifacts
- combine heuristic checks with dedicated scanners
- return normalized findings and concrete next actions
What It Can Do
The server currently exposes these tools:
- available_scanners
Shows which scanner backends are installed and ready.
- artifact_safety_report
Runs the broadest scan available on one model artifact and returns per-scanner results, normalized findings, highest severity, and recommended actions.
- modelscan_scan
Runs ModelScan directly against a local file or URL.
- picklescan_scan
Runs PickleScan directly against a local file or URL.
- deep_model_inspect
Runs lightweight structural checks for risky extensions, embedded pickle members, and suspicious packaging patterns.
- scan_directory
Runs artifact_safety_report across every file in a directory and aggregates the risky files.
Quick Start
1. Add the MCP server to Cursor or Claude Code using the local Python runtime in this repo.
2. Start with artifact_safety_report on a local file or direct URL.
3. Review normalized_findings, highest_severity, and recommended_actions.
4. Use scan_directory when you need to triage a whole model drop.
Minimal Cursor config:
Current Detection Strengths
This MCP is strongest when scanning:
- PyTorch checkpoints such as .pt and .pth
- pickle-like artifacts such as .pkl, .pickle, and .joblib
- Keras and TensorFlow HDF5 models such as .h5
- model bundles that are actually ZIP or TAR containers
It currently combines:
- modelscan
Best general-purpose backend, especially for model-specific unsafe patterns like Keras Lambda.
- picklescan
Best supporting backend for pickle-oriented artifacts.
- deep_model_inspect
Fast heuristic fallback that catches risky packaging even when specialized scanners are quiet.
Supported Inputs
You can scan either:
- a local filesystem path
- a direct http or https artifact URL
For Hugging Face specifically, use the direct file URL:
- Good: https://huggingface.co/ /resolve/main/model.h5
- Not ideal: https://huggingface.co/ /blob/main/model.h5
blob URLs usually return an HTML page, while resolve URLs return the real artifact bytes.
Runtime
This repo includes a local Python 3.12 runtime in python312. That is the supported runtime because it works with:
- mcp
- modelscan
- picklescan
- h5py
If you ever need to rebuild that runtime manually:
来源
awesome · https://github.com/itsalissonsilva/ModelSafetyMCP
按领域浏览
MCP 服务
Traction
1 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引