Skip to content

Antigravity [ Crypto ] Fix cross-chain replay attack in CrossChainBridge#5878

Closed
Ishant5436 wants to merge 1 commit into
UnsafeLabs:mainfrom
Ishant5436:feat/issue-920-cross-chain-replay
Closed

Antigravity [ Crypto ] Fix cross-chain replay attack in CrossChainBridge#5878
Ishant5436 wants to merge 1 commit into
UnsafeLabs:mainfrom
Ishant5436:feat/issue-920-cross-chain-replay

Conversation

@Ishant5436
Copy link
Copy Markdown

Resolves #920

This PR fixes the cross-chain replay attack by:

  1. Adding a mapping per sender.
  2. Modifying to track the target chain nonce.
  3. Constructing an EIP-712 Domain Separator with and to prevent cross-chain and post-upgrade replays.
  4. Structurally signing the transfer with the source sender's specific target nonce.
  5. Explicitly checking for to prevent invalid signature bypass.
  6. Including the required .

@github-actions
Copy link
Copy Markdown
Contributor

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

Make sure to review the acceptance criteria in the linked issue and verify all conditions are met before resubmitting. See CONTRIBUTING.md for guidelines.

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

[ Crypto ] Fix cross-chain replay attack in CrossChainBridge signature verification

1 participant