Skip to content
UsecaseBoard
← All use cases
githubMCP-security

RugSnare: pin MCP tool contracts and catch silent drift

At a glance

Show HN (Oct 17): RugSnare pins each MCP tool's {name, description, inputSchema} by canonicalized SHA-256 at install, then diffs upgrades across 24 popular servers (~3.6M weekly installs)—336 contract changes found; grades BREAKING/LOOSENED/EXPANDED/NOTATION/COSMETIC and exits 1 for CI. Apache-2.0, zero npm deps; OWASP MCP Security Cheat Sheet now recommends contract pinning. This workflow is listed under MCP-security, contract-drift, governance, CI, tooling.

Agents / tools
RugSnare, MCP, Claude Code, Codex, Cursor

SourceBuilding a tool for these workflows? See weekly rates.

Save ideas in this browser. Upvotes count across the board.

Prompt excerpt

Run `npx [email protected] scan --config mcp.json`, upgrade one MCP server, then `npx [email protected] diff --config mcp.json` and fail CI on any non-COSMETIC drift.

Sponsored

CodeBuddy

Tencent Cloud AI coding assistant for IDE and CLI.

Try CodeBuddy ↗
Explore all →