RugSnare
v1.7.0Pin MCP tool contracts by sha-256; catch silent drift, rug pulls and bait-and-switch in CI.
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. 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. Run the first command once you have reviewed the server.
Summary extracted from the README.
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.
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

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.0 scan --config .mcp.json
npx --yes rugsnare@1.7.0 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.
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.0'
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.0 extension. Its SHA-256 is 9ae124aa8c084d776ba26fb1fdd221d813189ffd5d29f7eac0c37dd6f2b577e3.
For a client that supports stdio MCP servers, add this entry.
{
"mcpServers": {
"rugsnare": {
"command": "npx",
"args": ["--yes", "rugsnare@1.7.0", "mcp"]
}
}
}
pins_reportreads the project's local pin store.drift_feed_statusfetches the public RugSnare drift feed when invoked.
Official MCP Registry entry · Registry manifest
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
npm pack rugsnare@1.7.0
npx --yes rugsnare@1.7.0 verify rugsnare-1.7.0.tgz --version 1.7.0
The verifier compares the downloaded archive against the release hash on Base. SHA-256 for 1.7.0 is 9d28fb8bb896c0892678e0f7fe5b40fdff0980e95daea9571cb3135f32adc3f0.
RugSnare has zero npm runtime dependencies. The 1.7.0 test suite contains 535 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