Yi 发现这个问题后和我进行了讨论,这是一个并不复杂的问题,简单来说就是 ERC4626 金库的奖励分发不应该是突变的,否则攻击者可以在奖励分配前存入资产,然后出触发奖励分配,最后撤回所有资产。我在此前甚至和 ChatGPT 讨论了这个问题。
If you’re wrong, own it. If you mishandle a responsible disclosure, take your lumps. @codephobic
I followed USD8’s own security.md, privately submitted a Loss of Funds bug with a working PoC, then watched it get quietly patched with no credit and mocked as spam.
This is exactly how you teach researchers that responsible disclosure is a sucker's game.
I documented the case here:
github.com/SuplabsYi/Crypto-…
cc @openzeppelin @demibrener @holajotola
WongSSH retweeted
Formal Verification gets clearer when it moves from textbook examples to real bugs.
Our new Dafny walkthrough starts with Bubble Sort, Quick Sort, and Merge Sort, then shows how specifications, invariants, and proof obligations uncover a stage-accounting vulnerability.
背后的所有与 codex 的沟通流程可以在 gist 内找到,但是其实没啥用,核心就是让 codex 读 solidity 然后抽象后编写证明不变量的 dafny 代码,最好让 codex 写一份 MODEL.md 文档用于描述目前的抽象情况,方便人工判读,因为抽象不是没有代价的,可能会不小心把核心代码抽象掉
gist.github.com/wangshouh/4f…
听说 Uniswap v4 hook 有火起来了,作为 Uniswap v4 hook 项目开发者并且拿过 Uniswap 审计赞助的我很开心,欢迎大家去读我过去写过的三篇文章。
blog.wssh.dev/posts/uniswap-…
blog.wssh.dev/posts/uniswap-…
blog.wssh.dev/posts/uniswap-…
虽然我自己的项目 @licredity 至今还没有部署,甚至还有一个漏洞没修




















