Skip to content

Gaotax2006 [ OA Bounty ] Fix #55: Add chainId and address(this) to signature hash, add per-sender nonce to prevent cross-chain replay#4835

Closed
Gaotax2006 wants to merge 1 commit into
ClankerNation:mainfrom
Gaotax2006:fix/contracts-bridge-TokenBridge-sol-55
Closed

Gaotax2006 [ OA Bounty ] Fix #55: Add chainId and address(this) to signature hash, add per-sender nonce to prevent cross-chain replay#4835
Gaotax2006 wants to merge 1 commit into
ClankerNation:mainfrom
Gaotax2006:fix/contracts-bridge-TokenBridge-sol-55

Conversation

@Gaotax2006
Copy link
Copy Markdown

Fixes #55

Add chainId and address(this) to signature hash, add per-sender nonce to prevent cross-chain replay

Files changed

  • contracts/bridge/TokenBridge.sol

Acceptance checklist

  • Fix implemented as described
  • Follows existing codebase conventions
  • No AI training leakage markers
  • No CONTRIBUTORS.json modifications
  • No build artifacts committed

…, add per-sender nonce to prevent cross-chain replay
@Gaotax2006
Copy link
Copy Markdown
Author

0x6e154f0e2c6190c18c27691537cf12a5f47d0558

@github-actions
Copy link
Copy Markdown

Unfortunately the changes in this PR didn't fully resolve the issue. Please rework your solution and submit a new pull request within 2 hours.

Make sure to review the acceptance criteria in the linked issue and verify all conditions are met before resubmitting.

@github-actions github-actions Bot closed this May 26, 2026
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.

[ Bounty $1k ] [ Solidity ] Fix cross-chain replay attack in TokenBridge signature verification — v2 implementation

1 participant