v1.1.0 — See the poison
Injection / tool-poisoning heuristics — mcpgate now scans MCP traffic in both directions for prompt-injection and tool-poisoning patterns, as a defence-in-depth signal on top of the deny-by-default policy engine.
Added
- Heuristic scanner (
internal/scanner) — deterministic, versioned signature set: ignore-previous-instructions, jailbreak fragments, and base64 / data-URI / credential exfiltration patterns. heuristicsconfig block —enabled(defaulttrue, WARN-only) andblock_on_warn(opt-in escalation ofALLOW→DENY).DENY/ASKare never downgraded.- Signed warnings — heuristic matches are stored in the tamper-evident audit hash-chain (SHA-256 chain + HMAC) and surfaced as a ⚠ badge in the dashboard. Clean rows hash identically to v1.0 (backward compatible).
- Inbound content withholding — with
block_on_warn, poisonedresources/readresults andsampling/createMessagereverse-channel content are withheld from the agent.
Security
- Outbound (tool-call args), inbound (
resources/readresults — including the JSON-RPC error channel), and reverse-channel (sampling/createMessage) are all scanned. - WARN-only by default: false positives degrade to noise, not outages.
SECURITY.mddocuments the control, its semantics, and the opt-in blocking model.
Full changelog: see CHANGELOG.md.
🤖 Built with subagent-driven development; every task spec- and quality-reviewed, plus a final whole-implementation security review.