# Security Layer / Circuit Breaker for Smart Contracts

By [msfew](https://paragraph.com/@msfew) · 2024-05-04

---

> [![User Avatar](https://storage.googleapis.com/papyrus_images/d0b3953035b71c81bf8e954eae4e52e892de67f412340a2ffdb027cc1fb91a8d.jpg)](https://twitter.com/ProofOfTrack)
> 
> [Proof Of Track](https://twitter.com/ProofOfTrack)
> 
> [@ProofOfTrack](https://twitter.com/ProofOfTrack)
> 
> [![Twitter Logo](https://paragraph.com/editor/twitter/logo.png)](https://twitter.com/ProofOfTrack/status/1786627705393619293)
> 
> The security of smart contracts can be enhanced not just with auditors and bounty platforms, but also by adding ![✨](https://abs-0.twimg.com/emoji/v2/72x72/2728.png) Circuit Breaker as extra security layer ![✨](https://abs-0.twimg.com/emoji/v2/72x72/2728.png).  
>   
> Find out more about Circuit Breakers and security projects for on-chain smart contracts in the thread below. ![🧵](https://abs-0.twimg.com/emoji/v2/72x72/1f9f5.png)![⬇️](https://abs-0.twimg.com/emoji/v2/72x72/2b07.png)
> 
> ![](https://storage.googleapis.com/papyrus_images/f6b46d573f8d3f7e8a677944d1f78b8e386c230c34e54b1c3f7bca4d8a440e4f.jpg)
> 
>  [![Like Icon](https://paragraph.com/editor/twitter/heart.png) 1](https://twitter.com/ProofOfTrack/status/1786627705393619293)[
> 
> 12:23 AM • May 4, 2024
> 
> ](https://twitter.com/ProofOfTrack/status/1786627705393619293)

The security of smart contracts can be enhanced not just with auditors and bounty platforms, but also by adding ✨ Circuit Breaker as extra security layer ✨.

Find out more about Circuit Breakers and security projects for on-chain smart contracts in the thread below. 🧵⬇️

![](https://storage.googleapis.com/papyrus_images/248edb71530d19b3ce6abd19a085f3fcadece3033be36b74e3f6f61add17f3b9.png)

* * *

Why Circuit Breakers for Smart Contracts?

> Hacks in DeFi usually happens immediately (hacker transfer all funds in 1 tx).

> When team puts thru recovery plan with governance, it is too late.

> “DeFi Protocols won't have ~30% daily TVL drawdowns unless hacked” (by @MeirBank)

* * *

Zerem: DeFi Circuit Breaker by @high\_byte

Zerem secures protocols by thresholding the transfer of large funds in temporary vault, to secure the protocol if immediate failure happens.

[![User Avatar](https://storage.googleapis.com/papyrus_images/91d0aee9b1975dee8b0bb46d60d1627655a705e9b89e2fb9e2249737604eb432.jpg)](https://twitter.com/high_byte)

[high\_byte](https://twitter.com/high_byte)

[@high\_byte](https://twitter.com/high_byte)

[![Twitter Logo](https://paragraph.com/editor/twitter/logo.png)](https://twitter.com/high_byte/status/1579631130621673474)

Proud to present Zerem, a plug-and-play security layer for dApps  
  
Perfect for those darn bridges!! but works for any dApp.  
  
GRATIS Y LIBRE  
de [@ETHGlobal](https://twitter.com/ETHGlobal) Bogota  
  
a [@high\_byte](https://twitter.com/high_byte) & [@0xMonia](https://twitter.com/0xMonia) creation  
  
Feel libre to contract for inquiries (gratis)  
[github.com/hananbeer/zerem](https://t.co/a1wfjw9EBk)

[![User Avatar](https://storage.googleapis.com/papyrus_images/d654d9e437448280969542bdb0b9f8d210ca7d00bafe320fad7b7052be59500f.jpg)](https://twitter.com/0xMonia)

[0xMonia](https://twitter.com/0xMonia)

[@0xMonia](https://twitter.com/0xMonia)

[![Twitter Logo](https://paragraph.com/editor/twitter/logo.png)](https://twitter.com/0xMonia/status/1579503517601255425)

Have a look at the ultimate security plugin [](https://twitter.com/high_byte)[@high\_byte](https://twitter.com/high_byte) and [@0xMonia](https://twitter.com/0xMonia) wrote for [#ETHBogota](https://twitter.com/hashtag/ETHBogota). This just might save ur next project from getting drained!  
[github.com/hananbeer/zerem](https://t.co/sU0kSfbSvs)  
  
ps: @high\_byte had to deliver ramen and we missed the judges lmao

 [![Like Icon](https://paragraph.com/editor/twitter/heart.png) 8](https://twitter.com/high_byte/status/1579631130621673474)[

7:33 PM • Oct 10, 2022

](https://twitter.com/high_byte/status/1579631130621673474)

* * *

ERC-7265: Circuit Breaker by @MeirBank, @Diyahir, @tcb\_00, @real\_philogy

ERC-7265 standardizes a circuit breaker protecting onchain protocol, with highly customized rate limit parameters per asset.

[![User Avatar](https://storage.googleapis.com/papyrus_images/01d65d60ac269288f1b507be3cf3ef3da5c9e0b12af2fb0f878ca9b6e112a52b.png)](https://twitter.com/0xMeir)

[Meir](https://twitter.com/0xMeir)

[@0xMeir](https://twitter.com/0xMeir)

[![Twitter Logo](https://paragraph.com/editor/twitter/logo.png)](https://twitter.com/0xMeir/status/1675851684386570240)

1/ Announcing ERC 7265: Circuit Breaker  
  
We are fixing the biggest problem with DeFi Security - lack of response time to mitigate hacks.  
  
Built by [@Diyahir](https://twitter.com/Diyahir) @tcb\_00 [@real\_philogy](https://twitter.com/real_philogy)  
[

![](https://storage.googleapis.com/papyrus_images/c9f82b317bac2caa4c63454f44200decd34f5fb0d774fb25ee6206c5fbc7e0ce.jpg)

github.com

Add EIP: Circuit Breaker by diyahir · Pull Request #7265 · ethereum/EIPs
------------------------------------------------------------------------

This standard outlines a smart contract interface for a Circuit Breaker that triggers a temporary halt on protocol-wide token outflows when a threshold is exceeded for a predefined metric. This cir...





](https://t.co/4KQDYEK2H7)

 [![Like Icon](https://paragraph.com/editor/twitter/heart.png) 278](https://twitter.com/0xMeir/status/1675851684386570240)[

7:59 AM • Jul 3, 2023

](https://twitter.com/0xMeir/status/1675851684386570240)

* * *

Besides the above purely onchain circuit breakers, we also see some novel implementations leveraging the technology of restaking by @EigenLayer or ZKP. 👀

* * *

ODIN: Pause dapps before malicious tx is executed by @blocksek, @zk\_asv

ODIN is a security service that uses EigenLayer to bond block builders to follow the rules of ODIN.

[![User Avatar](https://storage.googleapis.com/papyrus_images/81b69d363b03ecb856ba4103d0e33324f10a37a1a533462240b5b298d3281e84.jpg)](https://twitter.com/blocksek)

[Anto](https://twitter.com/blocksek)

[@blocksek](https://twitter.com/blocksek)

[![Twitter Logo](https://paragraph.com/editor/twitter/logo.png)](https://twitter.com/blocksek/status/1764483893846052996)

We built ODIN [@EthereumDenver](https://twitter.com/EthereumDenver) , it’s a security service that uses [@eigenlayer](https://twitter.com/eigenlayer) to bond block builders to follow the rules of ODIN , i.e protocol invariants like x \* y = k is never violated by a transaction. It was an amazing experience hacking with [@zk\_asv](https://twitter.com/zk_asv)

[![User Avatar](https://storage.googleapis.com/papyrus_images/17106b2a1df5f340e366b4dec801fe31e79e03f408e1682975be912f9f817c66.jpg)](https://twitter.com/eigenlayer)

[EigenCloud](https://twitter.com/eigenlayer)

[@eigenlayer](https://twitter.com/eigenlayer)

[![Twitter Logo](https://paragraph.com/editor/twitter/logo.png)](https://twitter.com/eigenlayer/status/1764477970343735383)

Congratulations to our very own Anup and Anto for winning First Place at Main Stage.  
  
Check out their project here: [devfolio.co/projects/odin-…](https://t.co/Osa6YmPc9d)  
  
![🏗️](https://abs-0.twimg.com/emoji/v2/72x72/1f3d7.png)![💻](https://abs-0.twimg.com/emoji/v2/72x72/1f4bb.png)![⌨️](https://abs-0.twimg.com/emoji/v2/72x72/2328.png)

 [![Like Icon](https://paragraph.com/editor/twitter/heart.png) 69](https://twitter.com/blocksek/status/1764483893846052996)[

8:51 PM • Mar 3, 2024

](https://twitter.com/blocksek/status/1764483893846052996)

* * *

ODIN Deep Dive

Block Builders Bonded? > Malicious ones will be slashed based on restaking, thus they are economically aligned.

What Rules? > A property of system that should always hold. Eg: sum of lend txs - sum of borrow txs = tokens left in contract

[

GitHub - anupsv/odin
--------------------

Contribute to anupsv/odin development by creating an account on GitHub.

https://github.com

![](https://storage.googleapis.com/papyrus_images/e7dc75b72aac3b08fa9d4435890856af37c5444480372576603820050c663e96.png)

](https://github.com/anupsv/odin)

* * *

HoneyPause: Proactive defense for protocols by @merklejerk

HoneyPause combines onchain bounty with circuit breaker, with the workflow of PROVE an exploit, PAUSE the protocol, Get PAID a bounty.

[![User Avatar](https://storage.googleapis.com/papyrus_images/187d32444f38a05cfdeff9e08138598d0ae2ac6ef21f3199e188e29920286c14.jpg)](https://twitter.com/merklejerk)

[Lawrence Forman (touching grass 🦋)](https://twitter.com/merklejerk)

[@merklejerk](https://twitter.com/merklejerk)

[![Twitter Logo](https://paragraph.com/editor/twitter/logo.png)](https://twitter.com/merklejerk/status/1767218431865069979)

Besties, it's time to share my winning ![🏅](https://abs-0.twimg.com/emoji/v2/72x72/1f3c5.png) EthDenver hack, HoneyPause: a new kind of proactive defense for protocols combining an onchain bounty with a circuit breaker! Now a whitehat can atomically:  
  
![🐞](https://abs-0.twimg.com/emoji/v2/72x72/1f41e.png) PROVE an exploit  
![⏸️](https://abs-0.twimg.com/emoji/v2/72x72/23f8.png) PAUSE the protocol  
![💰](https://abs-0.twimg.com/emoji/v2/72x72/1f4b0.png)️ Get PAID a bounty

 [![Like Icon](https://paragraph.com/editor/twitter/heart.png) 102](https://twitter.com/merklejerk/status/1767218431865069979)[

10:58 AM • Mar 11, 2024

](https://twitter.com/merklejerk/status/1767218431865069979)

* * *

ODESEC: Onchain Database of Emergency Security Event Contact by @SecurFi

ODESEC takes security layer to another level. ODESEC utilizes zk-proof of exploit for whitehats to blow whistle for alert, and ZK SSL for identifying the hacked project.

[![User Avatar](https://storage.googleapis.com/papyrus_images/46368e5d7918f4516636710396668062c37060ace8d278b3929400afefaf88ac.jpg)](https://twitter.com/SecurFi)

[SecurFi](https://twitter.com/SecurFi)

[@SecurFi](https://twitter.com/SecurFi)

[![Twitter Logo](https://paragraph.com/editor/twitter/logo.png)](https://twitter.com/SecurFi/status/1785671347152273554)

Thrilled to announce that ODESEC (Onchain Database of Emergency Security Event Contact) has won the ‘[@RiscZero](https://twitter.com/RiscZero) - Best zkVM Application’ at the Scaling Ethereum 2024 Hackathon hosted by [@ETHGlobal](https://twitter.com/ETHGlobal).  
  
![🧵](https://abs-0.twimg.com/emoji/v2/72x72/1f9f5.png)![⬇️](https://abs-0.twimg.com/emoji/v2/72x72/2b07.png)

![](https://storage.googleapis.com/papyrus_images/d6fc922d1770fe06a0eac2cb7eba4230d425c604701a86ec91dc5d4f4996904c.jpg)

 [![Like Icon](https://paragraph.com/editor/twitter/heart.png) 7](https://twitter.com/SecurFi/status/1785671347152273554)[

9:03 AM • May 1, 2024

](https://twitter.com/SecurFi/status/1785671347152273554)

* * *

That's all for now on the topic of Circuit Breakers in the world of DeFi.

Safeguarding your smart contracts is not just about auditing, but also about having the right security layers in place.

Stay SAFU!

---

*Originally published on [msfew](https://paragraph.com/@msfew/security-layer-circuit-breaker-for-smart-contracts)*
