foufrix (@foufrix) header
foufrix (@foufrix) profile picture

Security Researcher🔍 . Looking for bugs

Joined March 2017
foufrix retweeted
“Security researchers are doomed because of AI.” I kept hearing versions of this, so I went back through 500 years of people saying the same thing every time a machine learned a human skill. Some were idiots. Some were right. Here’s where I landed.
89
276
54
1,320
250,371
foufrix retweeted
This is the most detailed journey of a smart contract you'll ever find! Finally, it's done, this took way longer than expected to finish. If this gets 100 likes, I'll make more! 😎
91
346
45
2,879
222,114
Hey security researcher, are you looking for tips on how to make your submission report looks pretty and professional? You just found the right thread. Let me share here with you 1️⃣tips and 2️⃣tools you can use from today to enhance the readability and appearance of your report!🧵
4
7
1
53
6,161
Understand Eigen Layer & Renzo in under 5 minutes!🧵 Like & Retweet! ✅
3
11
3
77
8,887
Great list from @RightNowIn describing how many tests per function you would want to write for your smart contracts: 🟢 A simple unit test to check the function does what it is supposed to do; 🟢 Any require / if statement; 🟢 Any revert case; 🟢 Any event emit case; 🟢 If you have a modifier - do unit and mutation tests for it; 🟢 If you have a math - do formal verification; 🟢 If you have a token transfer - do balance tests with weird ERC20;
How many tests should be written for a single function? That question I'm frequently asked by various developers before they plan to get an audit. So here is a minimum list I recommend: 1) A simple unit test to check the function does what it is supposed to do; Read more⬇️
1
4
10
1,260
I tested popular bridges to calculate their total cost and total bridging time. Here's what I found: Parameters: - I bridged ~$30 worth of ETH from Base to Optimism using each platform. - I initiated the bridge transactions as quickly as possible to reduce variation in L1 fees. - The final bridge fee was calculated as: Total Fee USD = (Total ETH Sent - Total ETH Received) * Current ETH Value (~$3,909) Total ETH Sent includes both the value sent AND the source gas cost. Considerations: Bridges vary somewhat on the total value you actually send. Some require you send extra value to pay for destination gas costs, some simply subtract this cost from the value you receive on the destination. This is factored in via the Total Fee USD calculation. The data and calculations, including source and destination transactions, can be found in the first comment. Bridges Tested: - @gasbot_xyz - @squidrouter - @Orbiter_Finance - @xyfinance - @BungeeExchange - @rhinofi - @merkly_com - @SynapseProtocol - @Connext - @smolrefuel Results (Sorted by Total Fee) 🥇Gasbot - $1.47 🥈Bungee - $1.96 🥉Rhino - $2.02 SmolRefuel - $3.69 Synapse - $4.19 Orbiter - $4.34 XY - $4.82 Connext - $6.63 Merkly - $9.76 Squid - $19.49 Results (Sorted by Bridging Time) 🥇Orbiter - 00:12 🥈Gasbot - 00:16 🥉Squid - 00:18 Merkly - 00:30 SmolRefuel - 00:32 XY - 01:02 Connext - 02:12 Bungee - 03:54 Rhino - 11:04 Synapse - 16:42 Conclusion: There are several great bridging options out there, though some charge way too much. They either charge a large platform fee or overestimate the destination gas costs. I was surprised to see Squid Router with such a large fee compared to the total value sent. All bridging operations succeeded without any issues, which was nice to see after years of personal bridging woes.
17
49
8
141
27,711
Wise Lending attack led to a $466k loss for the protocol. How did the hacker managed to break the bank here? First we need to understand what is Wise Lending and what component got exploited. Then we will explain how. So let’s start to break things down!
7
7
2
60
5,510
Crypto splits into (1) the casino and (2) the computer says @cdixon Same point also well made by @BillHughesDC who calls it (1) money crypto and (2) tech crypto If you can’t tell them apart, you’ll stay hopelessly confused
5
25
5
81
21,757
🔥 INTRODUCING THE ODHACK WEEK! 🔥 Welcome to the very first edition of the ODHack where open issues are up for grabs and 100K grants ($, OP & STRK) will be distributed 🥳! 👀We've all been there—looking through countless repos, searching for open issues that match our skill sets... ✨The goal is therefore to connect you with AMAZING projects who need your contributions NOW and in return, reward you for a job-well done! 🫡 So don't miss out, GO, GO, GO! YOU HAVE TILL 25TH OF FEB. 🫶 We are so thankful to start this edition with @gizatechxyz @ohayo_dojo @nethermind @argentHQ BlobStream @Starknet @0xFableGame @AvailProject !! 🙏 Big thank you to the project leads who helped get the ball rolling @tarrence @DrSpacemn @tjelailah @raphael_dkhn @norswap @robin_rrtx @abdelstark & @asparenb! All info here 👉blog.onlydust.com/blog/odhac… And P.S. there will be merch ... 😉
9
15
16
71
46,883
Immunefi has your back.
6
5
66
6,775
foufrix retweeted
Ok this is super fucking cool - evm.storage now lets you see the contents of unverified contracts. This includes viewing a contracts' entire storage layout and the txn history of specific slots. Another step forward in making Ethereum more transparent.
18
116
6
720
83,010
Coup de cœur lors du meet-up d'Ethereum France d'hier soir ! On a discuté sécurité des protocoles et @0xBeirao nous a présenté son framework : quels coûts pour sécuriser son projet ?
2
5
20
1,207
1/ Introducing DreamOS The first Web3 Native Operating System that aims to tackle the ecosystem wide UX failure of crypto. Below I will outline my Consumer Layer Thesis and how I believe DreamOS is an exceptional attempt at realising it. It's time to finally solve UX.
75
178
57
718
189,476
No sugar coating this, it's been a challenging few months. The Truffle Suite will be sunsetting over the next 90 days. To all the developers who've supported us, thank you! It's been an absolute joy to strive with you & the Ethereum ecosystem for the past 6 years. 🧵
452
326
446
2,586
1,103,509
We have some exciting news... Cantina Beta is Live! Before you dive in - let's talk about what all of this means for protocols and researchers today 🪐 ( Read to the end for researcher access codes 👀 ) 🧵👇
7
92
87
143
69,015
To anyone that has had a bad experience with any project not paying, I encourage you to add it to: bug-bounty-wall-of-shame.git… Let's make the list helpful for any researcher that wants to find a project where not to look at. If we bring no shame, this will continue to happen.
Remember that projects can simply not pay, whitehat. Should I drop the writeup?
5
24
3
116
18,687
foufrix retweeted
Schema Visualizer now in Supabase Studio!
38
98
28
989
79,714
Without getting too technical (I'll save that for another thread), EIP-4844 will introduce a new transaction format for “blob-carrying transactions” - resulting in much lower gas fees for L2s. See the estimated effect on gas below:
1
13
2
85
12,658
foufrix retweeted
PSA: Vyper versions 0.2.15, 0.2.16 and 0.3.0 are vulnerable to malfunctioning reentrancy locks. The investigation is ongoing but any project relying on these versions should immediately reach out to us.
64
419
217
936
1,157,078
Monthly Alpha
12
83
7
379
73,288