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。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。