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

mopanc/depguard

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

depguard-cli

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

**Find out in seconds whether an npm supply-chain attack reached your machine.** When a worm or a hijacked maintainer account ships malicious versions, npx depguard-cli exposure checks every project, global install and the npm download cache on your machine against 100,000+ known-malicious npm packages. It tells you exactly where a bad version is, whether it was installed, and what to rotate. depguard also audits packages before you install them and repositories before you open them. Zero runtime dependencies. Runs in the terminal or as an MCP server for Claude, Cursor, Windsurf and any MCP client.
Was I hit?
When something is found, every location is listed with the evidence and the steps to take:
What it looks at:
- **Every lock file** under the given paths (default: your home directory): npm, pnpm, yarn classic and berry, bun. Nested and duplicated copies count, so a malicious version hidden at node_modules/a/node_modules/b is found.
- **Globally installed packages** (npm root -g).
- **The npm download cache.** It proves a malicious tarball was downloaded on this machine, and when, even if the project that pulled it is gone.
Only exact matches are reported: a version is flagged only when it falls inside a known-malicious range, and clean versions of packages that were once compromised are never flagged. The data comes from the GitHub Advisory Database, both malware advisories and advisories for legitimate packages that were hijacked to ship malware, refreshed daily. The exit code is 2 when something is found, so it can gate CI:
Why depguard
I work on industrial software where every event has to be logged and recoverable — customers trust the system because the audit trail makes the system trustworthy. When I started wiring AI coding agents into our internal stack, I realised the npm ecosystem treats supply-chain integrity as someone else's problem: install 1,000 packages, hope for the best. depguard brings the same auditability mindset to JavaScript dependencies — verify before installing, audit what's already there, generate an SBOM your security team can actually use.
Zero runtime dependencies — because a security tool that pulls in 200 transitive packages is the joke that writes itself.
Install
MCP server (primary use case)
depguard exposes 15 MCP tools over stdio. Add it to any MCP-compatible client and your AI agent calls them automatically when it's about to install something, audit a project, or review code.
**Setup, Claude Code one-liner:**
**Setup — generic MCP config** (Claude Desktop, Cursor, Windsurf, Continue.dev, Cline, Roo Code):
The 15 tools
| Tool | Use it when |
|------|-------------|
| depguard_exposure | **"Was I hit by this attack?"** Scans every lock file, global install and the npm cache for known-malicious versions, with locations, evidence and remediation steps |
| depguard_guard | About to install package Y → pre-install verify + audit + allow/warn/block |
| depguard_should_use | Need functionality X → recommend install / use-native / write-from-scratch |
| depguard_audit_workspace | **Just cloned a repo, before opening it in any IDE.** Lists files that auto-execute on workspace open (VS Code tasks runOn:folderOpen, devcontainer lifecycle, .envrc, JetBrains run configs, Makefile, .gitattributes, committed git hooks). Defends against fake-interview / take-home-test malware. |
| depguard_audit_project | Audit a whole project — direct deps, transitives via lockfile, packageManager field |
| depguard_remediate | "100 vulnerabilities, which 5 direct deps do I bump?" — groups transitives by parent, sorted by severity weight |
| depguard_audit | Deep dive on one package (vulnerabilities + static code analysis + install scripts) |
| depguard_audit_bulk | Compare A vs B vs C in one call |
| depguard_audit_deep | Full transitive tree audit for one package |
来源
awesome · https://github.com/mopanc/depguard
按领域浏览
MCP 服务
Traction
15 ★
收录于
昨天

更多MCP 服务

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

所属领域与标签

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

浏览全部领域 →

← 返回索引