Purpose
Proof of Commitment is a supply chain security risk scorer for npm, PyPI, Rust Cargo, Go modules, and GitHub repositories. It assesses package risk through behavioral commitment signals, which are harder to fake than stars, READMEs, or download counts. The tool is designed to expose concentration in the supply chain attack surface, such as a single npm publisher controlling packages with millions of weekly downloads; if credentials are stolen, an attacker could push malicious versions affecting the entire ecosystem.
Main Capabilities
- Behavioral Signal Scoring: Each package is scored from 0-100, with factors including: longevity, publisher depth (i.e., the number of people with npm publish permissions), release consistency, download trend, and OpenSSF Scorecard process security score.
- Risk Levels: CRITICAL (a single npm publisher and >10 million weekly downloads), HIGH (package age <1 year and rapidly adopted), WARN (no releases for more than 12 months).
- Multi-platform Support: npm, PyPI, Cargo, Go modules, and GitHub repositories.
- MCP Server: Can be integrated into any MCP-compatible AI tool, allowing supply chain risk queries without logging in.
- CLI and CI Integration: Provides
--fail-on=<level>option as a CI gate, with SARIF output support for GitHub Code Scanning. - IDE Hooks: Through
poc hookinstall a supply chain gate for Cursor, Claude Code, and Windsurf, intercepting package installation commands (such as npm install, pip install, cargo add, go get), and blocking, warning, or allowing within 500 milliseconds. - Web Demo: No installation required; visit getcommit.dev/audit and paste a package name to view its risk score.
- Badges: You can add a Commit Trust badge to npm packages, showing OK, WARNING, or CRITICAL levels.
- Monitoring and Alerts: A free API key can monitor 3 packages with a weekly summary; the Developer plan ($15/month) can monitor 15 packages with daily scans and instant email alerts.
Usage
MCP Installation
No login required. Add the configuration to an MCP-compatible AI tool:
- macOS: edit
~/Library/Application Support/Claude/claude_desktop_config.json - Windows: edit
%APPDATA%\Claude\claude_desktop_config.json - Cursor: edit
~/.cursor/mcp.json
After restarting Claude Desktop, a tool icon will appear in the chat input box, and you can ask it to audit package.json.
Terminal Usage (Zero Installation)
CLI commands are provided; refer to the official documentation for specific commands.
CI Integration
Use --fail-on=<level> to turn the CLI into a one-line CI gate. By default, in CI environments (CI=true), it fails on critical level, and--json output also defaults to critical. Interactively (TTY, non-CI), it keeps exit code 0. You can also use the dedicated GitHub Action piiiico/commit-action@v1, which supports PR comments and step summaries.
SARIF Output
--sarif outputs SARIF 2.1.0 format, which can be uploaded to GitHub Code Scanning; CRITICAL and HIGH packages will appear in the repository's security tab.
IDE Hooks
poc hook installs hooks for Cursor (beforeShellExecution), Claude Code (PreToolUse), and Windsurf (pre_run_command). The hook script intercepts package installations from any agent, automatically detects the calling client, and blocks CRITICAL packages before running. Default behavior: CRITICAL packages are blocked; HIGH packages trigger a prompt (Cursor/Claude Code) or block with a prompt (Windsurf). Setting COMMIT_HOOK_SEVERITY_BLOCK=HIGH blocks both at the same time. Using an API key (poc login sk_commit_…) can increase rate limits.
Web demo
Visit getcommit.dev/audit, paste a package name, and view the risk score within seconds.
Badge
Add the Commit Trust badge to npm packages, with ratings: 🟢 OK (75+), 🟠 WARNING (40-74), 🔴 CRITICAL (<40 or a single npm publisher with 10 million+ weekly downloads). Badges are cached for 1 hour and require no API key. PyPI, Cargo, and Go module formats are also supported.
API usage
Anonymous: 15 requests per IP per day (UTC), across /mcp and /api/audit. Free key (no credit card required, 30-second signup): 200 per day. See the pricing page for higher tiers.
Use cases
- Developers assessing supply chain risk before introducing a new dependency into a project.
- Security teams integrating supply chain audit gates into CI/CD pipelines.
- Using AI coding assistants (Cursor, Claude Code, Windsurf) with hooks to prevent automatic installation of high-risk packages.
- Maintainers adding a trust badge to their own packages.
- Monitoring dependency packages for changes in behavioral signals and receiving timely alerts.
Limitations
- The project is at an early stage, and some features are planned rather than promised.
- Scores are based on behavioral signals and are not a substitute for vulnerability scanning (such as npm audit); the two measure different attack surfaces.
- Free API keys have rate limits (200/day), and anonymous limits are stricter (15/day).
- Monitoring features require an API key; the free version monitors only 3 packages, with a weekly summary.
- Badges are cached for 1 hour.
- Hooks block CRITICAL packages by default, which may affect development workflows and needs to be adjusted according to the team's situation.
- Scores are retrospective indicators, calculated based on post-attack data, not predictions.
- For specific installation commands, configuration details, and pricing, please refer to the official documentation and website.