Security & Audits - Relay

Trust Model

Relay Settlement is designed to be non-custodial — no single entity can unilaterally access user funds. Each component has different trust properties:

Depository

The Depository contracts are the most trust-minimized component:

The Depository’s security relies on the Allocator’s signing authority. If the Allocator is compromised, it could authorize unauthorized withdrawals — but it cannot create balances that don’t exist on the Hub.

Oracle

The Oracle determines which deposits and fills are considered valid:

The Oracle is the main trust-bearing component. A compromised unauthorized signer cannot submit false attestations. A compromised authorized oracle signer, or a compromised threshold behind an oracle signer contract, could incorrectly attribute balances, but the damage is bounded by the Allocator’s balance checks and the Security Council’s ability to halt all withdrawal proof generation.

Hub

The Hub is a deterministic smart contract on the Relay Chain:

Allocator

The Allocator controls withdrawal authorization:

Security Council

The Security Council is a multisig that governs the Allocator. Any single member can immediately suspend an approved withdrawer such as RelayAllocatorSpender. In the current deployment, that halts new withdrawal proof generation because withdrawals are routed through that contract. Structural changes (replacing the Allocator, changing membership) require a supermajority. See the full Security Council page for details on tiered thresholds and scope.

Audits

The protocol has been audited by leading security firms:

Date Scope Auditor Report
February 2025 Relay Depository (EVM) Spearbit View Report
June 2025 Relay Depository (EVM) Certora View Report
November 2025 Settlement Protocol Zellic View Report
April 2026 Oracle Zellic View Report

Bug Bounty

Details of the Relay bug bounty program can be found on the Bug Bounties page.

Source Code

All protocol contracts are open source: