badf00d (@byteloan) profile picture
Joined December 2009
Photo by badf00d (@byteloan)Photo by badf00d (@byteloan)
"identified 9 zero-day vulnerabilities in two [smart contract] bug bounty programs with over 1,000 USD being awarded" the future is now 🤯
8
3
2
54
5,858
badf00d retweeted
1) I've noticed many people think that Uniswap v3 $UNI solves the problem of impermanent loss (IL). It doesn't. Actually, it's just the opposite. Concentrated liquidity substantially increases the risk of IL. Let's quickly break down why it happens.
34
221
68
984
Over the past two weeks I have been deep diving into Curve's price oracles and have found extremely strange behavior. The oracles don't act like you think they do. They are far more manipulatable than expected. And can be wrong in normal life. Mega 👉🧵
10
81
17
455
151,120
Yesterday's uwulend 19 million dollar hack involved such a complex attack, combined with such a pile of contract stupidity, that I've not seen a writeup yet that completely explains the attack. 🧵 1/n
5
39
6
272
29,821
Last night's 20 million hack of Sonne was more layered than just an empty market bug. The real attack innovation was at the governance layer. If you are using a multisig + timelock governance, you need to check that are not vulnerable! Here's how it worked. 🧵 1/8
14
96
24
367
92,998
badf00d retweeted
An objective analysis on what happened on @renzoai (Depeg, airdrop, token pie chart) 0) Overview Renzo is the second largest LRT with 1mn ETH staked, 33.5% market share (Etherfi has 37.9% share) Renzo announced it's token $REZ and airdrop plan on Apr 23, together with Binance Launchpool which consists of 2.5% of total $REZ supply 1) Depeg Incident Few hours ago (~0400 UTC), there was a sell-off of Renzo's LRT - ezETH on DEX, ezETH price dropped to as low as ~US$700 before covering Sell-off likely caused by the conclusion of Season 1 Airdrop, users want to get back $ETH to farm other LRT/protocols This led to liquidation on leverage protocols such as @GearboxProtocol and @MorphoLabs. Loopers (users who repeatedly use LRT as collateral to borrow ETH to create leverage) suffered loss as a result 2) Airdrop Renzo allocated 10% of $REZ for airdrop, Season 1 would be 5% of $REZ Largest wallets will have 50% unlock at TGE, 50% vested over 6 months (no further detail yet) NFT holders of Milady & SchizoPosters will get 2% of the 5% airdrop (0.1% of $REZ) Fumes from community include: - Binance Launchpool ends on Apr 29 and trading begins on Apr 30 vs. stakers who can only claim airdrop on May 2 -> i.e. Binance stakers can sell on the stakers two days early - Rumour that if users sold their ezETH, they would not be entitled to the airdrop, team has clarified that it's not true in Discord, stating airdrop is completely based on points user have - NFT holders with no contribution getting airdrop, and insider trading concern - Airdrop ratio too small 3) Token allocation chart In the $REZ announcement, Renzo included the following pie chart on token allocation This is highly misleading as the size of each pie is completely off (the two 2.5% has the same size as 13.44% or 20%; 30% and 31.56% has the sum of half of the pie etc.), readers may underestimate the float project/VCs controlled by the looks of it Renzo has deleted this tweet after Below is the recreated pie chart with the correct ratio. However, it is still a little bit confusing as airdrop portion is not shown The best is to look at Binance's version here, which clearly shows the percentage and category: 4) My take on this (subjective part) - It is a mix of justified criticism/fud/frustration - On the depeg, it is a risk that we need to recognize for all LRTs, even if withdrawal is enabled, DEX pool can still depeg simply based on the temporary imbalance - On the airdrop, there are definitely things that can be improved, such as more transparency on how it is determined. Should also rethink whether airdropping to NFT holders that have no direct relationship with the protocol makes sense - On pie chart, I tend to believe it is just a mistake by the designer and the lack of checking from the team. Don't think this kind of low level tricks will be able to mislead crypto-native users. But it did look bad regardless
37
60
26
356
107,547
happy tuesday – excited to share "Unconditional inclusion lists" with @nero_eth based on extensive discussions with @potuz1 & @terencechain! we hone in on the key elements, propose a candidate design, and analyze potential alternatives. ⧇⧉⧈⤈⤈⤈ ethresear.ch/t/unconditional…
5
40
10
216
286,918
Awesome On-Chain Investigations HandBook 💎 Disclaimer: All information (tools, links, articles, text, images, etc.) is provided for educational purposes only! All information is also based on data from public sources. You are solely responsible for your actions, not the author! Follow InfoSec and OpSec guidelines and perform all of your research on a separate, secure device! Check out more tools here ⬇️ • github.com/OffcierCia/On-Cha… Here we discuss how one can investigate crypto hacks and security incidents, and collect all the possible tools and manuals! PRs are welcome! De-mixing @TornadoCash (by @flipsidecrypto and @AMLBotHQ & @PureFi_Protocol ) ⬇️ • x.com/amlbothq/status/174068… Also (including @RAILGUN_Project de-mixers), check out awesome tools by @0xKoda ⬇️ • x.com/0xkoda/status/17403481… • x.com/0xkoda/status/17401589… • t.me/+lP4Tn49176FmMzBk • t.me/chainchasers • t.me/railgunwatch • tutela.xyz How I investigate crypto hacks and security incidents: A-Z ⬇️ • officercia.medium.com/osint-… • officercia.medium.com/osint-… • officercia.medium.com/awesom… Cracking crypto criminals: how to build a career in crypto Forensics in 2023 and find your dream web3 job by @CryptoJobsList & @shivamchhuneja ⬇️ • cryptojobslist.com/blog/how-… We need also to check out this address via impersonator.xyz + reverse check ⬇️ • github.com/impersonator-eth/… • teapaw.org/gf_256/status/16… • x.com/apoorvlathey/status/17… Important tools: @MetaSleuth / @Phalcon_xyz / @SlowMist_Team / @AMLBotHQ / @MaltegoHQ / @AppBreadcrumbs / @ethtective / @oxt_btc / @ArkhamIntel My own articles on topic ⬇️ • Attacks via a Representative Sample : Myths and Reality: officercia.mirror.xyz/WeAilw… • 100 BTC deadman drops: Silk Road: officercia.mirror.xyz/bekcfd… • Ethereum Alarm Clock Exploit: Final Thoughts: officercia.mirror.xyz/6V1oL1… • Navigation page: officercia.mirror.xyz/O4xnvB… Also check out my 3 articles about OSINT - visit my mirror blog: officercia.mirror.xyz and scroll down! Stay safe!
unavailable
9
32
4
140
23,392
🔽Beosin's Research Series🔽 ZKP-related: 1) A Must-Read for ZKP Projects|Circuit Audit: Are Redundant Constraints Really Redundant? medium.com/@Beosin_com/a-mus… 2) Beosin’s Research | Transaction Malleability Attack of Groth16 Proof glacier-screen-c36.notion.si… 3) Exploring Tornado Cash In-Depth to Reveal Malleability Attacks in ZKP Projects medium.com/@Beosin_com/explo… 4) Beosin Security Researchers Discovered SnarkJS Library Vulnerability CVE-2023-33252 medium.com/@Beosin_com/beosi… 5) An In-depth Analysis of zk-SNARK Input Aliasing Vulnerability medium.com/@Beosin_com/an-in… Sui/Move: 1) “Memory Bomb” Vulnerability Causes Sui Node to Crash medium.com/@Beosin_com/memor… 2) Critical Vulnerability in Move VM: Can Cause Total Network Shutdown and Potential Hard Fork in Sui, Aptos, and Other Public Blockchains medium.com/@Beosin_com/criti… Audit Knowledge: 1) Essential Auditing Knowledge | What is the Difficult-to-Guard “Read-Only Reentrancy Attack”? medium.com/@Beosin_com/essen… 2) Security Audit Series: What Is a Precompiled Contract Vulnerability? medium.com/@Beosin_com/secur… 3) How to Avoid Issues Related to Deflationary Tokens medium.com/@Beosin_com/how-t…
4
1
12
6,407
Flashbots maintains an archive of mempool data that listens to many sources for txs, recording them + some data on timing/uniqueness Download the data here: mempool-dumpster.flashbots.n… Check out stats: mempool-dumpster.flashbots.n… DM @metachris if you want your tx source to be added
7
16
2
92
15,209
1/ 🧵 Do you still need a manual smart contract audit? #GPT #LLM
8
41
17
203
135,500
NEW @paradigm Research! Motivated by the recent unbundling attacks against MEV searchers, I teamed up with the EF's @mikeneuder to investigate the interplay between `mev-boost` & Ethereum's PoS consensus, and enumerate some of the possible paths forward. paradigm.xyz/2023/04/mev-boo…
10
82
9
501
133,708
MEV-Share is Flashbots' product for MEV redistribution. The beta is live @ rpc.flashbots.net If you are a user, wallet, or dapp use our new features here: docs.flashbots.net/flashbots… Read on on for more on what MEV-Share is, the bigger picture, and what is next
15
57
11
199
82,996
Uniswap V3 is notorious for being one of the most complex DeFi protocols there is. Here's everything you need to know to understand it, as simply put as possible. 🧵👇
38
65
15
290
122,500
🔬 ABI Encoding Deep Dive A deep dive into reading raw calldata and decoding it manually By @ljmanini medium.com/@ljmanini/abi-enc…
1
10
50
3,984
As smart contract security evolves, property-based fuzzing has become a go-to technique for developers and security engineers. To help the community define properties, we are releasing a set of 168 pre-built properties that can be used to guide Echidna. blog.trailofbits.com/2023/02…
5
45
5
188
38,631
badf00d retweeted
(1/4) Great series on Linux rootkits by @TheXcellerator Part 1: Introduction and Workflow: xcellerator.github.io/posts/… Part 2: Ftrace and Function Hooking: xcellerator.github.io/posts/… Part 3: A Backdoor to Root: xcellerator.github.io/posts/… #Linux #kernel #malware #infosec #cybersecurity
7
212
1
550
57,349