foundry icon indicating copy to clipboard operation
foundry copied to clipboard

research(invariant): use AI to reproduce yearn hack

Open grandizzy opened this issue 3 weeks ago • 1 comments

Component

Forge

Describe the feature you would like

Forge test to reproduce yearn hack: https://github.com/johnnyonline/yETH-hack/blob/main/test/Hack.t.sol

Scope of this ticket is to determine if yearn hack can be reproduced leveraging AI & foundry invariant testing, and if not what are things that needs to be improved:

  • try to reproduce the yearn hack with as little set up as possible with forge invariants
  • have AI write handlers and the whole setup / forking etc

Additional context

No response

grandizzy avatar Dec 06 '25 16:12 grandizzy

Gonna try my hand on it. I don't think I need to be assigned, as I am not sure if my research will produce anything substantial. But I will update on this issue.

dipanshuhappy avatar Dec 06 '25 17:12 dipanshuhappy