Repository navigation
v0.3.1 — Invariant #8 (free-form message signing) + #7 carve-out + Safe note
Backfilled release — this version was originally merged via PR #5 without a corresponding GitHub release tag. This release entry was added retroactively for changelog completeness.
Summary
Adds Invariant #8 (free-form message-signing MESSAGE-PREVIEW block), an on-device sign-message allowlist carve-out under Invariant #7, and a Safe-multisig clarification note.
Sentinel: VAULTPILOT_PREFLIGHT_INTEGRITY_v4_7655818578c7a044
SKILL.md SHA-256: cd689838314a700dfff80d4c881bf51190cd6c71c747f3152e7cab8d943df2cc
What it catches
sign_message_btc and sign_message_ltc produce BIP-137 signatures over user-supplied UTF-8 strings. A compromised MCP can substitute the message text between the user's request and the device call — user asks to sign "I own bc1q...mine", MCP forwards "I authorize transfer of all funds to bc1q...attacker". The Ledger device shows the substituted text.
Invariant #8 has the agent render the EXACT UTF-8 string in a fenced verbatim CHECKS PERFORMED block before invoking the tool, and ask the user to confirm character-by-character match against the device screen. Any deviation → ✗ MESSAGE-PREVIEW MISMATCH — DO NOT SIGN.
Invariant #7 carve-out
Sign-message prompts on-device are ONLY legitimate for: contacts CRUD plus sign_message_btc / sign_message_ltc. Any sign-message prompt during a prepare_* / send_transaction flow is anomalous → refuse on-device.
Safe-multisig note
prepare_safe_tx_propose / _approve / _execute are ordinary EVM eth_sendTransaction calls (Safe uses on-chain approveHash instead of EIP-712 typed-data, keeping the WC namespace's typed-data exclusion intact). The agent decodes both the OUTER selector (Safe.approveHash / Safe.execTransaction) AND the INNER tx the Safe is being asked to authorize.
Compatibility
Requires vaultpilot-mcp ≥ 0.9.3 (same as v0.3.0; both v3 + v4 pin bumps shipped in that MCP release via commit 8f22f51).