Context
contracts/bridge/ exists. A bridge contract that demonstrates the most common cross-chain security issues (replay attacks, signature validation) would make an excellent advanced example.
Work
Acceptance criteria
- Replay attack demonstrated in test
- Nonce-protected version is replay-resistant
sanctifier analyze detects the replay vulnerability
Context
contracts/bridge/exists. A bridge contract that demonstrates the most common cross-chain security issues (replay attacks, signature validation) would make an excellent advanced example.Work
eth_signformat)sanctifier analyzeshould flag the replay vulnerabilityAcceptance criteria
sanctifier analyzedetects the replay vulnerability