技能潮 SkillTide 提交收录
官方说明3 个来源MCP 服务3 天前
huiyu-safe-ai

huiyu-safe-ai

Lightweight AI security guard for install/download commands
在 GitHub 查看 ↗直链 · 无中转页
官方说明Lightweight AI security guard for install/download commands. Blocks 68+ malicious packages, verifies identity, scans code in <1s. Built from a real supply chain attack.
来源明细
收录自 ccplugins/awesome-claude-code-plugins 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-14 · 最近见到 2026-10-16 · 共见到 4 次 · 被 3 个来源列出
评分构成
综合分 303 · 3 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-10-14;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

Huiyu-SafeAi

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

Lightweight AI security guard for install/download commands. Blocks known malicious packages, verifies package identity, and scans for suspicious code — all in under 1 second.
中文 · English
---
**Blocked malicious package — Caught deepseek-py (fake DeepSeek package, confirmed typosquatting)**
**Verified safe repo — Passed huiyu9144/Huiyu-Pi (personal repo, code sniff clean, no malicious behavior)**
---
Design Philosophy
Zero Impact on AI Speed
Huiyu-SafeAi is designed as a **prompt-level guardrail**, not a runtime scanner. It:
- **No network calls** — all checks happen in-memory against embedded lists
- **No commands executed** — no npm audit, no npm view, no external tool calls
- **No file scanning** — code sniffing only reads 3 files max, only when needed
- **No overhead for safe packages** — 90%+ of installs exit at Step 1 or Step 2 instantly
The skill only activates when it detects an install/download command in your message. If you're just chatting, coding, or doing anything else — it stays completely silent.
Three-Tier Check Flow
Works across **all ecosystems** — git clone, npm install, npx, pip install, cargo install, yarn add, pnpm add.
**Step 1 (Blocklist)** — Instant check against 68+ known malicious packages and repos. If matched, blocked immediately with full explanation of why, what happened, and where the intelligence comes from.
**Step 2 (Trust Check)** — If not on the blocklist, check if the source is verified:
- **GitHub**: Does it belong to a trusted org (60+ listed)? Does it have 1,000+ stars?
- **npm/PyPI**: Does it have 10,000+ weekly downloads? Is it the official package name?
- **Known packages**: 70+ trusted packages bypass all checks (express, react, pandas, lodash, etc.)
If trusted → GREEN light, **zero further processing**.
**Step 3 (Code Sniff)** — Only runs for truly unknown sources. Even then, it only reads 3 files max:
- **GitHub repos**: package.json install scripts, setup.py/pyproject.toml, Makefile/Dockerfile
- **npm packages**: postinstall scripts, dependency tree, source code patterns
- **Any source**: One source file glance for obfuscation patterns
---
Why This Exists: A Real Attack
On May 11, 2026, I encountered a real supply chain attack targeting AI developers. This incident is the direct reason Huiyu-SafeAi was created.
What Happened
I requested deployment of **DeepSeek-TUI**, a popular open-source terminal interface (24.1k stars). The correct repository is github.com/Hmbown/DeepSeek-TUI. However, a **fake repository** existed at github.com/DeepSeek-TUI/DeepSeek-TUI — mimicking the project name with a lookalike GitHub organization.
The downloaded executable was an **infostealer trojan** with thread injection, remote payload download, and Telegram data exfiltration capabilities.
The Damage (50+ minutes of incident response)
The trojan performed a devastating chain of attacks in under 10 minutes:
| Time | Action |
|------|--------|
| 09:47 | Trojan executed, released persistent backdoor |
| 09:47 | Created AppData\Roaming\Roaming\Data\Config\manager.exe (12.5MB) — disguised with double-nested Roaming path |
| 09:47 | Added registry auto-start: HKCU\...\Run\{NetworkManager} |
| 09:47 | Opened firewall inbound port **57001** for C2 communication |
| 09:47 | **Disabled Windows Defender** — RealTimeProtection, BehaviorMonitor, IOAV, NIS, OnAccess all turned off |
| 09:47 | Released additional components: svc_host.exe, ~update.tmp.exe |
| 10:37 | Accessed browser data directories for credential theft |
Attribution
This was not a random attack. It was linked to a **known APT group** with a documented pattern:
- **Same group** that ran the OpenClaw impersonation attack in March 2026
来源
awesome · https://github.com/huiyu9144/huiyu-safe-ai
按领域浏览
MCP 服务
收录于
昨天

更多MCP 服务

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

所属领域与标签

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

浏览全部领域 →

← 返回索引