Cross-Chain Bridge Security Agreement
CROSS-CHAIN BRIDGE SECURITY AGREEMENT
Agreement Number: [________________________________]
Effective Date: [__/__/____]
PARTIES
BRIDGE OPERATOR (the "Operator"):
| Field | Details |
|---|---|
| Legal Entity Name | [________________________________] |
| Jurisdiction of Incorporation | [________________________________] |
| Registered Address | [________________________________] |
| Primary Contact | [________________________________] |
| [________________________________] | |
| Bridge Protocol Name | [________________________________] |
| Bridge Protocol Website | [________________________________] |
| Bridge Contract Addresses | [________________________________] |
SECURITY PROVIDER (the "Provider"):
| Field | Details |
|---|---|
| Legal Entity Name | [________________________________] |
| Jurisdiction of Incorporation | [________________________________] |
| Registered Address | [________________________________] |
| Primary Contact | [________________________________] |
| [________________________________] | |
| Security Certifications Held | [________________________________] |
GOVERNANCE AUTHORITY (if applicable) (the "DAO" or "Governance Body"):
| Field | Details |
|---|---|
| DAO Name / Governance Body | [________________________________] |
| Governance Token Contract | [________________________________] |
| Multisig Address | [________________________________] |
| Governance Forum URL | [________________________________] |
(Collectively, the "Parties," and individually, a "Party.")
RECITALS
WHEREAS, the Operator develops, deploys, and/or maintains a cross-chain bridge protocol (the "Bridge") that facilitates the transfer of digital assets between two or more blockchain networks (each a "Supported Chain");
WHEREAS, cross-chain bridges have historically been targets of significant security exploits, including but not limited to the Ronin Network exploit (~$624M, March 2022), the Wormhole exploit (~$326M, February 2022), the BNB Bridge exploit (~$586M, October 2022), the Nomad Bridge exploit (~$190M, August 2022), and the Harmony Horizon Bridge exploit (~$100M, June 2022), collectively demonstrating that bridge infrastructure requires rigorous security measures;
WHEREAS, the Provider possesses specialized expertise in blockchain security, smart contract auditing, validator infrastructure, and incident response;
WHEREAS, the Parties desire to establish a comprehensive security framework governing the Bridge's architecture, operations, monitoring, incident response, insurance coverage, and user fund protection;
NOW, THEREFORE, in consideration of the mutual covenants and agreements set forth herein, and for other good and valuable consideration, the receipt and sufficiency of which are hereby acknowledged, the Parties agree as follows:
ARTICLE 1: DEFINITIONS
1.1 "Bridge Contract(s)" means the smart contract(s) deployed on each Supported Chain that lock, mint, burn, or release digital assets in connection with cross-chain transfers.
1.2 "Circuit Breaker" means an automated mechanism that halts or rate-limits Bridge operations upon detection of anomalous activity, abnormal volume, or security events.
1.3 "Consensus Mechanism" means the method by which validators, relayers, or guardians reach agreement on the validity of cross-chain messages and transactions.
1.4 "Critical Vulnerability" means a security flaw rated Critical or High under the Common Vulnerability Scoring System (CVSS) v3.1 or v4.0, or any vulnerability that could result in unauthorized access to, loss of, or manipulation of user funds.
1.5 "Exploit Event" means any unauthorized access to, theft of, or manipulation of assets held, locked, or managed by the Bridge, whether through smart contract vulnerability, validator compromise, social engineering, governance attack, or other vector.
1.6 "Guardian(s)" means the authorized signers, validators, or relayer nodes responsible for attesting to or approving cross-chain messages processed by the Bridge.
1.7 "Liquidity Pool" means any pool of digital assets maintained by or on behalf of the Bridge to facilitate cross-chain transfers.
1.8 "Multisig" or "Multi-Signature Wallet" means a smart contract wallet requiring a threshold number of authorized signers to approve a transaction.
1.9 "Proof of Reserves" means a cryptographic attestation demonstrating that the Bridge holds sufficient reserves on each Supported Chain to cover all outstanding wrapped or bridged assets.
1.10 "Security Audit" means a comprehensive review of the Bridge's smart contracts, validator infrastructure, operational procedures, and access controls conducted by a qualified third-party security firm.
1.11 "Supported Chain" means each blockchain network connected by the Bridge, as listed in Schedule A.
1.12 "Threshold Signature Scheme (TSS)" means a cryptographic protocol that distributes a private key among multiple parties such that a threshold number of parties must cooperate to produce a valid signature.
1.13 "Total Value Locked (TVL)" means the aggregate U.S. dollar equivalent value of all digital assets locked, custodied, or managed by the Bridge at any given time.
1.14 "Wrapped Asset" means a token minted on a destination chain representing an asset locked on a source chain.
ARTICLE 2: BRIDGE ARCHITECTURE AND SECURITY REQUIREMENTS
2.1 Bridge Architecture Classification
The Bridge shall be classified as follows (check all that apply):
☐ Lock-and-Mint Bridge (assets locked on source chain; wrapped tokens minted on destination chain)
☐ Burn-and-Mint Bridge (tokens burned on source chain; equivalent minted on destination chain)
☐ Liquidity Network Bridge (swaps executed via liquidity pools on each chain)
☐ Atomic Swap Bridge (trustless peer-to-peer swaps using hash time-locked contracts)
☐ Optimistic Bridge (fraud-proof based verification with challenge period)
☐ ZK-Proof Bridge (zero-knowledge proof verification of cross-chain state)
☐ Hybrid Architecture (specify): [________________________________]
2.2 Trust Model
The Bridge operates under the following trust model:
☐ Trusted Bridge — Relies on designated validators/guardians with staked collateral
☐ Trust-Minimized Bridge — Uses cryptographic proofs with limited trust assumptions
☐ Trustless Bridge — Security equivalent to underlying blockchain consensus
Trust Assumptions Documentation: The Operator shall maintain and publish a comprehensive trust assumptions document specifying:
(a) All entities whose compromise could result in loss of user funds;
(b) The minimum number of colluding parties required to execute an unauthorized withdrawal;
(c) The economic cost of attack relative to the Bridge's TVL;
(d) All external dependencies (oracles, relayers, sequencers, etc.); and
(e) Any single points of failure in the Bridge architecture.
2.3 Smart Contract Requirements
2.3.1 Code Standards
The Bridge Contracts shall:
(a) Be developed in accordance with industry best practices for the applicable programming language (Solidity, Rust, Move, or other: [________________________________]);
(b) Follow established security patterns including reentrancy guards, access control modifiers, overflow protection, and input validation;
(c) Be deployed from verified and reproducible builds;
(d) Have source code verified on all applicable block explorers; and
(e) Be released under an open-source license (specify): [________________________________].
2.3.2 Upgradeability Controls
☐ Bridge Contracts are immutable (non-upgradeable)
☐ Bridge Contracts use a proxy upgrade pattern (specify type):
| Parameter | Requirement |
|---|---|
| Proxy Pattern | ☐ Transparent Proxy ☐ UUPS ☐ Diamond (EIP-2535) ☐ Beacon ☐ Other: [____] |
| Upgrade Timelock Period | [____] hours minimum |
| Upgrade Approval Threshold | [____] of [____] multisig signers |
| Governance Vote Required | ☐ Yes ☐ No — If yes, minimum quorum: [____]% |
| Emergency Upgrade Procedure | ☐ Permitted with [____] of [____] emergency signers |
| Upgrade Audit Requirement | ☐ Full audit required ☐ Focused review required ☐ None |
2.3.3 Access Control Matrix
| Role | Permissions | Assignment Method | Max Holders |
|---|---|---|---|
| Owner/Admin | Contract upgrades, parameter changes | Multisig: [____] of [____] | [____] |
| Guardian/Validator | Message attestation, signing | Key ceremony / election | [____] |
| Operator | Daily operations, monitoring | Governance approval | [____] |
| Pauser | Emergency pause capability | Multisig: [____] of [____] | [____] |
| Fee Manager | Fee parameter adjustments | Timelock + Multisig | [____] |
| [________________________________] | [________________________________] | [________________________________] | [____] |
ARTICLE 3: VALIDATOR AND GUARDIAN SECURITY
3.1 Validator Set Composition
3.1.1 Minimum Validator Set Size
The Bridge shall maintain a minimum of [____] active validators/guardians at all times.
3.1.2 Signing Threshold
Cross-chain message approval shall require signatures from at least [____] of [____] validators (the "Signing Threshold"), which shall at all times represent no less than two-thirds (2/3) of the total active validator set.
3.1.3 Validator Diversity Requirements
To mitigate the centralization risk demonstrated in the Ronin Network exploit (where 4 of 9 validators were controlled by a single entity), the following diversity requirements shall apply:
(a) Entity Diversity: No single legal entity, individual, or affiliated group shall control more than [____]% of the active validator set;
(b) Geographic Diversity: Validators shall be distributed across at least [____] distinct geographic jurisdictions;
(c) Infrastructure Diversity: Validators shall operate across at least [____] distinct cloud providers or self-hosted environments;
(d) Client Diversity: Where applicable, validators shall run at least [____] distinct client implementations; and
(e) Key Storage Diversity: Validator keys shall be secured using at least [____] distinct key management solutions.
3.2 Validator Onboarding and Key Management
3.2.1 Key Generation Ceremony
All validator signing keys shall be generated through a documented key ceremony that:
(a) Uses hardware security modules (HSMs) rated FIPS 140-2 Level 3 or higher, or equivalent;
(b) Is witnessed by at least [____] independent parties;
(c) Produces verifiable key generation transcripts;
(d) Ensures no single party has access to a complete private key (where TSS is used); and
(e) Is documented with video recording and cryptographic attestations.
3.2.2 Key Storage Requirements
| Requirement | Standard |
|---|---|
| Key Storage Medium | ☐ HSM ☐ Secure Enclave ☐ MPC Network ☐ Cold Storage |
| Key Backup Protocol | ☐ Shamir Secret Sharing ☐ Geographic Distribution ☐ Other: [____] |
| Key Rotation Frequency | Every [____] months or upon validator departure |
| Compromised Key Revocation | Within [____] hours of detection |
| Key Access Logging | ☐ Required — Retention period: [____] months |
3.2.3 Validator Operational Requirements
Each validator shall:
(a) Maintain infrastructure uptime of at least [____]% per calendar quarter;
(b) Respond to signing requests within [____] seconds;
(c) Maintain a staking deposit of at least [________________________________] (the "Validator Bond");
(d) Execute key rotation upon [____] days' notice from the Operator or Governance Body;
(e) Participate in at least [____]% of all signing rounds per month;
(f) Submit to annual security assessments of their infrastructure; and
(g) Maintain cyber liability insurance with a minimum coverage of $[________________________________].
3.3 Validator Removal and Slashing
3.3.1 Automatic Slashing Conditions
A validator's bond shall be subject to slashing in the following circumstances:
(a) Signing conflicting or fraudulent messages;
(b) Extended downtime exceeding [____] consecutive hours without notice;
(c) Failure to rotate compromised keys within the required timeframe;
(d) Participation in a transaction that bypasses established governance procedures;
(e) Breach of the confidentiality obligations set forth in Article 12; or
(f) [________________________________].
3.3.2 Slashing Amounts
| Violation | Slashing Percentage | Cooldown Period |
|---|---|---|
| Minor (e.g., downtime) | [____]% of bond | [____] days |
| Major (e.g., unauthorized signing) | [____]% of bond | [____] days |
| Critical (e.g., collusion/fraud) | 100% of bond | Permanent removal |
3.4 Delegation and Permission Controls
To prevent the vulnerability exploited in the Ronin hack (where temporary signing permissions were never revoked):
(a) All delegated signing permissions shall expire automatically after [____] days;
(b) Delegation shall require approval from [____] of [____] multisig signers;
(c) Active delegations shall be publicly visible on-chain;
(d) A delegation registry shall be maintained and reviewed monthly; and
(e) Any delegation exceeding [____] days shall require governance vote renewal.
ARTICLE 4: SECURITY AUDIT REQUIREMENTS
4.1 Mandatory Audit Schedule
The following audits shall be completed and published:
| Audit Type | Frequency | Minimum Auditors | Report Deadline |
|---|---|---|---|
| Full Smart Contract Audit | Before each deployment/upgrade | [____] independent firms | [____] days before deployment |
| Validator Infrastructure Audit | Annually | [____] firm(s) | Within [____] days of engagement |
| Penetration Testing | Semi-annually | [____] firm(s) | Within [____] days of engagement |
| Economic/Mechanism Design Audit | Before launch and upon material changes | [____] firm(s) | [____] days before deployment |
| Operational Security Review | Annually | [____] firm(s) | Within [____] days of engagement |
| Cryptographic Review (if TSS/MPC) | Before launch and upon changes | [____] firm(s) | [____] days before deployment |
4.2 Audit Firm Qualifications
All security audit firms engaged under this Agreement shall:
(a) Have completed at least [____] prior bridge or cross-chain protocol audits;
(b) Maintain professional liability insurance of at least $[________________________________];
(c) Employ auditors with documented expertise in the applicable smart contract language;
(d) Not have any financial interest in the Bridge protocol or its governance token; and
(e) Be approved by the Governance Body or included in the approved auditor list (Schedule B).
4.3 Audit Scope Requirements
Each full smart contract audit shall include, at minimum:
(a) Line-by-line code review of all Bridge Contracts;
(b) Automated analysis using static analyzers, fuzzers, and symbolic execution tools;
(c) Business logic review of cross-chain message verification;
(d) Access control and privilege escalation testing;
(e) Reentrancy, front-running, and MEV vulnerability assessment;
(f) Oracle manipulation and price feed dependency analysis;
(g) Upgrade mechanism and proxy pattern review;
(h) Cross-chain replay attack analysis;
(i) Gas optimization and denial-of-service resilience testing; and
(j) Formal verification of critical functions (where feasible).
4.4 Audit Remediation
4.4.1 All Critical and High severity findings shall be remediated before deployment or within [____] business days of report issuance.
4.4.2 All Medium severity findings shall be remediated within [____] business days or have a documented risk acceptance signed by [____] of [____] multisig signers.
4.4.3 All findings and their resolutions shall be published publicly unless disclosure would create an active security risk, in which case delayed disclosure of no more than [____] days shall be permitted.
4.5 Bug Bounty Program
The Operator shall maintain a continuous bug bounty program with the following parameters:
| Parameter | Requirement |
|---|---|
| Minimum Program Duration | Continuous while Bridge is operational |
| Platform | ☐ Immunefi ☐ HackerOne ☐ Bugcrowd ☐ Self-Hosted ☐ Other: [____] |
| Critical Severity Reward | Up to $[________________________________] or [____]% of TVL (whichever is lesser) |
| High Severity Reward | Up to $[________________________________] |
| Medium Severity Reward | Up to $[________________________________] |
| Low Severity Reward | Up to $[________________________________] |
| Response Time (Acknowledgment) | Within [____] hours |
| Response Time (Triage) | Within [____] business days |
| Safe Harbor Policy | ☐ Included ☐ Not Included |
ARTICLE 5: TVL MONITORING AND CIRCUIT BREAKER MECHANISMS
5.1 TVL Limits and Caps
5.1.1 The Bridge shall implement the following TVL constraints:
| Parameter | Limit |
|---|---|
| Maximum Aggregate TVL | $[________________________________] |
| Maximum TVL per Supported Chain | $[________________________________] |
| Maximum TVL per Asset Type | $[________________________________] |
| TVL Review and Adjustment Frequency | Every [____] months |
| TVL Increase Approval | ☐ Governance Vote ☐ Multisig: [____] of [____] ☐ Automatic with conditions |
5.2 Circuit Breaker Triggers
The Bridge shall implement automated Circuit Breakers that activate upon:
5.2.1 Volume-Based Triggers
(a) Single transaction exceeding $[________________________________] or [____]% of TVL;
(b) Cumulative outflows exceeding $[________________________________] or [____]% of TVL within [____] hours;
(c) Cumulative outflows exceeding $[________________________________] or [____]% of TVL within [____] hours;
(d) Abnormal transaction velocity exceeding [____]x the [____]-day rolling average.
5.2.2 Security-Based Triggers
(a) Detection of known exploit signatures or attack patterns;
(b) Oracle price deviation exceeding [____]% from secondary price feeds;
(c) Validator liveness falling below [____]% of active set;
(d) Unexpected changes to Bridge Contract bytecode or storage;
(e) Governance proposal execution outside normal parameters; or
(f) Detection of flash loan interactions with Bridge Contracts.
5.2.3 Market-Based Triggers
(a) Wrapped asset de-peg exceeding [____]% from underlying asset;
(b) Gas price on any Supported Chain exceeding [____]x the [____]-day average; or
(c) Block reorganization detected on any Supported Chain exceeding [____] blocks.
5.3 Circuit Breaker Response Levels
| Level | Trigger Severity | Response | Auto-Resume |
|---|---|---|---|
| Level 1: Rate Limit | Low | Reduce max transaction size to [____]% of normal | After [____] hours |
| Level 2: Throttle | Medium | Limit total outflows to $[________________________________] per hour | After [____] hours with manual review |
| Level 3: Pause | High | Halt all Bridge operations | Manual resume only: [____] of [____] multisig |
| Level 4: Emergency | Critical | Pause + initiate emergency withdrawal mode | Governance vote required |
5.4 Transaction Delay and Finality
| Parameter | Source Chain → Destination Chain |
|---|---|
| Minimum Confirmation Blocks (Source) | [____] blocks on [________________________________] |
| Minimum Confirmation Blocks (Source) | [____] blocks on [________________________________] |
| Transfer Delay for Large Transactions (> $[____]) | [____] minutes |
| Finality Standard | ☐ Probabilistic ☐ Deterministic ☐ Economic |
| Challenge Period (Optimistic Bridges) | [____] hours |
ARTICLE 6: PROOF OF RESERVES AND ASSET BACKING
6.1 Reserve Requirements
6.1.1 The Bridge shall maintain a reserve ratio of at least [____]% for all wrapped assets at all times (the "Minimum Reserve Ratio"). A ratio of 100% means every wrapped asset is fully backed by a locked asset on the source chain.
6.1.2 The following reserve verification methods shall be implemented:
☐ On-chain Proof of Reserves (automated smart contract verification)
☐ Merkle Tree-based Proof of Reserves (user-verifiable)
☐ Zero-Knowledge Proof of Reserves
☐ Third-party attestation (Certified Public Accountant or equivalent)
☐ Real-time reserve dashboard (publicly accessible)
☐ Other: [________________________________]
6.2 Reserve Reporting
| Report Type | Frequency | Publication Method |
|---|---|---|
| Real-time reserve status | Continuous | On-chain + Dashboard |
| Detailed reserve audit | [____] (monthly/quarterly) | Published report |
| Third-party attestation | [____] (quarterly/annually) | Independent auditor report |
| Discrepancy notification | Immediate upon detection | All channels (see § 7.4) |
6.3 Reserve Shortfall Procedures
In the event the reserve ratio falls below [____]%:
(a) Circuit Breaker Level 3 (Pause) shall activate automatically;
(b) The Operator shall notify the Governance Body within [____] hours;
(c) The Operator shall publish a public disclosure within [____] hours;
(d) The Operator shall restore the Minimum Reserve Ratio within [____] hours or initiate the Emergency Recovery procedures in Article 7; and
(e) An independent investigation shall be commissioned within [____] business days.
ARTICLE 7: INCIDENT RESPONSE AND EXPLOIT RECOVERY
7.1 Incident Classification
| Severity | Description | Response Time | Escalation |
|---|---|---|---|
| P0 — Critical | Active exploit, fund loss imminent or occurring | Immediate (< [____] minutes) | All Parties, law enforcement |
| P1 — High | Vulnerability discovered, no active exploitation | Within [____] hours | Security team, multisig signers |
| P2 — Medium | Anomalous activity, potential threat | Within [____] hours | Security team |
| P3 — Low | Minor issue, no immediate risk | Within [____] business days | Standard ticket |
7.2 Incident Response Team
The Operator shall maintain a dedicated Incident Response Team ("IRT") comprising:
| Role | Responsibility | Contact Method |
|---|---|---|
| Incident Commander | Overall response coordination | [________________________________] |
| Smart Contract Lead | Contract analysis and emergency actions | [________________________________] |
| Validator Operations Lead | Validator coordination and key management | [________________________________] |
| Communications Lead | User and public communications | [________________________________] |
| Legal Counsel | Regulatory notifications, law enforcement liaison | [________________________________] |
| Blockchain Forensics | On-chain investigation and fund tracing | [________________________________] |
7.3 P0 Critical Incident Response Protocol
Upon identification of a P0 Critical incident, the following steps shall be executed:
Phase 1: Containment (0 – [____] minutes)
☐ Activate Circuit Breaker Level 4 (Emergency Pause)
☐ Notify all IRT members via redundant communication channels
☐ Confirm pause state on all Supported Chains
☐ Assess scope of compromise (affected contracts, chains, validators)
☐ Preserve all logs, transaction data, and forensic evidence
Phase 2: Assessment (Within [____] hours)
☐ Determine root cause and attack vector
☐ Identify all affected addresses and transactions
☐ Calculate total funds at risk and funds already lost
☐ Assess whether the vulnerability is ongoing or contained
☐ Engage external security firm for independent assessment
☐ Engage blockchain analytics firm for fund tracing
Phase 3: Remediation (Within [____] hours)
☐ Deploy patched contracts (if applicable) following emergency upgrade procedure
☐ Rotate all potentially compromised validator keys
☐ Revoke all delegated permissions
☐ Implement additional monitoring for related attack patterns
☐ Coordinate with destination chain teams for fund recovery
Phase 4: Recovery and Communication (Within [____] hours)
☐ Issue public post-mortem report
☐ Notify affected users with clear remediation steps
☐ File law enforcement reports (FBI IC3, local authorities)
☐ Notify relevant regulatory bodies as required
☐ Publish compensation plan (if applicable, per Article 8)
☐ Resume operations only upon [____] of [____] multisig approval
7.4 Communication Channels
Incident notifications shall be published through the following channels:
☐ Bridge Protocol Website/Dashboard
☐ Official Twitter/X Account: [________________________________]
☐ Discord Server: [________________________________]
☐ Telegram Channel: [________________________________]
☐ Email Distribution List: [________________________________]
☐ On-chain message (via supported chain event logs)
☐ Status Page: [________________________________]
☐ Other: [________________________________]
7.5 Post-Incident Review
Within [____] days of any P0 or P1 incident, the Operator shall:
(a) Publish a comprehensive post-mortem report including root cause analysis, timeline of events, funds affected, and remediation actions taken;
(b) Commission an independent third-party review of the incident;
(c) Implement all recommended security improvements within [____] days;
(d) Update this Agreement and all related security documentation; and
(e) Present findings to the Governance Body for review and vote.
ARTICLE 8: INSURANCE AND USER FUND PROTECTION
8.1 Insurance Coverage Requirements
The Operator shall obtain and maintain the following insurance coverage:
| Coverage Type | Minimum Coverage | Provider |
|---|---|---|
| Smart Contract Cover | $[________________________________] | [________________________________] |
| Validator/Key Compromise Cover | $[________________________________] | [________________________________] |
| Cyber Liability Insurance | $[________________________________] | [________________________________] |
| Directors & Officers (D&O) | $[________________________________] | [________________________________] |
| Crime/Fidelity Bond | $[________________________________] | [________________________________] |
| Professional Liability (E&O) | $[________________________________] | [________________________________] |
8.1.1 Acceptable insurance providers include:
☐ Traditional insurance carriers (Lloyd's syndicates, specialty cyber insurers)
☐ On-chain insurance protocols (Nexus Mutual, InsurAce, Unslashed Finance)
☐ Captive insurance arrangements
☐ Other: [________________________________]
8.1.2 Total insurance coverage shall represent at least [____]% of the Bridge's average TVL over the preceding [____]-day period.
8.2 User Protection Fund
8.2.1 The Operator shall establish a segregated User Protection Fund (the "Protection Fund") with the following parameters:
| Parameter | Requirement |
|---|---|
| Fund Size | $[________________________________] or [____]% of TVL (whichever is greater) |
| Fund Custodian | [________________________________] |
| Fund Composition | [____]% stablecoins, [____]% ETH/BTC, [____]% governance tokens |
| Replenishment Trigger | When fund falls below [____]% of target |
| Replenishment Source | [____]% of bridge fees allocated to Protection Fund |
| Fund Governance | [____] of [____] multisig with [____]-day timelock |
8.2.2 The Protection Fund shall be used exclusively for:
(a) Compensating users for verified losses resulting from Exploit Events;
(b) Covering costs of emergency security engagements;
(c) Funding bug bounty payments exceeding the standard program budget; and
(d) Other uses approved by Governance Body vote with [____]% quorum.
8.3 User Compensation Framework
In the event of an Exploit Event resulting in user fund losses:
8.3.1 Compensation Priority
| Priority | Class | Compensation Rate |
|---|---|---|
| 1 | Individual users with losses under $[________________________________] | [____]% of verified loss |
| 2 | Individual users with losses under $[________________________________] | [____]% of verified loss |
| 3 | Institutional users and liquidity providers | [____]% of verified loss |
| 4 | Protocol treasuries and DAOs | [____]% of verified loss |
8.3.2 Compensation Sources (in order of application)
(a) Insurance proceeds;
(b) Protection Fund assets;
(c) Operator treasury;
(d) Governance token treasury (subject to governance vote); and
(e) Recovered stolen funds (subject to law enforcement cooperation).
8.3.3 Compensation Timeline
| Milestone | Deadline |
|---|---|
| Claims portal opens | Within [____] days of Exploit Event |
| Verification period | [____] days |
| First compensation distribution | Within [____] days of Exploit Event |
| Final compensation distribution | Within [____] days of Exploit Event |
ARTICLE 9: SMART CONTRACT UPGRADE GOVERNANCE
9.1 Upgrade Categories
| Category | Description | Approval Process | Timelock |
|---|---|---|---|
| Emergency | Active vulnerability fix | [____] of [____] emergency multisig | [____] hours (may be waived) |
| Critical | Security improvement, no active exploit | [____] of [____] multisig + governance signal | [____] hours |
| Standard | Feature addition, optimization | Full governance vote ([____]% quorum, [____]% approval) | [____] days |
| Parameter | Fee changes, limit adjustments | [____] of [____] multisig | [____] hours |
9.2 Upgrade Execution Requirements
Prior to any non-emergency upgrade:
(a) All code changes shall be published for public review at least [____] days before the governance vote;
(b) A completed security audit from an approved auditor shall be published;
(c) The upgrade shall be deployed and tested on all applicable testnets;
(d) A rollback plan shall be documented and tested;
(e) The upgrade timelock shall have elapsed without cancellation; and
(f) The Operator shall publish a detailed changelog and migration guide.
9.3 Emergency Upgrade Safeguards
To prevent abuse of emergency upgrade authority:
(a) Emergency upgrades shall be limited to [____] per calendar year before requiring governance review;
(b) Each emergency upgrade shall trigger an automatic post-deployment audit within [____] days;
(c) The emergency multisig signers shall be subject to removal by governance vote;
(d) All emergency upgrade transactions shall be publicly logged with justification; and
(e) Emergency upgrades that are not subsequently ratified by governance within [____] days shall be automatically rolled back (where technically feasible).
ARTICLE 10: RELAYER AND ORACLE SECURITY
10.1 Relayer Requirements
If the Bridge uses relayer infrastructure for cross-chain message passing:
(a) Relayer software shall be open-source and audited;
(b) Relayer operators shall maintain a minimum bond of [________________________________];
(c) Relayer messages shall be independently verifiable by any third party;
(d) The Bridge shall support at least [____] independent relayer implementations;
(e) Relayer liveness failures shall trigger automatic failover within [____] seconds; and
(f) Relayer fee markets shall be transparent and manipulation-resistant.
10.2 Oracle Dependencies
If the Bridge relies on external oracle feeds:
| Parameter | Requirement |
|---|---|
| Primary Oracle Provider | [________________________________] |
| Secondary Oracle Provider | [________________________________] |
| Price Deviation Threshold | [____]% between primary and secondary |
| Staleness Threshold | [____] minutes/blocks |
| Oracle Failure Fallback | ☐ Pause bridge ☐ Use TWAP ☐ Manual override: [____] of [____] multisig |
| Oracle Manipulation Protection | ☐ TWAP ☐ Median of [____] sources ☐ Other: [________________________________] |
ARTICLE 11: REGULATORY COMPLIANCE
11.1 Licensing and Registration
The Operator represents and warrants that it:
☐ Holds all licenses and registrations required in its jurisdiction of incorporation
☐ Has obtained legal opinions regarding the regulatory status of the Bridge in the following jurisdictions: [________________________________]
☐ Complies with applicable anti-money laundering (AML) requirements
☐ Complies with applicable know-your-customer (KYC) requirements where mandated
☐ Has registered with applicable financial intelligence units
☐ Complies with EU MiCA requirements (if serving EU users)
☐ Complies with applicable U.S. federal and state requirements (if serving U.S. users)
11.2 Sanctions Compliance
(a) The Operator shall screen all wallet addresses against OFAC SDN List, EU Consolidated Sanctions List, and UN Security Council Sanctions List;
(b) The Operator shall block transactions involving sanctioned addresses;
(c) The Operator shall maintain sanctions compliance records for [____] years; and
(d) The Operator shall update sanctions screening databases within [____] hours of publication.
11.3 Transaction Monitoring
The Operator shall implement transaction monitoring systems capable of:
(a) Identifying transactions associated with known exploit addresses;
(b) Detecting mixing service and tumbler interactions;
(c) Flagging transactions from/to high-risk jurisdictions;
(d) Generating suspicious activity reports where required by law; and
(e) Cooperating with law enforcement requests subject to applicable legal process.
11.4 Data Protection
The Operator shall comply with all applicable data protection laws, including:
☐ GDPR (EU/EEA users)
☐ CCPA/CPRA (California users)
☐ Other applicable data protection laws: [________________________________]
ARTICLE 12: CONFIDENTIALITY
12.1 Each Party shall maintain the confidentiality of all non-public information received from any other Party in connection with this Agreement, including but not limited to: security architecture details, validator key management procedures, incident response playbooks, and vulnerability reports.
12.2 Confidential information may be disclosed:
(a) To the extent required by applicable law, regulation, or legal process;
(b) To professional advisors bound by confidentiality obligations;
(c) To security auditors engaged under Article 4;
(d) To law enforcement in connection with an Exploit Event; or
(e) With the prior written consent of the disclosing Party.
12.3 The confidentiality obligations in this Article shall survive termination of this Agreement for a period of [____] years.
ARTICLE 13: REPRESENTATIONS AND WARRANTIES
13.1 Operator Representations
The Operator represents and warrants that:
(a) It has the legal authority and capacity to enter into this Agreement;
(b) The Bridge Contracts have been audited by at least [____] independent security firms prior to deployment;
(c) No known Critical Vulnerabilities exist in the currently deployed Bridge Contracts;
(d) The validator set composition meets the diversity requirements set forth in Section 3.1.3;
(e) All insurance coverage described in Article 8 is current and in full force and effect;
(f) It has disclosed all prior security incidents and audit findings to the Provider and Governance Body;
(g) It maintains adequate operational security practices, including but not limited to multi-factor authentication, privileged access management, and security awareness training; and
(h) It has not been the subject of any regulatory enforcement action related to digital asset operations.
13.2 Provider Representations
The Provider represents and warrants that:
(a) It possesses the technical expertise and resources to perform its obligations under this Agreement;
(b) It holds all certifications and qualifications described in its engagement materials;
(c) Its personnel have undergone background checks and security clearance appropriate to their role; and
(d) It maintains professional liability insurance adequate to cover its obligations hereunder.
ARTICLE 14: LIMITATION OF LIABILITY AND DISCLAIMERS
14.1 AGGREGATE LIABILITY CAP. The aggregate liability of each Party under this Agreement shall not exceed the greater of: (a) $[________________________________]; or (b) [____]% of the Bridge's average TVL over the [____]-day period preceding the claim.
14.2 EXCLUSIONS FROM CAP. The liability cap in Section 14.1 shall not apply to:
(a) Fraud, willful misconduct, or gross negligence;
(b) Breach of confidentiality obligations under Article 12;
(c) Indemnification obligations under Section 14.4;
(d) Losses resulting from unauthorized use of emergency upgrade authority; or
(e) Regulatory fines or penalties.
14.3 DISCLAIMER OF WARRANTIES. EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE BRIDGE IS PROVIDED "AS IS" AND "AS AVAILABLE." THE OPERATOR MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. THE OPERATOR DOES NOT WARRANT THAT THE BRIDGE WILL BE UNINTERRUPTED, ERROR-FREE, OR COMPLETELY SECURE.
14.4 INDEMNIFICATION. Each Party (the "Indemnifying Party") shall indemnify, defend, and hold harmless the other Parties and their respective officers, directors, employees, and agents from and against any and all claims, damages, losses, liabilities, and expenses (including reasonable attorneys' fees) arising out of or relating to: (a) the Indemnifying Party's breach of this Agreement; (b) the Indemnifying Party's negligence or willful misconduct; or (c) any third-party claim arising from the Indemnifying Party's performance of its obligations hereunder.
ARTICLE 15: TERM AND TERMINATION
15.1 Term. This Agreement shall commence on the Effective Date and continue for a period of [____] years (the "Initial Term"), unless earlier terminated in accordance with this Article. Thereafter, this Agreement shall automatically renew for successive [____]-year periods (each a "Renewal Term") unless either Party provides written notice of non-renewal at least [____] days prior to the expiration of the then-current term.
15.2 Termination for Cause. Any Party may terminate this Agreement upon [____] days' written notice if:
(a) Another Party materially breaches this Agreement and fails to cure such breach within [____] days of receiving written notice;
(b) Another Party becomes insolvent, files for bankruptcy, or ceases operations;
(c) A regulatory order prohibits the continued operation of the Bridge; or
(d) An unresolved P0 Critical incident renders the Bridge inoperable for more than [____] consecutive days.
15.3 Termination for Convenience. Any Party may terminate this Agreement for convenience upon [____] days' written notice.
15.4 Effect of Termination.
Upon termination:
(a) The Operator shall provide users at least [____] days' notice to withdraw all bridged assets;
(b) The Operator shall cease accepting new bridge transactions;
(c) All wrapped assets shall remain redeemable for the underlying locked assets for a minimum of [____] days following termination;
(d) The Protection Fund shall remain accessible for verified claims for [____] days following termination;
(e) All confidentiality, indemnification, and liability provisions shall survive termination; and
(f) The Operator shall provide a final Proof of Reserves attestation.
ARTICLE 16: DISPUTE RESOLUTION
16.1 Negotiation. The Parties shall first attempt to resolve any dispute arising under this Agreement through good-faith negotiation for a period of [____] days.
16.2 Mediation. If negotiation is unsuccessful, the Parties shall submit the dispute to mediation administered by [________________________________] in accordance with its applicable rules.
16.3 Arbitration. If mediation is unsuccessful within [____] days, the dispute shall be resolved by binding arbitration administered by:
☐ American Arbitration Association (AAA)
☐ JAMS
☐ International Chamber of Commerce (ICC)
☐ London Court of International Arbitration (LCIA)
☐ Singapore International Arbitration Centre (SIAC)
☐ Other: [________________________________]
16.4 The arbitration shall be conducted in [________________________________] (city/country), in the [________________________________] language, before [____] arbitrator(s).
16.5 On-Chain Dispute Resolution. The Parties may additionally agree to utilize on-chain dispute resolution mechanisms, including:
☐ Kleros
☐ Aragon Court
☐ Other: [________________________________]
16.6 Governing Law. This Agreement shall be governed by and construed in accordance with the laws of [________________________________], without regard to its conflict of law provisions.
ARTICLE 17: GENERAL PROVISIONS
17.1 Entire Agreement. This Agreement, together with all Schedules and Exhibits attached hereto, constitutes the entire agreement between the Parties with respect to the subject matter hereof and supersedes all prior agreements, understandings, and negotiations.
17.2 Amendments. This Agreement may not be amended except by a written instrument signed by all Parties or, where applicable, approved by governance vote with [____]% quorum and [____]% approval.
17.3 Assignment. No Party may assign its rights or obligations under this Agreement without the prior written consent of the other Parties, except in connection with a merger, acquisition, or sale of substantially all of the assigning Party's assets.
17.4 Severability. If any provision of this Agreement is held invalid or unenforceable, the remaining provisions shall remain in full force and effect.
17.5 Waiver. No failure or delay by any Party in exercising any right under this Agreement shall operate as a waiver thereof.
17.6 Notices. All notices required or permitted under this Agreement shall be in writing and delivered to the addresses set forth above, with copies sent via email and, where applicable, via on-chain message to the designated multisig address.
17.7 Force Majeure. No Party shall be liable for any failure or delay in performance due to causes beyond its reasonable control, including but not limited to: blockchain network congestion, consensus failures, hard forks, acts of government, natural disasters, or cyberattacks on underlying blockchain infrastructure (but excluding cyberattacks specifically targeting the Bridge).
17.8 Counterparts. This Agreement may be executed in counterparts, each of which shall be deemed an original, and all of which together shall constitute one and the same instrument. Digital signatures, including but not limited to cryptographic wallet signatures, shall be deemed valid and binding.
SIGNATURES
BRIDGE OPERATOR:
| Field | Details |
|---|---|
| Signature | [________________________________] |
| Printed Name | [________________________________] |
| Title | [________________________________] |
| Date | [__/__/____] |
| Wallet Address (if signing on-chain) | [________________________________] |
SECURITY PROVIDER:
| Field | Details |
|---|---|
| Signature | [________________________________] |
| Printed Name | [________________________________] |
| Title | [________________________________] |
| Date | [__/__/____] |
| Wallet Address (if signing on-chain) | [________________________________] |
GOVERNANCE AUTHORITY:
| Field | Details |
|---|---|
| Signature / Multisig Execution Hash | [________________________________] |
| Authorized Representative | [________________________________] |
| Title | [________________________________] |
| Date | [__/__/____] |
| Governance Proposal ID | [________________________________] |
SCHEDULE A: SUPPORTED CHAINS AND BRIDGE CONTRACTS
| Chain Name | Chain ID | Bridge Contract Address | Deployment Date | Last Audit Date | Auditor |
|---|---|---|---|---|---|
| [________________________________] | [____] | [________________________________] | [__/__/____] | [__/__/____] | [________________________________] |
| [________________________________] | [____] | [________________________________] | [__/__/____] | [__/__/____] | [________________________________] |
| [________________________________] | [____] | [________________________________] | [__/__/____] | [__/__/____] | [________________________________] |
| [________________________________] | [____] | [________________________________] | [__/__/____] | [__/__/____] | [________________________________] |
| [________________________________] | [____] | [________________________________] | [__/__/____] | [__/__/____] | [________________________________] |
SCHEDULE B: APPROVED SECURITY AUDITORS
| Firm Name | Specialization | Website | Prior Bridge Audits |
|---|---|---|---|
| [________________________________] | [________________________________] | [________________________________] | [____] |
| [________________________________] | [________________________________] | [________________________________] | [____] |
| [________________________________] | [________________________________] | [________________________________] | [____] |
SCHEDULE C: VALIDATOR SET
| Validator ID | Operating Entity | Jurisdiction | Infrastructure Provider | Bond Amount | Onboarding Date |
|---|---|---|---|---|---|
| [________________________________] | [________________________________] | [________________________________] | [________________________________] | [________________________________] | [__/__/____] |
| [________________________________] | [________________________________] | [________________________________] | [________________________________] | [________________________________] | [__/__/____] |
| [________________________________] | [________________________________] | [________________________________] | [________________________________] | [________________________________] | [__/__/____] |
| [________________________________] | [________________________________] | [________________________________] | [________________________________] | [________________________________] | [__/__/____] |
| [________________________________] | [________________________________] | [________________________________] | [________________________________] | [________________________________] | [__/__/____] |
SCHEDULE D: INCIDENT RESPONSE CONTACTS
| Role | Name | Phone | Signal/Telegram | Backup Contact | |
|---|---|---|---|---|---|
| Incident Commander | [________________________________] | [________________________________] | [________________________________] | [________________________________] | [________________________________] |
| Smart Contract Lead | [________________________________] | [________________________________] | [________________________________] | [________________________________] | [________________________________] |
| Validator Ops Lead | [________________________________] | [________________________________] | [________________________________] | [________________________________] | [________________________________] |
| Communications Lead | [________________________________] | [________________________________] | [________________________________] | [________________________________] | [________________________________] |
| Legal Counsel | [________________________________] | [________________________________] | [________________________________] | [________________________________] | [________________________________] |
| Forensics Lead | [________________________________] | [________________________________] | [________________________________] | [________________________________] | [________________________________] |
SCHEDULE E: INSURANCE POLICIES
| Policy Type | Carrier/Protocol | Policy Number | Coverage Amount | Deductible | Expiration Date |
|---|---|---|---|---|---|
| [________________________________] | [________________________________] | [________________________________] | $[________________________________] | $[________________________________] | [__/__/____] |
| [________________________________] | [________________________________] | [________________________________] | $[________________________________] | $[________________________________] | [__/__/____] |
| [________________________________] | [________________________________] | [________________________________] | $[________________________________] | $[________________________________] | [__/__/____] |
SOURCES AND REFERENCES
- SEC Staff Accounting Bulletin No. 122 — effective January 30, 2025; rescinds the safeguarding guidance formerly contained in SAB 121.
This Cross-Chain Bridge Security Agreement template is provided by ezel.ai for informational purposes only. It does not constitute legal advice. Cross-chain bridge operations involve significant technical, financial, and regulatory risks. All parties should seek independent legal counsel, retain qualified blockchain security professionals, and ensure compliance with all applicable laws and regulations before executing this agreement.
About this template
- Last updated
- July 19, 2026
- Jurisdiction
- All states
- Category
- Contracts & Agreements
Legal authority
- NIST Cybersecurity Framework (CSF) 2.0
- ISO/IEC 27001:2022 - Information Security Management
- ISO/IEC 27017:2015 - Cloud Security Controls
- NIST SP 800-53 Rev. 5 - Security and Privacy Controls
- EU Markets in Crypto-Assets Regulation (MiCA) - Regulation (EU) 2023/1114
- U.S. Infrastructure Investment and Jobs Act § 80603 (Digital Asset Reporting)
- Financial Action Task Force (FATF) Updated Guidance on Virtual Assets (2021)
- SEC Staff Accounting Bulletin No. 122 (SAB 122) - Rescission of SAB 121 safeguarding guidance
A contract is a written record of what two or more parties agreed to and what happens if someone does not follow through. Clear language, defined terms, and clean signature blocks keep disputes small and enforceable. The most common mistakes in contracts come from vague promises, missing details about timing or payment, and skipping standard protective clauses like governing law and dispute resolution.
Not legal advice
This template is provided for informational purposes. We recommend having an attorney review any legal document before signing, especially for high-value or complex matters.
Checked against the law it cites
The statutes this template relies on are listed under Legal authority.
Draft your Cross-Chain Bridge Security Agreement in the editor
Answer a few questions, let the AI editor draft each section from your answers, review it, and download Word and PDF. $99 one time, or $249 per month for every document and every Ezel app.