Rust single-use claim gate stops tool replay and duplicate execution in local LLM workflows

AdmissibilityScience · reddit · 2026-09-22

Running local models via Ollama and LM Studio with custom system scripts, the author found the real pain wasn't the initial tool call but duplicate retries and mid-sequence parameter mutations when a model gets stuck in a loop.

He built a lightweight Rust CLI/library gate (v0.1) where the local model acts purely as an untrusted proposer:

Currently a local CLI tool and library function (executerequest()), not a full stdio MCP proxy—you call it inside tool handlers before firing file modifications or shell scripts. Open source: arcstone-mcp-sidecar on GitHub.

Related event: Developer Releases Rust Sidecar to Block MCP Tool Replay Attacks(2 posts)→

Original post →

More from coding & agent

coding & agent channel →