Skip to main content
Glama
proof-of-commitment

proof-of-commitment

by piiiico

Proof of Commitment

スターは嘘をつく。行動シグナルは嘘をつかない。

npmパッケージ、PyPIパッケージ、GitHubリポジトリを行動コミットメント(スター、README、ダウンロード数よりも偽造が困難なシグナル)に基づいてスコアリングするMCPサーバーおよびWebツールです。

サプライチェーンの問題

一般的なNode.jsプロジェクトに含まれる3つのパッケージが、現在非常に危険な状態にあります:

  • chalk — 週3億9900万ダウンロード、メンテナー1名

  • zod — 週1億3900万ダウンロード、メンテナー1名

  • axios — 週9600万ダウンロード、メンテナー1名(2026年4月1日に攻撃発生)

スターやREADMEの品質ではこれらは表面化しません。行動シグナルならそれが可能です。

Related MCP server: pkgtruth

今すぐ試す

ターミナル(インストール不要):

npx proof-of-commitment axios zod chalk
# or scan your own project:
npx proof-of-commitment --file package.json
# PyPI too:
npx proof-of-commitment --pypi litellm langchain requests

Webデモ(インストール不要): getcommit.dev/audit — パッケージを貼り付けるだけで、数秒でリスクスコアを確認できます。

MCPサーバー(インストール不要):

{
  "mcpServers": {
    "proof-of-commitment": {
      "type": "streamable-http",
      "url": "https://poc-backend.amdal-dev.workers.dev/mcp"
    }
  }
}

Claude Desktop、Cursor、Windsurf、またはMCP互換のAIツールに追加してください。その後、以下のように質問します:

「私のpackage.jsonをサプライチェーンリスクについて監査して」 「axios、zod、chalk、lodashをスコアリングして。どれが最もリスクが高い?」 「vercel/aiは活発にメンテナンスされている?」

GitHub Action

CIパイプラインにサプライチェーン監査を追加します。package.jsonやrequirements.txtからパッケージを自動検出し、結果をPRコメントとして投稿し、GitHub Step Summaryに書き込み、オプションでCRITICALなパッケージがある場合に失敗させることができます。

# .github/workflows/supply-chain-audit.yml
name: Supply Chain Audit
on: [push, pull_request]

jobs:
  audit:
    runs-on: ubuntu-latest
    permissions:
      pull-requests: write   # needed for PR comments
    steps:
      - uses: actions/checkout@v4
      - uses: piiiico/proof-of-commitment@main
        with:
          fail-on-critical: false   # set true to block merges
          comment-on-pr: true       # posts audit table directly on the PR

comment-on-pr: true(デフォルト)の場合、アクションは自動的に監査テーブルをプルリクエストのコメントとして投稿します。また、再実行時には同じコメントを更新するため、コメントスパムが発生しません。レビュアーはPRを離れることなくリスクテーブルを確認できます。

入力:

入力

デフォルト

説明

packages

(自動)

カンマ区切りのパッケージ名(設定されていない場合、package.json/requirements.txtから自動検出)

fail-on-critical

true

CRITICALなパッケージが見つかった場合にワークフローを失敗させる

max-packages

20

自動検出時に監査する最大パッケージ数

comment-on-pr

true

監査結果をPRコメントとして投稿する(pull-requests: write権限が必要)

出力: has-critical、critical-count、audit-summary(Markdownテーブル、Step Summaryにも書き込まれます)。

PRコメント / Step Summary出力の例:

| Package | Risk        | Score | Maintainers | Downloads/wk | Age   |
|---------|-------------|-------|-------------|--------------|-------|
| chalk   | 🔴 CRITICAL | 75    | 1           | 380M         | 12.7y |
| zod     | 🔴 CRITICAL | 83    | 1           | 133M         | 6.1y  |
| axios   | 🔴 CRITICAL | 89    | 1           | 93M          | 11.6y |

READMEバッジ

あなたがメンテナンスしている、または依存しているパッケージにコミットメントスコアバッジを追加しましょう:

![commit score](https://poc-backend.amdal-dev.workers.dev/api/badge/npm/YOUR-PACKAGE)

例:

パッケージ

バッジURL

axios

![commit](https://poc-backend.amdal-dev.workers.dev/api/badge/npm/axios)

zod

![commit](https://poc-backend.amdal-dev.workers.dev/api/badge/npm/zod)

litellm

![commit](https://poc-backend.amdal-dev.workers.dev/api/badge/pypi/litellm)

色:🟢 健全 (75+) · 🟡 良好 (60–74) · 🟡 中程度 (40–59) · 🟠 高リスク (<40) · 🔴 CRITICAL (メンテナー1名 + 週1000万ダウンロード超)

バッジはCloudflareのエッジで5分間キャッシュされます。APIキーは不要です。

REST API

APIキー不要。インストール不要。

curl https://poc-backend.amdal-dev.workers.dev/api/audit \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"packages": ["axios", "zod", "chalk", "lodash", "express"]}'
{
  "count": 5,
  "results": [
    {
      "name": "chalk",
      "ecosystem": "npm",
      "score": 75,
      "maintainers": 1,
      "weeklyDownloads": 398397580,
      "ageYears": 12.7,
      "trend": "stable",
      "riskFlags": ["CRITICAL"]
    },
    ...
  ]
}

7つのMCPツール

ツール

説明

audit_dependencies

最大20個のnpm/PyPIパッケージに対するバッチリスク監査

lookup_npm_package

npmパッケージ単体の行動プロファイル

lookup_pypi_package

PyPIパッケージ単体の行動プロファイル

lookup_github_repo

GitHubリポジトリのコミットメントスコア(存続期間、コミット頻度、コントリビューターの深さ)

lookup_business

ノルウェー企業登録簿 — 営業年数、従業員数、財務情報

lookup_business_by_org

同上(組織番号による検索)

query_commitment

ブラウザ拡張機能の行動データ(検証済みのユニーク訪問者数、リピート率)

スコアの測定内容

各パッケージは0〜100でスコアリングされます:

  • 存続期間 — パッケージはどれくらい存在しているか?放置されたパッケージは攻撃のために再アクティブ化されることがあります。

  • メンテナーの深さ — メンテナー1名 + 週数百万ダウンロード = LiteLLMが悪用された攻撃対象領域。

  • リリースの整合性 — 定期的なリリースは活発な監視のシグナルです。長い空白期間は脆弱性の蓄積を意味します。

  • ダウンロード傾向 — 成長中のパッケージはより多くの精査(および攻撃)を引き寄せます。安定しているものはプロファイルが低くなります。

リスクフラグ:

  • CRITICAL — メンテナー1名 + 週1000万ダウンロード超(LiteLLM/axiosの攻撃プロファイルと一致)

  • HIGH — パッケージが1年未満 + 急速な採用

  • WARN — 12ヶ月以上リリースなし

実際のデータポイント

chalk     — score 75, 1 maintainer, 399M/week  ⚑ CRITICAL
zod       — score 83, 1 maintainer, 139M/week  ⚑ CRITICAL
axios     — score 89, 1 maintainer,  96M/week  ⚑ CRITICAL (attacked Apr 1 2026)
lodash    — score 88, 3 maintainers, 68M/week
express   — score 91, 5 maintainers, 35M/week
litellm   — score 74, 1 maintainer           ⚑ CRITICAL (supply chain attack Mar 2026)

なぜ行動シグナルなのか

LiteLLM攻撃(2026年3月)とaxios攻撃(2026年4月)は同じパターンをたどりました:認証情報の盗難 → 悪意のあるパッケージのプッシュ → 9700万台以上のマシンが露出。どちらのパッケージも、攻撃の前にこれらの指標によってCRITICALとスコアリングされていました。

宣言的なシグナル(スター、READMEの品質、CIバッジ)ではこのリスクを捉えられません。行動コミットメントなら捉えられます。

公式MCPレジストリに掲載

registry.modelcontextprotocol.io → io.github.piiiico/proof-of-commitment

スタック

レイヤー

テクノロジー

バックエンド

Cloudflare Workers + D1

MCP

Model Context Protocol SDK

データ

npm registry, PyPI, GitHub API, Brønnøysund (NO)

ランディング

Astro + Cloudflare Pages

より広範なビジョン

サプライチェーン監査は最初のツールに過ぎません。その根底にあるプリミティブはコミットメントグラフです。これは、あらゆるドメインにおいてコンテンツベースの信頼に取って代わる行動シグナルです。

コンテンツが簡単に偽造できる(レビュー、スター、README)場合、コミットメントがシグナルとなります。12年間で847回のリリースを行ってきたメンテナーは、2023年に一度だけ公開したメンテナーとは異なる種類のコミットメントを持っています。

同じ論理がWebサイト、企業、AIエージェントにも適用されます。2つのカードネットワークが独立してこのギャップを指摘しています。Mastercard Verifiable Intent §9.2は、行動的信頼を「カバーされていない」と明示しています。Visa TAPは、エージェントを識別しますが、それらを信頼すべきかどうかには答えていません。

Proof of Commitmentは、彼らが指摘している信頼のレイヤーです。

→ getcommit.dev

ローカルで実行

bun install
bun run dev:backend     # local server with SQLite
bun run test:e2e        # E2E test with mock World ID

デプロイ:

bun run deploy          # deploys to Cloudflare Workers

Available Tools

8 tools
audit_dependenciesAInspect

Batch-score multiple npm or PyPI packages for supply chain risk. Takes a list of package names and returns a risk table sorted by commitment score (lowest = highest risk first).

Risk flags:

  • CRITICAL: single npm publisher + >10M weekly downloads (publish-access concentration risk)

  • HIGH: new package (<1yr) + high downloads (unproven, rapid adoption = supply chain risk)

  • WARN: no release in 12+ months (potential abandonware)

  • WARN: dormant publishers with current scope access — contributors who stopped publishing but retain npm tokens (the Mastra incident vector, June 2026)

Perfect for auditing a full package.json or requirements.txt — paste your dependency list and get a prioritized risk report.

Examples: score all deps in a project, compare two similar packages, identify abandonware before it becomes a CVE.

Inputs: packages (required), ecosystem.

lookup_businessBInspect

Search for a Norwegian business and get its commitment profile from public data (Brønnøysund Register Centre). Returns real commitment signals that can't be faked:

  • Temporal commitment: how long the business has operated

  • Financial commitment: revenue, profitability, equity health

  • Operational commitment: employee count, active status

  • Overall commitment score (0-100)

Data source: Norwegian government registers (Brreg). No user-contributed data needed — immediate trust verification for any Norwegian business.

Inputs: query (required), maxResults.

lookup_business_by_orgAInspect

Look up a specific Norwegian business by organization number and get its commitment profile from public data (Brønnøysund Register Centre). Returns real commitment signals: longevity, financial health, operational activity, and overall commitment score.

Inputs: orgNumber (required).

lookup_github_repoAInspect

Get a behavioral commitment profile for any public GitHub repository. Returns real signals: how long the project has existed, recent commit frequency, contributor community size, release cadence, and social proof. These are behavioral commitments — harder to fake than README claims.

Useful for: vetting open-source dependencies, evaluating AI tools/frameworks, assessing vendor reliability. Examples: "vercel/next.js", "facebook/react", "https://github.com/piiiico/proof-of-commitment"

Inputs: repo (required).

lookup_go_moduleAInspect

Get a behavioral commitment profile for any Go module on proxy.golang.org. Takes a full module path (e.g., "github.com/gin-gonic/gin", "golang.org/x/net", "k8s.io/client-go", "gopkg.in/yaml.v3") and returns real signals: module age, version count, publish cadence, GitHub contributors (the closest equivalent to "publishers" since Go has no centralized publisher concept — git push access is the publish equivalent), GitHub stars, OpenSSF Scorecard score.

The Go ecosystem has no centralized download counter, so this profile is GitHub-primary — the linked source repository's activity, contributor count, and Scorecard carry more weight than for npm/PyPI/Cargo. Stars are used as the popularity proxy.

Useful for: vetting Go dependencies before adding to go.mod, identifying abandonware, supply chain risk assessment. Examples: "github.com/gin-gonic/gin", "golang.org/x/crypto", "github.com/spf13/cobra", "k8s.io/api"

Inputs: module (required).

lookup_npm_packageAInspect

Get a behavioral commitment profile for any npm package. Returns real signals: package age, download volume and trend (growing/stable/declining), release consistency, npm publisher count, GitHub contributor count, and linked GitHub activity.

Also returns publisherLifecycle — cross-referencing current maintainers against per-version publish history to flag dormant publishers who still hold npm scope access. The Mastra incident (June 2026) exploited exactly this: a contributor dormant since 2024 with never-revoked scope access.

Supply chain attacks target packages with low publisher depth (few people with npm publish access). Behavioral signals reveal what download counts hide.

Useful for: vetting dependencies, identifying abandonware, due diligence on open-source packages. Examples: "langchain", "@anthropic-ai/sdk", "express", "litellm"

Inputs: package (required).

lookup_pypi_packageAInspect

Get a behavioral commitment profile for any PyPI (Python) package. Returns real signals: package age, download volume and trend, release consistency, publisher/owner count, and linked GitHub activity.

Supply chain attacks target Python packages — LiteLLM (97M downloads/mo) was compromised via stolen PyPI token in March 2026. Behavioral signals reveal what star counts hide.

Useful for: vetting Python dependencies, identifying abandonware, supply chain risk due diligence. Examples: "langchain", "litellm", "openai", "anthropic", "requests", "fastapi", "pydantic"

Inputs: package (required).

query_commitmentAInspect

Query verified behavioral commitment data for a domain. Returns aggregated signals: unique verified visitors, repeat visit rate, and average time spent. These prove real human engagement — harder to fake than reviews or content.

Inputs: domain (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 8 tools

    Disambiguation4/5

    The package-ecosystem lookups (npm, PyPI, Go, GitHub) are clearly scoped to distinct registries, and audit_dependencies is obviously batch-oriented. The only real overlap is lookup_business vs lookup_business_by_org, which differ mainly by input (name search vs org number), and query_commitment's domain-based scope is somewhat fuzzy against the package lookups since package profiles also aggregate engagement signals.

    Naming Consistency4/5

    All eight tools use snake_case verb_noun form, with six sharing a lookup_ prefix and the rest using query_/audit_ verbs appropriately. Minor inconsistency in the noun portion of the lookup family (github_repo vs go_module vs pypi_package vs npm_package vs business), but the pattern remains predictable.

    Tool Count5/5

    Eight tools is well inside the sweet spot for a registry/commitment-scoring server. Each tool maps to a distinct data source or aggregation mode, and none feels redundant padding.

    Completeness4/5

    The surface covers Norwegian business data, four code-ecosystem sources, domain engagement, and batch risk auditing — a coherent lifecycle from single lookup to prioritized audit. Gaps remain: audit_dependencies only handles npm/PyPI (not Go/GitHub), and other major ecosystems (Cargo, RubyGems, Maven) have no lookup at all, but agents can work around these.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Deterministic supply-chain provenance, SBOM/AI-BOM generation, and dependency risk analysis for npm and PyPI packages, with 14 security rules and verifiable reports.
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI coding agents and CI to vet npm dependencies before they reach the lockfile, flagging hallucinated, slopsquatted, or otherwise risky packages with evidence-backed verdicts.
      3
      52 npm
      4
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables safety-ranked discovery of open-source components across npm, PyPI, crates.io, RubyGems, GitHub, and Hugging Face, with license, security, and health checks.
      1,348 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Scores npm packages, PyPI packages and GitHub repositories 0-100 with an A-F grade and plain-language risks. Scans package.json, requirements.txt and lock files; no API key needed.
      3
      67 npm
      1
      Apache 2.0