pkg-oracle — Dependency Trust Oracle

io.github.julian-martin89由 GitHub 帳號 julian-martin89 發布v1.0.1更新於 Oct 24, 2026

Blocks typosquatted or hallucinated npm/PyPI packages before an AI agent installs them.

已驗證Streamable HTTP可網頁執行開發者工具安全與監控

概覽

AI 產生的概覽

遠端 MCP 伺服器,讓助理在把 npm 或 PyPI 套件寫入清單前,核實其是否存在、有無已知 CVE 以及 OpenSSF Scorecard 評分。

可以做什麼
  • 在套件名稱被寫入 package.json、requirements.txt、pyproject.toml、Cargo.toml 等清單之前核實該套件。
  • 檢查套件在對應登錄庫中是否真實存在,以辨識搶註或臆造的套件名稱。
  • 透過 OSV.dev 交叉查詢該套件的已知 CVE。
  • 透過 deps.dev 取得該套件的 OpenSSF Scorecard 作為可信度參考。
適用情境
當助理即將新增或建議某個相依套件,而你希望先做一次存在性、漏洞與可信度檢查時使用,特別適合防範臆造或搶註的套件名稱。
執行需求
需要一個遠端 streamable HTTP 端點;未宣告任何套件、環境變數或身分驗證。隱含需要能連線該端點以及上游登錄庫、OSV.dev 和 deps.dev 的網路。
安裝前請注意
結果僅供參考:資料來自第三方來源(登錄庫、OSV.dev、deps.dev),檢查通過並不保證套件一定安全。送出的套件名稱會傳送到該遠端端點及上述服務。它只做檢查,不會安裝任何東西。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 pkg-oracle — Dependency Trust Oracle,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.julian-martin89%2Fpkg-oracle/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "pkg-oracle-dependency-trust-oracle": {
      "type": "http",
      "url": "https://mcp-snowy-dew-9447.fly.dev/mcp"
    }
  }
}

工具

1

verify_package

Verify Package

Dependency Trust Oracle. Call this BEFORE writing any package into a manifest (package.json, requirements.txt, pyproject.toml, Cargo.toml, ...). It checks whether the package actually exists on its registry, cross-references OSV.dev for known CVEs, pulls the package's OpenSSF Scorecard via deps.dev, and runs a Levenshtein-distance typosquat/slopsquat check against a curated list of popular packages combined with the package's publish age. Returns a synthetic verdict: ALLOW (no issues found), WARN (proceed with caution — read the findings before installing), or BLOCK (do not install — likely a hallucinated package name, an active typosquat, or a known critical/high-severity vulnerability). Always call this before running an install command for a package you have not already verified in this session. First 5 calls per caller are free; after that this tool requires x402 payment (USDC on Base) and will return a payment-required error with the amount and address to pay.

輸入參數name必填versionecosystem必填

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 83%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。