RugSnare
RugSnare - Épinglez les contrats d'outils MCP par hachage ; détectez les dérives silencieuses, les rug pulls et les leurres par client après approbation avec une passerelle CI et des proxys stdio/HTTP en direct.
Documentation
RugSnare
RugSnare shows what changed in an MCP server after you approved it. Save the tool definitions your agent can see, then compare them on the next deployment. If a tool disappears, its instructions change, or its input schema starts requiring a new field, reviewers get a diff and CI can stop the rollout.
Chrome DevTools MCP 1.13.0 and 1.14.0 both listed 33 tools. Three input schemas changed, including take_screenshot. Read the upgrade report.
Browse public scan reports or run the two-server demo. If a report helped you review an upgrade, star RugSnare on GitHub to find it again.
Version 1.7.2 adds offline client-impact checks, migration suggestions, example coverage and optional response-value checks during canary replay. Try the client pilot · Verify the release.
Version 1.7.0 records the upstream server and tool identity supplied by 1MCP. If two upstream servers both expose echo, the report identifies which one changed. The stdio and HTTP readers also reject incomplete tool listings before saving a baseline or reporting removals. Changelog · Reproduce the two-server example

Reviewing an upgrade? Share the public repository or npm package and the two versions to get a short report for your PR. Request a diff.
Review client impact before upgrading
Run npx --yes rugsnare@1.7.2 impact reviewed.json candidate.json examples.json. Compare two saved tools/list results with your own example requests and responses, offline. The JSON report identifies which request the candidate rejects and which response an existing strict reader would reject. Run the four-example pilot.
Install with Homebrew
On macOS or Linux with Homebrew installed:
brew install paraphern/rugsnare/rugsnare
rugsnare --version
Run rugsnare scan and rugsnare diff from your project. Homebrew installs Node.js as a dependency. Formula and upgrade instructions
Try it in a project
Use Node.js 18 or newer. From a project with a trusted MCP configuration, run the following commands. Replace .mcp.json with the path to your client's configuration. For a local stdio entry, scanning starts the server command in that file.
npx --yes rugsnare@1.7.2 scan --config .mcp.json
npx --yes rugsnare@1.7.2 diff --config .mcp.json
Run the first command once you have reviewed the server. Commit the generated .rugsnare/pins.json, .rugsnare/pins.sig and .rugsnare/pins.pub.pem together. Keep the private key local. Use the second command for subsequent checks. An unchanged listing exits with code 0. A detected change exits with code 1. If the change is intentional, review the diff before approving the updated baseline.
When upgrading from 1.7.1, review the server with the old verifier first. Version 1.7.2 reports POLICY until you scan the trusted build again.
For a first run without configuring a third-party service, the control fixtures demonstrate two cases. Making a calendar argument mandatory and removing an allowed value triggers drift. Reordering JSON object keys in the notes tool stays clean.
Check pull requests with GitHub Actions
After committing the baseline, add these steps to a workflow job with access to your configured MCP servers. Keep any required credentials in the runner environment.
steps:
- uses: actions/checkout@v4
- uses: Paraphern/rugsnare/.github/actions/diff@5337f0625ccf6b60141a1661fea6f7c577ca0b7a
with:
config: .mcp.json
version: '1.7.2'
The version input selects the npm CLI. See the Action definition for filtering, SARIF output and badge options.
Use RugSnare from an MCP client
Desktop clients with MCPB support can install the RugSnare 1.7.2 extension. Its SHA-256 is 95c394886f40f882502d9664f069206cce83f2072813606223a10b3c36f192e2.
For a client that supports stdio MCP servers, add this entry.
{
"mcpServers": {
"rugsnare": {
"command": "npx",
"args": ["--yes", "rugsnare@1.7.2", "mcp"]
}
}
}
pins_reportreads the project's local pin store. Call it with{}from the directory containing the pins.drift_feed_statusfetches the public RugSnare drift feed when invoked. Pass{}for all entries, or filter by name with{"server":"server-filesystem"}.
Official MCP Registry entry · Registry manifest
HISTOR independently launched rugsnare@1.6.1 from the official registry and reproduced RugSnare’s hash for the two tools returned by tools/list. Signed observation · Comparison details
What a finding tells you
A diff identifies a change in the contract exposed to the client. For example, a renamed tool can break an existing workflow even when both old and new implementations are benign. A change in a description can also warrant a security review. Determining intent or verifying what the implementation does requires separate evidence. An unchanged contract can still conceal a change in server behavior.
| Developer question | Where to start |
|---|---|
| Which upstream behind 1MCP renamed a tool? | Runnable example with two local servers |
| Which public MCP packages changed this week? | Weekly drift reports |
| What did the historical npm survey count? | October audit with version ranges, findings and reproduction steps |
| How are tool definitions hashed and changes classified? | Pin format and comparison rules |
| Can I quarantine a changed tool during a session or replay calls before an upgrade? | CLI guide, proxy modes, canaries and signed receipts |
| How do the checks map to OWASP and Agent Threat Rules? | OWASP mapping · ATR mapping |
Verify the npm archive
Reproducible release integrity case: npm provenance, source commit and Base pin.
npm pack rugsnare@1.7.2
npx --yes rugsnare@1.7.2 verify rugsnare-1.7.2.tgz --version 1.7.2
The published SHA-256 is 7fdfa33d8652e1fcb95e909e67e0440d3c006643de37b721bf50589102ccb84a. The Base transaction records the same digest. The build attestation identifies source commit f4388c449243084dc3479885edef664ae3c3403b.
RugSnare has zero npm runtime dependencies. The 1.7.2 test suite contains 548 tests. To run it from a checkout, use cd product && npm test.
Security policy · Release procedure · Installation in Chinese · Installation in Japanese · Apache 2.0 license