Skip to content

Release v0.2.0 - #8

Merged
szhygulin merged 1 commit into
mainfrom
release/0.2.0
Apr 13, 2026
Merged

Release v0.2.0#8
szhygulin merged 1 commit into
mainfrom
release/0.2.0

Conversation

@szhygulin

Copy link
Copy Markdown
Collaborator

Summary

Bump to v0.2.0. Merge this, then cut a GitHub release tagged v0.2.0 to trigger the npm publish workflow.

Contents (merged on main since v0.1.1):

  • simulate_transaction MCP tool — generic eth_call with viem-decoded revert reasons
  • enrichTx runs eth_call on every prepared tx and attaches the result to the preview
  • send_transaction re-simulates right before signing and refuses when the tx would revert
  • Fix: Compound V3 rendering dust when base token's decimals() read transiently fails

Test plan

  • npm test — 209 tests passing
  • npm run build — clean typecheck
  • After merge: create GitHub release v0.2.0 → verify Publish to npm workflow succeeds
  • Verify recon-crypto-mcp@0.2.0 visible on npm registry

🤖 Generated with Claude Code

- Add simulate_transaction MCP tool (generic eth_call with viem-decoded reverts)
- Run eth_call on every prepared tx; refuse to forward reverting txs to Ledger
- Fix Compound V3 dust rendering when base token decimals() read transiently fails

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@szhygulin
szhygulin merged commit 3c1ec85 into main Apr 13, 2026
2 checks passed
@szhygulin
szhygulin deleted the release/0.2.0 branch April 25, 2026 02:15
szhygulin added a commit that referenced this pull request Apr 27, 2026
The address-book PR (#284) and the pre-existing sign_message_btc /
sign_message_ltc tools together expand the signing surface beyond
sign-transaction flows. SECURITY.md previously covered only the
contacts blob signing trade-off (path C) and did not describe the
free-form public sign-message tools at all.

This commit:
  - Updates the contacts "EVM signing trade-off" paragraph to point
    at skill v4 Invariant #7 as the agent-side defense (decoration,
    tamper warning, sign-message-during-prepare anomaly check, post-
    add_contact verify cross-check), correctly attributing the
    contacts JSON preimage as NOT subject to character-by-character
    matching (its user-side defense is the recognizable domain
    prefix + JSON shape, per the skill's own carve-out).
  - Adds a new "Free-form message signing" section describing the
    public sign_message_btc / sign_message_ltc tools, the substitution
    threat, and skill v4 Invariant #8's MESSAGE-PREVIEW block as the
    agent-side defense (the user verifies the previewed string
    against the device screen character-by-character).
  - Notes that EVM has no equivalent public free-form signer
    (personal_sign is restricted to the contacts signer) and
    eth_signTypedData_v4 remains excluded from the WC namespace.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
szhygulin added a commit that referenced this pull request Apr 28, 2026
feat(security): harden Inv #8 BIP-137 message-sign with byte-fingerprint + drainer-string refusal (#454)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant