SafeDep Vet MCP
io.github.safedep由 GitHub 帳號 safedep 發布v1.20.0更新於 Oct 24, 2026
Protect your AI agents and IDEs from malicious open-source packages.
概覽
SafeDep Vet MCP 讓助理呼叫 vet 掃描器,檢查相依套件、CI 工作流程與 AI 代理設定中的惡意套件和漏洞。
- 可以做什麼
- 掃描目錄、git 儲存庫、容器映像、SBOM 或單一套件,找出惡意套件、已知漏洞與高風險 GitHub Actions 工作流程
- 讀取 npm、PyPI、Go、Maven、Gradle、Cargo、RubyGems、NuGet、Packagist、Pub 等生態系的鎖定檔與清單,以及 AI 代理設定,但不安裝也不執行它們
- 以 CEL 撰寫政策即程式碼規則來決定掃描何時失敗,並可在已儲存的掃描上測試規則
- 產生 SARIF 報告,以及記錄 AI 函式庫與加密演算法使用情況的 CycloneDX xBOM 與 CBOM 清單
- 稽核開發機上的 AI 工具、MCP 伺服器、編輯器擴充套件與全域 npm 套件
- 適用情境
- 適合在相依套件、拉取請求變更或 CI 工作流程進入正式環境前,讓助理做安全檢查,或依惡意軟體與漏洞發現來阻擋建置。也適合盤點 AI 與加密使用情況,或稽核機器上安裝的工具。
- 執行需求
- 以本機 stdio 程序執行,以容器映像(ghcr.io/safedep/vet)透過 Docker 啟動;README 另列 Homebrew、mise 與 Go 安裝方式。未宣告需要帳號、API 金鑰或環境變數。需要網路存取以查詢 SafeDep 威脅資料。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 SafeDep Vet MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Find malicious packages, vulnerabilities and risky CI workflows before they reach production.
[!NOTE] This branch is vet v2, in alpha. vet v1 is on
mainand stays the latest release. The v2.0.0 release notes map each v1 command and flag to v2.
Why vet
Your dependencies, your GitHub Actions workflows and your AI agent configs run code that you did not write. vet finds the risk in them.
- Malicious packages. vet checks each package against SafeDep Threat Intel. Threat Intel analyzes new package versions when the registries publish them.
- Known vulnerabilities, with the fixed version to upgrade to.
- Risky workflows. Dangerous triggers, template injection, exposed secrets and actions with no pinned commit SHA.
- Lockfile tampering and fresh versions. Entries from an untrusted registry, and versions inside the cooldown window.
- Policy as code. Rules in CEL decide when a scan fails. You can test a rule on a saved scan.
- AI and crypto inventory. vet lists the AI libraries and the crypto algorithms that your code calls, and writes a CycloneDX xBOM and CBOM.
vet needs no account and sends no source code.
Quick start
[vet scan finds a malicious package, vulnerabilities and workflow injection]
Install
mise installs a release one day after its publication. install.md has the command for the newest build, the release binaries and the build attestations.
What vet scans
vet reads the lockfiles and manifests of npm, PyPI, Go, Maven, Gradle, Cargo, RubyGems, NuGet, Packagist, Pub and more. It also reads the GitHub Actions workflows and the AI agent configs of the target. It does not install or run any of them. Controls turn this data into findings. See controls.md.
Policy
A policy decides when a scan fails. Save this file as vet-policy.yml:
Test it on the last scan, with no new scan. Then apply it to a pull request:
After its expiry date, the suppression no longer hides the finding. Read policy.md for the rule fields, more rules and the Agent Skill that writes a policy for you.
Use cases
- Pull request check. The vet GitHub Action comments on a pull
request that adds a package, a workflow or a finding, and fails the check on an attack.
vet ci initadds it to a repository. - CI gate. Exit codes, SARIF for GitHub code scanning, GitLab and Bitbucket reports. See ci.md.
- Pull request review.
--base-refreports only the packages and workflows that a change adds. - xBOM and CBOM. A CycloneDX 1.7 inventory of the AI libraries and the crypto that your code uses. See inventory.md.
- AI agents. vet finds Claude Code and other agents, and then writes JSON and never prompts.
- Endpoint audit.
vet endpoint auditlists the AI tools, MCP servers, editor extensions and global npm packages on a developer machine, and checks them for malware.
Documentation
Privacy
vet sends the identity of each package (its ecosystem, name and version) to SafeDep to get the data about it. vet sends no source code and no file content.
Community
- Ask questions and share ideas on Discord or in GitHub Discussions.
- Report a bug in the issue tracker.
- Read the contributing guide before you open a pull request.
vet also runs in the cloud. SafeDep Cloud runs vet on your repositories, with no infrastructure to manage.
[Contributors to vet]來源:README.md,提交 b62453f
工具
0版本歷史
3- v1.20.0最新Oct 7, 2026
- v1.19.1Sep 16, 2026
- v1.19.0Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分