ikigai-labs-xyz / DeFi-Circuit-Breaker-EIPs

The Ethereum Improvement Proposal repository
https://eips.ethereum.org/
Creative Commons Zero v1.0 Universal
3 stars 2 forks source link

Scroll OO Issue #3 - Test Circuit Breaker implementation on past Hack #11

Open valeriofichera opened 1 year ago

valeriofichera commented 1 year ago

Description

The goal of of this issue is to showcase and prove the feasibility of Circuit Breaker implementations by

This will contribute to the success and adoption of Circuit Breakers as a novel security measure for asset-sensitive smart contracts.

Circuit Breaker Contracts follow the ethos of the development under EIP-7265 -> https://ethereum-magicians.org/t/eip-7265-circuit-breaker-standard/14909

Requirements

  1. Test CircuitBreaker implementation past hack

    For more context visit -> https://github.com/ikigai-labs-xyz/hundred-finance-firewall-replica

If further resources or support needed, feel free to contact the team on Discord

Stack

Pull Request Structure

technical reference: https://github.com/DeFi-Circuit-Breaker/EIPs/blob/core-overhaul/EIPS/eip-7265.md

More information on the hack: https://whimsical.com/flashloan-hundred-finance-hack-12DMNCLmS4dDwV59jR5jU5 https://rekt.news/hundred-rekt2/ https://blog.hundred.finance/15-04-23-hundred-finance-hack-post-mortem-d895b618cf33 https://www.numencyber.com/hundred-finance-exploit-7-million/ https://github.com/SunWeb3Sec/DeFiHackLabs/blob/main/src/test/HundredFinance_2_exp.sol https://twitter.com/peckshield/status/1647307128267476992 https://twitter.com/danielvf/status/1647329491788677121 https://twitter.com/hexagate_/status/1647334970258608131

estimated time effort: High (+6h)