Skip to content

Release: develop -> main#3528

Merged
TaprootFreak merged 3 commits intomainfrom
develop
Mar 31, 2026
Merged

Release: develop -> main#3528
TaprootFreak merged 3 commits intomainfrom
develop

Conversation

@github-actions
Copy link
Copy Markdown

Automatic Release PR

This PR was automatically created after changes were pushed to develop.

Commits: 1 new commit(s)

Checklist

  • Review all changes
  • Verify CI passes
  • Approve and merge when ready for production

* [DEV-4502] userData SpecialExternalPhoneCallDate

* [DEV-4562] Renaming

* [DEV-4562] add migration

* [DEV-4562] Mini refactoring
@github-actions
Copy link
Copy Markdown
Author

❌ Security: 1 critical vulnerabilities

* Fix native coin forward gas buffer to prevent stuck transactions

Increase gas fee buffer from 1.00001x to 2x when calculating the send
amount for native coin forwards. The previous 0.001% buffer was
insufficient to handle gas price fluctuations between the cached fee
estimation and actual send, causing value + gas to exceed the wallet
balance. This resulted in transactions being dropped from the mempool
and an infinite forward/timeout/reset loop.

* Use fresh gas cost for native coin forward amount calculation

Instead of relying on a cached fee estimate (30s TTL) to calculate
the send amount, fetch the current gas cost at dispatch time. This
eliminates the race condition where gas price changes between the
cached estimation and actual send, causing value + gas > balance
and the transaction to be dropped from the mempool.

* Reduce gas buffer from 1.5x to 1.05x

Fresh gas cost is fetched milliseconds before the actual send,
so only a minimal buffer is needed for potential block boundary
gas price changes (max 12.5% per block via EIP-1559).

* Apply fresh gas cost deduction to both forward and return paths

The return path for native coins had no gas deduction at all,
which would cause the same value + gas > balance issue when
chargebackAmount equals the full deposit amount.

* Update handlebars 4.7.8 → 4.7.9 to fix critical vulnerability

Resolves 8 security advisories including JS injection, prototype
pollution, and DoS via malformed decorator syntax.
@TaprootFreak TaprootFreak merged commit 042fe1c into main Mar 31, 2026
12 checks passed
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.

3 participants