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 整合