Skip to content

Release 0.4.1 — security patch - #31

Merged
szhygulin merged 1 commit into
mainfrom
release/0.4.1
Apr 14, 2026
Merged

Release 0.4.1 — security patch#31
szhygulin merged 1 commit into
mainfrom
release/0.4.1

Conversation

@szhygulin

Copy link
Copy Markdown
Collaborator

Summary

Security patch release. No API changes, no breaking behaviour.

Bundles the fixes merged in #30:

  • TRON rawDataHex verification before signing — every TronGrid builder now decodes the returned Transaction.raw protobuf and asserts it matches caller intent byte-for-byte before issuing a signing handle. Closes the MITM window between the JSON preview and the hex the Ledger signs.
  • Feedback issue titles neutralize @-mentions — GitHub parses @-mentions in titles too; prompt-injected summaries could have pinged arbitrary users.
  • RPC config errors redact URLs — provider API keys often live in RPC URL paths; errors no longer echo them into logs.
  • vitest 2.x → 4.x — resolves GHSA-67mh-4wv8-2f99 (dev-only). 341/341 tests pass on the new major.

Release checklist

  • Version bumped in package.json, package-lock.json, server.json
  • Tests pass (npx vitest run)
  • Type-check clean (npx tsc --noEmit)
  • npm audit — 0 vulnerabilities
  • Merge → create GitHub release v0.4.1 → workflow publishes to npm + MCP Registry

🤖 Generated with Claude Code

Security patch release — no API changes, no breaking behaviour.

Contains:
 - TRON rawDataHex verification before Ledger signing (MITM defence)
 - Feedback issue titles now neutralize @-mentions
 - RPC config errors no longer echo URLs (prevents API-key leak in logs)
 - vitest 2.x → 4.x (resolves GHSA-67mh-4wv8-2f99, dev-only)

See PR #30 for full details and Socket.dev triage.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@szhygulin
szhygulin merged commit 7c3a3a5 into main Apr 14, 2026
3 checks passed
@szhygulin
szhygulin deleted the release/0.4.1 branch April 25, 2026 02:15
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