# \[BIP-726\] Adopt The SEAL Safe Harbor Agreement

**URL:** <https://forum.balancer.fi/t/bip-726-adopt-the-seal-safe-harbor-agreement/6087>\
**Category:** General Proposal\
**Created:** [October 14, 2024, 3:29pm UTC](https://forum.balancer.fi/t/bip-726-adopt-the-seal-safe-harbor-agreement/6087 "2024-10-14T15:29:04Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![samczsun](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.balancer.fi/samczsun/32/3416_2.png) [@samczsun](https://forum.balancer.fi/u/samczsun)\
**Post date:** [October 14, 2024, 3:29pm UTC](https://forum.balancer.fi/t/bip-726-adopt-the-seal-safe-harbor-agreement/6087/1 "2024-10-14T15:29:04Z")

</div>

Category: Governance  
Type: General Proposal  
Authors: Skylock.xyz, Mike B (@Mike_B), samczsun (@samczsun)

* * *

**Disclaimer: I am submitting this proposal _solely_ in my personal capacity**

* * *

PR with Payload

> <https://github.com/BalancerMaxis/multisig-ops/pull/1433>
>
> \- Adopt SEAL Whitehat Safe Harbor Agreement on chain at \`0x8f72fcf695523A6FC7DD9…7EafDd7A083c386b7b6\`. Calling \`adoptSafeHarbor\` with the these parameters \[balancerAdoptionParameters.json\](https://github.com/user-attachments/files/17383766/balancerAdoptionParameters.json)

## Introduction

This proposal outlines Balancer DAO’s adoption of the SEAL ([Security Alliance](https://www.securityalliance.org/)) Whitehat Safe Harbor Agreement (“Safe Harbor Agreement”). By adopting the Safe Harbor Agreement, Balancer improves the security of its on-chain assets by allowing whitehats to intervene during active exploits to save protocol funds.

### What is the Safe Harbor Agreement?

The Safe Harbor Agreement addresses a critical need in crypto: enabling whitehats to intervene during active exploits when traditional responsible disclosure procedures are not feasible. Key aspects of the agreement include:

- Encouraging Whitehats to Protect the Protocol: By adopting Safe Harbor, Balancer incentivizes whitehats to step in and protect the protocol during active exploits by limiting their legal exposure.
- Intervention Only During Active Exploits: Whitehats are authorized to act only when there is an immediate or ongoing exploit that threatens the protocol. This agreement applies only to critical situations where responsible disclosure procedures would not save funds due to the urgency of the exploit, and it is not intended for routine security testing or vulnerability reporting.
- Mandatory Return of Rescued Funds: Under the terms of the Safe Harbor, whitehats are required to return all rescued assets to a pre-designated recovery address controlled by the protocol within 72 hours of recovering them. This ensures that recovered funds are quickly secured, preventing delay or potential loss.
- Clear Guidelines and Legal Protection: The agreement establishes strict rules for how whitehats must operate during an exploit, ensuring recovery efforts are conducted professionally and safely, minimizing the risk of mistakes or further damage to the protocol. By adhering to these guidelines, whitehats can limit their potential legal exposure, allowing them to act in good faith without fear of liability.
- Incentivized Rescue Efforts: To motivate whitehats to act during critical situations, the agreement offers a bounty system similar to a bug bounty. Whitehats are rewarded with a percentage of the recovered assets, up to a predefined cap, for their successful interventions.

For more information, check out the Safe Harbor Agreement [here](https://github.com/security-alliance/safe-harbor/blob/main/documents/agreement.pdf).

* * *

## Rationale

Balancer V2 initially implemented an emergency pause mechanism, which was active for the first three months after deployment. Once this period ended, the protocol became immutable and could no longer be paused, limiting the ability to respond to active exploits through traditional methods.

This immutability makes it necessary to have a mechanism that allows rapid response and asset recovery during emergencies. The Safe Harbor Agreement addresses this need by empowering whitehats to act immediately during an exploit, providing a swift and structured recovery process.

Benefits of adopting the Safe Harbor Agreement include:

- Agile Defense Against Exploits: Whitehats are authorized to intervene as soon as an active exploit is detected, enabling them to respond faster than traditional methods. This ensures that Balancer is protected against threats even without the ability to halt the protocol. Immediate action reduces the window for malicious actors to cause harm, minimizes damages, and accelerates the recovery of assets during critical moments.
- Clarified Rescue Process: The agreement ensures that every step, from intervention to fund recovery, is predetermined and streamlined. Whitehats know exactly where to send recovered funds, preventing chaotic negotiations or rushed decisions during an exploit. This clarity ensures efficient, decisive action when it matters most.
- Clear Financial Boundaries: The predefined bounty, capped at the same amount as Balancer’s bug bounty, ensures that whitehats are incentivized without creating conflicting priorities between exploit intervention and standard vulnerability disclosure. By setting expectations upfront, it eliminates post-exploit negotiations, ensuring funds are returned promptly without attempts to change the reward amount, keeping the process fair and transparent.
- Aligning with Industry Best Practices: By adopting the Safe Harbor Agreement, Balancer aligns itself with leading security practices across the industry, reinforcing its commitment to staying at the forefront of protocol security.

Adoption of the agreement complements audits by providing an additional layer of security, ensuring that the protocol is better prepared to respond to active threats.

* * *

## Adoption Details

Balancer DAO will adopt the agreement with the following parameters. For a full description of these adoption details, review the [Safe Harbor for Protocols](https://www.notion.so/securityalliance/Safe-Harbor-for-Protocols-76a61d6bfc2747b9a2c0263092e8a51f?pvs=4#05b2a7f1cecb47cf8e977d7cad21dda2) document.

1. Asset Recovery Address: Addresses controlled by Balancer, which recovered funds will be returned to in the event of a hack

| Chain | Address |
| --- | --- |
| Ethereum | 0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f |
| Arbitrum | 0xaF23DC5983230E9eEAf93280e312e57539D098D0 |
| Avax | 0x17b11FF13e2d7bAb2648182dFD1f1cfa0E4C7cf3 |
| Base | 0xC40DCFB13651e64C8551007aa57F9260827B6462 |
| Fraxtal | 0x4f22C2784Cbd2B24a172566491Ee73fee1A63c2e |
| Gnosis | 0x2a5AEcE0bb9EfFD7608213AE1745873385515c18 |
| Mode | 0x4f22C2784Cbd2B24a172566491Ee73fee1A63c2e |
| Optimism | 0x043f9687842771b3dF8852c1E9801DCAeED3f6bc |
| Polygon | 0xeE071f4B516F69a1603dA393CdE8e76C40E5Be85 |
| zkEVM | 0x2f237e7643a3bF6Ef265dd6FCBcd26a7Cc38dbAa |

1. Scope: List of all on-chain assets protected under Safe Harbor

| Chain | Name | Address |
| --- | --- | --- |
| Ethereum | Vault | 0xBA12222222228d8Ba445958a75a0704d566BF2C8 |
| Arbitrum | Vault | 0xBA12222222228d8Ba445958a75a0704d566BF2C8 |
| Avax | Vault | 0xBA12222222228d8Ba445958a75a0704d566BF2C8 |
| Base | Vault | 0xBA12222222228d8Ba445958a75a0704d566BF2C8 |
| Fraxtal | Vault | 0xBA12222222228d8Ba445958a75a0704d566BF2C8 |
| Gnosis | Vault | 0xBA12222222228d8Ba445958a75a0704d566BF2C8 |
| Mode | Vault | 0xBA12222222228d8Ba445958a75a0704d566BF2C8 |
| Optimism | Vault | 0xBA12222222228d8Ba445958a75a0704d566BF2C8 |
| Polygon | Vault | 0xBA12222222228d8Ba445958a75a0704d566BF2C8 |
| zkEVM | Vault | 0xBA12222222228d8Ba445958a75a0704d566BF2C8 |

1. Contact Details: Designated security contact for Balancer

- Name: Mike B - Strategy
- Contact Information: Telegram: Mikeisballin

1. Bounty Terms: Predetermined rewards for successful whitehats that protect protocol funds

- Bounty Percentage: 10% of recovered funds.
- Bounty Cap (USD): $1,000,000.
- Retainable: False
  - This means that whitehats cannot retain their bounty directly from the recovered assets. Instead, all rescued funds must be returned to the protocol’s designated asset recovery address, and the bounty will be paid out separately afterwards.

- Identity Verification: Named
  - Whitehats must provide their full legal name. This requirement ensures compliance with legal obligations and is similar to the identity verification standards seen in traditional bug bounty programs.

- Diligence Requirements: KYC & Global Sanction Verification
  - Balancer requires all eligible whitehats to undergo Know Your Customer (KYC) verification and be screened against global sanctions lists, including OFAC, UK, and EU regulations. This process ensures that all bounty recipients are compliant with legal and regulatory standards before qualifying for payment.

* * *

## Implementation Plan

1. Register Agreement On-Chain:

2. Security Team Adoption:

3. Update Terms of Service:

4. Communicate Adoption:

* * *

## Conclusion

Adopting the SEAL Whitehat Safe Harbor Agreement equips Balancer with a rapid response mechanism for active exploits, enabling whitehats to step in effectively when needed most. The agreement provides clear guidelines for action, increasing the protection of user funds and demonstrating Balancer’s commitment to proactive security.

* * *

## References

- SEAL Whitehat Safe Harbor Agreement: [GitHub Repository](https://github.com/security-alliance/safe-harbor)
- SEAL Whitehat Safe Harbor Agreement Overview: [Notion](https://securityalliance.notion.site/SEAL-Whitehat-Safe-Harbor-Agreement-dbdccd84e279405d89156ff80f83fa01?pvs=74)
- Balancer Bug Bounty Program: [Immunefi Bug Bounty Details](https://immunefi.com/bug-bounty/balancer/information/)

* * *

The Safe Harbor Agreement and all whitehat actions will abide by Balancer DAO’s Accountability Guidelines. Please note that a final compliance and legal review of the agreement is still pending and will be completed before the proposal’s on-chain adoption.

Please share your thoughts and feedback in the discussion below before the proposal moves to a formal vote.

---

_[View the full topic](https://forum.balancer.fi/t/bip-726-adopt-the-seal-safe-harbor-agreement/6087)._
