
pkgproof
net.pkgproof由 pkgproof.net 發布v0.2.1更新於 Oct 24, 2026
Verify an npm or PyPI package before install: advisories, install scripts, typosquats, repository.
概覽
在安裝前驗證 npm 或 PyPI 套件,回傳 safe、caution、block 或 does_not_exist 結論及逐條標註的原因。
- 可以做什麼
- 依名稱、可選的確切版本與生態系(npm 或 PyPI)驗證套件,對 pkgproof.net 執行九項檢查,涵蓋安全公告、安裝指令碼、仿冒與組合仿冒名稱、作用域與宣告儲存庫檢查,以及該版本與先前版本的差異。取得 safe、caution、block 或 does_not_exist 結論,每項原因都標註為事實或啟發式並附來源。取得可讀摘要,以及 structuredContent 中服務回傳的 JSON,包含結論、原因與計算時間。呼叫會逐一排隊執行,因此走訪相依清單時會依序處理而不會失敗。
- 適用情境
- 適合在助理即將新增或升級 npm 或 PyPI 相依套件時,快速檢查安全公告、安裝指令碼、名稱仿冒與儲存庫來源方面的風險。每天首次驗證免費,無需設定錢包即可試用。
- 執行需求
- 透過 npx 以 npm 套件在本機執行,需要 Node 22 或更新版本。無需帳號或註冊。每天首次驗證免費且無需金鑰。付費呼叫需要已儲值的臨時錢包,透過 PKGPROOF_ALGORAND_PRIVATE_KEY(base64 Algorand 帳戶金鑰,優先)或 PKGPROOF_BASE_PRIVATE_KEY(0x 開頭 EVM 金鑰)設定。需要連線至 pkgproof.net 的網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 pkgproof,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
pkgproof-mcp
An MCP server that verifies an npm or PyPI package before you install it.
One tool, verify_package. It runs nine checks against
pkgproof.net covering advisories, install scripts,
typosquat and combosquat names, scope and declared-repository
checks, and how the release differs from its predecessors, and answers safe, caution, block or does_not_exist with every
reason labelled as fact or heuristic against its source.
The first verification each day is free and needs no configuration at all. No account, no key, no signup. Later calls the same day cost $0.05 in USDC, paid per call over x402, and only if you configure a wallet.
Install
Nothing to install or host: your MCP client runs the server itself. Needs Node 22 or newer.
Every release from 0.1.1 on is built and signed by CI and carries an npm provenance attestation tying the tarball to the commit and workflow run that produced it. A tool that vets other packages should be checkable the same way:
The server is also listed in the MCP Registry
as net.pkgproof/pkgproof.
Free, no key
Add this to your MCP client configuration and you are done:
Claude Code
The repository is its own plugin marketplace, so there is no JSON to edit:
The plugin runs the published package pinned to the version it was released
beside, not whatever npx resolves to that day.
Claude Desktop
Releases carry a prebuilt .mcpb bundle on the
releases page. Download it
and open it: Desktop installs the server and holds the wallet keys in the OS
secret store rather than in a plain-text configuration file.
The tool
verify_package, and nothing else. One call is one verification, so the daily
allowance means the same thing here as it does over HTTP.
It answers twice over: a summary the agent reads, and the service's own JSON
alongside it in structuredContent, under a declared output schema, carrying the
verdict, every reason with its source, and the time the verdict was computed.
Calls run one at a time. The service allows one verification in flight per payer and refuses the second, so an agent walking a dependency list is queued here rather than failed.
Two networks
pkgproof settles on two chains, each on its own endpoint. They are not interchangeable: they take different key formats, and only one of them has a free tier.
How the server picks. The free attempt always goes to Base, because it is the only rail that answers an unpaid call. Payments prefer Algorand, and fall back to Base only when no Algorand key is configured. So a wallet on either chain works, and configuring neither still gets you a verdict a day.
Paid, with a wallet
[!WARNING] Fund a throwaway wallet, never a main one. The key is stored in plain text in your MCP client's configuration file, which is not an encrypted store, and anything able to read that file can spend the wallet. Put in what you are willing to spend on package verification and nothing more. There is deliberately no spend cap in this server, so the wallet's own balance is the only limit.
Algorand (preferred)
Verifications cost the account no ALGO. The 402 names a fee payer, so the facilitator covers the network fee on every payment and your ALGO balance does not move.
Base
Send USDC on Base to the throwaway wallet's address. You do not need ETH: payment is an off-chain signature and the facilitator pays the gas.
The server always tries the free call first, so a configured wallet is only charged once the day's free verification is used up.
Configuration
With neither set, the server is free-tier only and says so once the day's verification is spent.
Easy setup, step by step
Needs Node 22 or newer. Use a throwaway account, as warned above.
-
Generate a throwaway Algorand account. This downloads a small helper script that creates a fresh account on your machine:
It prints
ADDRESS,KEY_B64andMNEMONIConce and saves nothing. Keep them somewhere safe, such as a password manager. UseKEY_B64everywhere below, never the 25-wordMNEMONIC. -
Send 0.3 ALGO to
ADDRESS. Buy ALGO on an exchange and withdraw it on the Algorand network. A new account is empty and cannot do anything until it holds ALGO. This covers the account's minimum balance and the opt-in fee, and is a one-time cost. Verifications themselves cost no ALGO. -
Opt the account into USDC. Algorand accounts must opt into an asset before they can receive it, so USDC sent to an account that has not opted in will not arrive. This command signs that opt-in with your key:
-
Send USDC on Algorand to
ADDRESS. Withdraw USDC from an exchange on the Algorand network, not Base or Ethereum. Each verification costs $0.05, so $1 covers 20 of them. -
Check that both arrived. This reads the account from the network and prints its ALGO balance and USDC balance.
NOT OPTED INmeans step 3 did not go through: -
Add the server to Claude Code. This registers pkgproof as an MCP server and hands it the key, which it uses to sign payments on your machine and never sends anywhere.
--scope userinstalls it for every project, without it, Claude Code registers the server for the current directory only: -
Run a verification. Start
claudeand ask:check package crossenv with pkgproof. Claude calls theverify_packagetool and reports a verdict with its reasons.
The first verification each day is free and goes through Base. Later ones are paid from the Algorand account.
Privacy Policy
One HTTPS request per verification, carrying the package name, version and ecosystem you asked about and nothing else: no account, no telemetry, no file contents. Wallet keys are used to sign locally and are never transmitted. Full text in PRIVACY.md.
Development
No test spends anything, and the suite enforces it rather than trusting it: a test that reaches for the network fails, and the run refuses to start at all if a wallet key is set in the environment. The payment path is exercised against a fabricated 402 and a published test account, so an EIP-3009 authorisation is signed locally and the payload and header are checked without a wallet.
Links
- Service and docs: https://pkgproof.net/docs
- MCP Registry entry: https://registry.modelcontextprotocol.io/v0/servers?search=pkgproof
- OpenAPI, Base rail: https://x402.pkgproof.net/openapi.json
- OpenAPI, Algorand rail: https://x402-algo.pkgproof.net/openapi.json
License
Apache-2.0. If you distribute a modified version, section 4(b) requires you to mark the files you changed: a fork of a security tool that still carries this name should not be mistakable for this one.
來源:README.md,提交 5f1d2e6
工具
0版本歷史
5- v0.2.1最新Oct 15, 2026
- v0.1.12Oct 14, 2026
- v0.1.11Oct 8, 2026
- v0.1.8Oct 5, 2026
- v0.1.7Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分