Skip to content

rickwang9/HackerAnalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

更多的文章都发布在 登链社区.

具体攻击案例的代码重现和详细分析


20220823 KaoyaSwap - bad logic of the swap

Lost: >$118k

Testing

forge test --contracts ./src/defisec/dex/Kaoya_exp.sol -vv

Contract

Kaoya_exp.sol

Link Reference

https://x.com/BlockSecTeam/status/1562286943957708800


20230409 SushiSwap - Unchecked User Input

Lost: >$3.3M

Testing

forge test --contracts ./src/defisec/dex/Sushiswap_exp.sol -vv

Contract

Sushiswap_exp.sol

Link Reference

https://twitter.com/peckshield/status/1644907207530774530

https://twitter.com/SlowMist_Team/status/1644936375924584449

https://twitter.com/AnciliaInc/status/1644925421006520320


20231012 Platypus - Business-Logic-Flaw

Lost: ~$2M

Test

forge test --contracts ./src/defisec/lending/Plat_exp.sol -vv 

Contract

Plat_exp.sol

Link Reference

https://twitter.com/BlockSecTeam/status/1712445197538468298

https://twitter.com/peckshield/status/1712354198246035562


20230405 Sentiment - Read-Only-Reentrancy

Lost: $1M

Testing

forge test --contracts ./src/defisec/lending/Sentiment_exp.sol -vv

Contract

Sentiment_exp.sol

Link Reference

https://twitter.com/peckshield/status/1643417467879059456

https://twitter.com/spreekaway/status/1643313471180644360

https://medium.com/coinmonks/theoretical-practical-balancer-and-read-only-reentrancy-part-1-d6a21792066c


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages