Leeway MCP 0.7.5 ships security fixes, x402 sessions
Leeway MCP, an open-source Model Context Protocol server for policy-guarded AI agent wallets, releases v0.7.5 with mandatory security hardening for allowlisted Safe and smart-account balance tracking. The update also adds pre-approved x402 budget sessions, scoped tool profiles (readonly, payments, full), an interactive init wizard, and runnable examples for Vercel AI SDK, OpenAI Agents SDK, LangChain, and Coinbase AgentKit.
Giving autonomous agents on-chain spending power via x402 or wallet toolkits without hard policy boundaries is an accident waiting to happen, and Leeway's red-team hardening highlights how subtle smart-account bypasses get when real funds are involved.
- –Smart-account balance diffing closes a major policy loophole: measuring actual pre- and post-simulation balance changes via `eth_simulateV1` across allowlisted Safes, modules, and multicall wrappers prevents agents from moving value out of smart accounts without tripping per-transaction or daily spend caps.
- –x402 budget sessions solve human-in-the-loop fatigue without dropping guardrails: approving two-cent API payments one by one over Telegram does not scale, so owner-signed sessions scoped to canonicalized merchant hosts, per-call caps, and expiry windows make micropayments workable while keeping transfers and swaps locked behind normal approval.
- –Least-privilege tool profiles and tighten-only configs offer a strong MCP security pattern: hiding unregistered tools via `LEEWAY_PROFILE=readonly` (17 tools) or `payments` (22) reduces both context bloat and prompt-injection blast radius, while treating `~/.leeway-mcp/config.env` as untrusted ensures a local agent can only lower limits, never loosen them.
- –Upgrade caveats to plan around: pending v0.7.4 approval requests cannot be approved after upgrading (due to 8-byte random IDs and hash-chained ledger rewind detection), and chains whose public RPCs lack `eth_simulateV1` state overrides—such as Avalanche—fall back to requiring manual human sign-off for contract calls.
- –Early-stage footprint with a token footnote: the MIT-licensed repo is still tiny (single-digit GitHub stars) and lives alongside a `$LEEWAY` token, though the maintainers explicitly state the MCP server never requires it; teams evaluating it should watch for the forthcoming security advisory.
DISCOVERED
14m ago
2026-12-04
PUBLISHED
1h ago
2026-12-04
RELEVANCE
AUTHOR
Leewayicu