TridentChain Security

io.github.DevInder1由 GitHub 账号 DevInder1 发布v0.1.5更新于 Oct 24, 2026

Local supply-chain CVE scanner via OSV/NVD. Scans deps and IDE extensions. No upload.

发布方自己的服务:Agent.chain.tokyo Address Contracts

已验证STDIO仅桌面开发者工具安全与监控

概览

AI 生成的概览

本地优先的 MCP 服务器,使用 OSV、NVD、GHSA 和 Sonatype 数据扫描项目依赖、开发工具和 IDE 扩展中的已知漏洞。

可以做什么
扫描项目依赖、系统软件包和 IDE 扩展中的已知 CVE,支持 full、quick 和 offline 三种配置,并按 KEV/EPSS 对结果排序。通过助手发起扫描并获取结果摘要,输出写入指定目录。提供补丁后验证工具,用于复查修复结果。配置额外令牌后可补充更多漏洞情报来源。
适用场景
适合让助手检查代码库依赖和本地开发工具是否存在已知漏洞,或在应用修复后复查结果,同时不把项目数据发送到托管服务。
运行要求
以本地 stdio 进程运行。需安装 PyPI 包 tridentchain-mcp(Python 3.10+),也可通过 uvx 或已发布的 Docker 镜像运行。默认使用无需 API 密钥;除 offline 配置外需要网络访问。可选环境变量 NVD_API_KEY、GITHUB_TOKEN 和 SONATYPE_TOKEN 可提升覆盖范围。
安装前请注意
扫描会读取你指定的项目路径,应限定在预期目录内。默认配置会通过网络访问 OSV 和 NVD,offline 配置可避免联网。NVD_API_KEY、GITHUB_TOKEN、SONATYPE_TOKEN 等可选令牌属于机密,不应放入共享配置。README 声称不上传数据,但请针对自己的环境核实。

安装

在 SourceWeft 中

  1. 打开 控制台中的 TridentChain Security,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

TridentChain Security

[PyPI — tridentchain-security] [PyPI — tridentchain-mcp] [PyPI Downloads] [MCP Registry] [Python] [License: MIT] [Works with Claude · Cursor · VS Code · Windsurf · Zed] [Docker (ghcr.io)]

[TridentChain Security MCP server]

Local-first vulnerability scanner for project dependencies, developer tools, and IDE extensions.
Uses multi-source intelligence (OSV, NVD, GHSA, Sonatype) with KEV/EPSS prioritization.

No API key required for default usage.

Public repo: https://github.com/DevInder1/supply-chain-scanner-public


Install (plug and play)

bash
pip3 install tridentchain-securitynpm install -g @tridentchain/security-clitridentchain-security --help

Agents & MCP (Claude, Cursor, VS Code, Windsurf, Zed):

Pick whichever install path fits:

bash
# Option A — pip (needs Python 3.10+)pip3 install -U "tridentchain-security>=0.1.4" "tridentchain-mcp>=0.1.4"
# Option B — uvx (no manual Python install; uv handles it)uvx tridentchain-mcp
# Option C — Docker (no Python needed, fully sandboxed)docker pull ghcr.io/devinder1/tridentchain-mcp:latest# Then in your MCP config, replace `python3 -m tridentchain_mcp` with:#   command: docker#   args: ["run", "--rm", "-i", "-v", "$PWD:/workspace", "ghcr.io/devinder1/tridentchain-mcp:latest"]

What you can do: docs/CAPABILITIES.md
Full guide: docs/INSTALL_AND_USE.md
Cross-platform (macOS / Linux / Windows): docs/CROSS_PLATFORM.md
(PyPI: tridentchain-security · npm: @tridentchain/security-cli)

bash
tridentchain-security --scan all --project-path . --output-dir scanner-output

Use in your own Python app

python
from scanner import run_scan
summary = run_scan(    project_path=".",    scan="all",    run_profile="full",  # no API key required    output_dir="scanner-output",)print(summary["summary"])

Scan profiles

ProfileDescription
full (default)Project + system + extensions. OSV + NVD without keys.
quickFaster project-focused scan.
offlineLocal advisory DB only, no network.
Power-userAdd GITHUB_TOKEN, NVD_API_KEY, optional SONATYPE_TOKEN for best coverage.

Desktop app (individual application)

No repo clone required if the pip package is installed:

bash
pip3 install tridentchain-securitycd apps/desktop && npm install && npm run start

See apps/desktop/README.md and docs/DISTRIBUTION_VERIFICATION.md.

AI / automation (Claude, OpenAI, Cursor, VS Code, Windsurf, …)

One install, every agent: pip install "tridentchain-security>=0.1.2" tridentchain-mcp

GuideDescription
Agent integrationsClaude · OpenAI · Cursor · VS Code · Windsurf · Zed · MCP · CLI
CapabilitiesEverything you can do today
ArchitectureMCP + unified tools design
bash
./scripts/setup-agent-mcp.sh cursor   # prints setup for your agent

Phase 2 — Claude MCP: pip install tridentchain-mcp · Setup guide · Plugin

Phase 3 — OpenAI + Cursor: examples/openai/ · Cursor setup · .cursor/mcp.json.example

Phase 4 — VS Code (Anthropic MCP): Open repo → MCP ready · VS Code setup · ./scripts/vscode-mcp-install-link.sh · extension

Phase 5 — Validate: tridentchain-security --validate · MCP validate_after_patch · CAPABILITIES.md

Unified tool layer: from scanner.integrations import execute_tool, get_tool_definitions, to_openai_tools


Development

bash
git clone https://github.com/DevInder1/supply-chain-scanner-public.gitcd supply-chain-scanner-publicpython3 -m pip install -e .tridentchain-security --helppython3 -m unittest scanner.tests.test_matcher_ranges -v

Install & use: docs/INSTALL_AND_USE.md
Cross-platform: docs/CROSS_PLATFORM.md
CLI contract: docs/cli-contract.md
Publishing: docs/PUBLISHING.md


Optional API keys (power users)

VariablePurpose
NVD_API_KEYHigher NVD rate limits
GITHUB_TOKENGHSA advisories
SONATYPE_TOKENSonatype Guide advisories

Set in .env or environment variables.


License

MIT — see LICENSE

来源:README.md,提交 7cd7277

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.5最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Chain 集成