Closeread Verify

io.github.FreeGuy-AI由 GitHub 帳號 FreeGuy-AI 發布v0.1.2更新於 Oct 24, 2026

A verified dependency-audit verdict any AI agent can call over MCP, not a raw scan.

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

本機 MCP 伺服器,稽核專案的鎖定檔並回傳確定性、經 OSV 核驗的相依套件漏洞結論,指出最關鍵的一項問題與其修正方式。

可以做什麼
  • 以檔名對應內容的映射稽核專案工作目錄,並區分直接相依與間接相依
  • 一次稽核單一清單或鎖定檔,由檔名導向對應生態系的解析器
  • 依網址稽核公開的 GitHub 儲存庫,淺層複製後執行相同檢查
  • 回傳單一 lead 結論(最高嚴重性的直接正式環境相依問題),含嚴重性、位置、修正建議與信心值,並附完整問題清單與計數
  • 附上核驗依據,標明公告來源與時間戳,方便審查者重新執行
適用情境
適合作為出貨前的關卡:當助理撰寫、審查或發布程式碼時,在開 PR 或核准部署前檢查已鎖定版本的相依套件是否有已知漏洞。也適合需要可核驗結論、而非自行解讀一堆原始 CVE 清單的情境。
執行需求
以 Python 套件形式透過 stdio 在本機執行(pip install closeread-verify),需要 Python 3.11 以上版本。不需 API 金鑰、帳號或原始碼存取權。查詢公告需要連線至 OSV.dev,依儲存庫網址稽核時需從 GitHub 複製。
安裝前請注意
它只讀取清單與鎖定檔,不索取原始碼,但依儲存庫網址稽核時會複製該儲存庫。它僅做相依套件稽核,並非程式碼審查、SAST、授權或架構稽核,結論取決於你提供的鎖定檔內容。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Closeread Verify,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

closeread-verify

[PyPI] [Python] [License: MIT] [MCP]

A verified dependency-audit verdict any AI agent can call.

A free scanner gives you raw CVEs. closeread-verify gives you the judgment: the verdict checked against the version you actually installed, the one finding that matters, and the exact fix. It runs as an MCP server, so any agent (Claude Code, Cursor, your own) can call it before it ships code and get back a checked answer, not a wall of noise.

Why this and not npm audit

A raw scanner and the agent itself can already produce a list of CVEs. What they cannot manufacture is the verdict. closeread-verify is built around the one discipline that separates a real audit from a scan:

  • It reports the INSTALLED version, not the declared floor. ^4.17.0 in a manifest is not what you shipped. The tool resolves the real pinned version from your lockfile and checks that, so it does not cry wolf over a caret range you already patched, and does not miss a vulnerable pin a manifest-only scan would wave through.
  • It splits direct vs transitive. The dependency you declared and own (yours to bump) is separated from the one you inherited five levels down. Most scanners flatten these into one undifferentiated list. This one tells you which is which.
  • It surfaces the one finding that matters. Instead of 200 rows, you get a single lead: the highest-severity direct production issue, with the exact fix. If the only findings are transitive or dev-only, the lead is honestly null rather than a manufactured headline.
  • It is deterministic and re-checkable. No LLM in the path. Same lockfile in, same verdict out. Advisories are confirmed against OSV.dev. The verdict carries its own basis so a reviewer can re-run it.

That verified artifact, not the raw scan, is the product.

Install

bash
pip install closeread-verify

Python 3.11+. No API key, no account, no source access. Lockfile in, verdict out.

See it in an agent loop

examples/agent_loop.py is a runnable agent that uses closeread-verify as a pre-ship gate: it blocks on a real Flask CVE, applies the named fix, re-checks, and ships. Real MCP over stdio, real OSV advisories, no API key.

bash
python examples/agent_loop.py

Use it as an MCP server

closeread-verify is the stdio command that starts the server:

bash
closeread-verify

Client config

Add it to your MCP client. Claude Code / Cursor style (mcp.json / claude_desktop_config.json):

json
{  "mcpServers": {    "closeread-verify": {      "command": "closeread-verify"    }  }}

If you installed into a specific environment, point at that interpreter instead:

json
{  "mcpServers": {    "closeread-verify": {      "command": "python",      "args": ["-m", "closeread.mcp_server"]    }  }}

The three tools

ToolInputUse it when
audit_projectfiles: a {filename: content} mapYou have a real checkout. Pass the manifest and its lockfile together (e.g. package.json + package-lock.json) so the direct-vs-transitive split is recovered. Subdir prefixes like server/package.json are allowed.
audit_dependencieslockfile_content: str, filename: strYou have a single manifest or lockfile and want a one-shot verdict.
audit_repogithub_url: strYou have a public repo URL. It shallow-clones and runs the same audit. Returns an error, never a fabricated result, if the clone fails.

The filename is load-bearing: it routes the content to the right ecosystem parser. Supported lockfiles include package-lock.json, yarn.lock, pnpm-lock.yaml, requirements.txt, poetry.lock, Pipfile.lock, Gemfile.lock, composer.lock, and Cargo.lock.

Example

Calling audit_dependencies on a requirements.txt that pins flask==0.12.0:

json
{  "source": "lockfile:requirements.txt",  "lead": {    "summary": "[email protected] affected by GHSA-562c-5r94-xh97",    "severity": "high",    "is_direct": true,    "dependency_kind": "prod",    "location": "requirements.txt:1",    "fix": "Update flask to a patched version (see references).",    "confidence": 0.9  },  "findings": {    "issues": [],    "direct": [      {        "kind": "dependency",        "package": "flask",        "severity": "high",        "is_direct": true,        "versions": ["0.12.0"],        "advisories": ["GHSA-562c-5r94-xh97", "GHSA-5wv5-4vpf-pj6m", "GHSA-m2qf-hxjv-5gpq"],        "locations": ["requirements.txt:1"],        "recommendation": "Update flask to a patched version (see references)."      }    ],    "transitive": []  },  "counts": { "product_critical": 3, "issues": 0, "direct": 1, "transitive": 0 },  "verification": {    "basis": "each version is the INSTALLED version resolved from the lockfile, not the declared floor; advisories confirmed via OSV; result is deterministic and re-checkable",    "scanner": "closeread SCA (deterministic, no LLM)",    "advisory_source": "OSV.dev",    "as_of": "2026-06-08T12:00:00+00:00"  }}

The agent does not get a scan to interpret. It gets a verdict to act on: bump flask, here is the line, here is why.

The verified-audit primitive for the agent era

Agents are starting to write, review, and ship code on their own. Before an agent opens a PR or green-lights a deploy, it needs an answer to a simple question with a checkable answer: is anything I depend on known-vulnerable, in the version I actually pinned, and is it mine to fix? closeread-verify is that primitive. One MCP call, a deterministic verdict, no LLM in the loop to hallucinate a CVE that does not exist or miss one that does.

Scope, honestly

  • Ecosystems: npm/yarn/pnpm, pip/poetry/pipenv, RubyGems, Packagist (Composer), crates.io (Cargo).
  • Deterministic: no LLM, no network beyond OSV.dev advisory lookups.
  • Lockfile-only: it reads manifests and lockfiles. It does not need, request, or transmit your source code.
  • What it is not: this is the free, deterministic dependency-audit tier. It is not a full code review, not a SAST engine, not a license or architecture audit. It does one thing: a verified verdict on your dependencies.

License

MIT. Built by Free Guy.

來源:README.md,提交 b746172

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

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

評分

已滿足適用檢查項的 40%

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

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。