GUIDE 02 · MCP APPSEC & SARIF 2.1.0
MIT REPO: MCPGUARD-CORE V0.1.3 · OFFICIAL MCP REGISTRY + GLAMA HTTP 200

Defending Claude Desktop & Cursor Against MCP Tool Poisoning and Rug-Pulls

Model Context Protocol (MCP) bridges models straight to local shells, databases, and OAuth tokens. Without deterministic pre-flight validation and schema pinning, a single malicious package update compromises every downstream conversation.

1. Six High-Signal Static Audit Rules (MG-001..MG-006)

2. Deterministic mcp.lock.json Integrity & Benchmark

Across 12 curated red-team & benign test cases, mcpguard-core v0.1.3 blocks 9/9 (100.0%) attacks while sustaining a 0.0% false-positive rate in < 2ms with $0 LLM API spend, emitting CI-ready SARIF 2.1.0 findings and hashing server definitions into mcp.lock.json without leaking credential values.

uvx --from git+https://github.com/qwnzkkldsfai/mcpguard-core mcpguard-core self-check