gbaleeee (@gbaleeeee) header
gbaleeee (@gbaleeeee) profile picture

愚钝之人 | SR @ sec3dev

Joined September 2021
Photo by gbaleeee (@gbaleeeee)
Inspired by the "two parser bug," I identified a vulnerability related to precision loss during the audit. If you're interested in precision loss or fuzz testing, check this out: medium.com/@zxy211965/precis…
I call it a "two parser bug". Two different implementations tracking the same input, and parsing differences cause diverging behavior from different parts of a system. Here's two recent examples used in hacks, and how to avoid. 🧵1/5
6
1
23
4,545
Quick analysis: The root cause seems to be double-spending order collateral value
We are aware of an exploit in relation to our gmCauldrons. Core contributors and security engineers are investigating the issue in depth and will provide more information as soon as available. Each gmCauldron was fully audited by @GuardianAudits prior to release. The same lead auditors as GMX core contracts, gmCauldrons are also integrated within the rest of Abracadabra Security infra including @zeroshadow_io tracking, @hexagate_ response software as well as further security measures behind the scene. While having multiple systems in place, the exploit was caught only after the attacker executed several transactions. The Zeroshadow team alerted us and we quickly turned off all borrows to all cauldrons. The full damage of the attack is currently being assessed. We are working together with @GuardianAudits, @GMX_IO, and other security peers to identify the execution of the hack. No user collateral is affected and this exploit only affects the gmCauldrons. We are in close contact with @chainalysis who are tracking the funds, that are currently consolidated on 0xaf9e33aa03caaa613c3ba4221f7ea3ee2ac38649. To the hacker, we are happy to entertain negotiations for a bug bounty of 20% of the total. Reach out at [email protected] or on chain to our treasury address on ETH 0xDF2C270f610Dc35d8fFDA5B453E74db5471E126B. A full post mortem will be provided once ready.
1
1
1
2
592
Background: MIM supports users to deposit collateral to gmx for leverage. Due to the non-atomic action of gmx deposits, users must first place a deposit order, and then the gmx keeper completes the order.
1
1
67
This quoted post is unavailable.
7
530
Improving the audit mindset is key to enhancing audit skills. I wrote an article on this based on my experience. Feel free to check it out here: medium.com/@zxy211965/master…. Special thanks to elite auditors @QiuhaoLi and @xuwinniexu for their reviews and suggestions.
2
9
1
32
1,898
As a auditor with experience in Prisma/Liquidity, this article describes several attack vectors that I had not considered before 🫡🫡
5
527
💎
I call it a "two parser bug". Two different implementations tracking the same input, and parsing differences cause diverging behavior from different parts of a system. Here's two recent examples used in hacks, and how to avoid. 🧵1/5
2
337
🤣
this dude sacrificed 5 USDC to present us with the best report in the history of auditing
2
234
Taking part in the @numencyber CTF alongside the #DefiHackLabs team was a delightful experience! I gained substantial knowledge and contributed a resolution to a Flag.
We got 4th place in the @NUMEN 48-hour CTFcontest 🚀 Made amazing new friends, learned a ton, and had a blast tackling challenges together 🌟 Our first community event playing #CTF was a huge success! Can't wait for the next one! 🥳 #DeFiHackLabs #web3security #teamwork
1
2
7
1,111
👇👇👇
Putting focused effort into breaking protocol invariants is the best way to find the Medium, High & Critical severity issues in a smart contract audit
204
RUG PULL
#CertiKSkynetAlert 🚨 We are seeing a price #slippage on project BRA (BRA) which has dropped >96%. Contract bsc: 0x449FEA37d339a11EfE1B181e5D5462464bBa3752 Address 0x67a90 exploits a contract mechanism, stealing approximately ~675 WBNB (~$184K). Stay vigilant!
1
2
283
🔥🔥🔥
Did you read all of the post-mortems of 2022? Well, I did it for you and tried to boil it down into a single article. Made for web3 auditors and bug hunters. No SEO/marketing bs, just one giant blogpost for you to review at your own pace. Merry christmas! ventral.digital/posts/2022/1…
3
291
🧐
1/ Today, we wanna talk about MEV Bot. With the evolution of MEV Bot, the most recent explorations have been front-run by Bot. However, Bots are getting wilder, including anonymous deployments, refusal to return funds (in most cases), and aggressive tx fee strategies.
amazing
I finally got my hands to play with ChatGPT, and of course I gave it the Solidity task: help me to write the simplest ERC20 token in pure super-optimized bytecode. Let's see how well it managed with the task... 1/n👇🧵 P.S. Pic is the final code, not what ChatGPT initially wrote
1
4
ankr private key compromised?
This post is from an account that no longer exists. Learn more
1
1
POC using Foundry: github.com/SunWeb3Sec/DeFiHa… thanks for Hephyrius's poc, it is hard but crazy for me @immunefi @hephyrius
As part of our Hack Analysis series, we're publishing a new piece on the Oct 2021 Cream Finance hack. Really good educational material here, written by @hephyrius, an Immunefi Whitehat Scholar. medium.com/immunefi/hack-ana…
3
6
It seems @DFXFinance's DEX pool (named Curve) is hacked (w/ loss of 3000 ETH or $~4M) due to the lack of proper reentrancy protection. Here comes an example tx: etherscan.io/tx/0x6bfd9e286e…. The stolen funds are being deposited into @TornadoCash
1
2
Wow
This afternoon, FTX asked for our help. There is a significant liquidity crunch. To protect users, we signed a non-binding LOI, intending to fully acquire FTX.com and help cover the liquidity crunch. We will be conducting a full DD in the coming days.
Removing this step, the profit seem to be higher 😂, because the harveset() funciton will swap some CAKE to WBNB POC:github.com/SunWeb3Sec/DeFiHa…
Replying to @BeosinAlert
3/ After calling deposit function, the hacker called harvest function. Here the call address is the attack contract. The harvest function judges whether the call address is an EOA address, but when the initiating call in the case of the constructor, iscontract() can be bypassed.
3
20 多笔FlashLoan,借贷$500m,最后收益6w🔪,这就是熊市吗😅
This post is from an account that no longer exists. Learn more