Dani | Web3 Sec 🛡 (@DaniWeb3Sec) header
Dani | Web3 Sec 🛡 (@DaniWeb3Sec) profile picture

Passionate about Web3 & Blockchain Security | Smart Contract Auditor | Get your code secured 🛡️ 👉🏽 DM for private audit

Zürich
Joined August 2012
Photo by Dani | Web3 Sec 🛡 (@DaniWeb3Sec)Photo by Dani | Web3 Sec 🛡 (@DaniWeb3Sec)Photo by Dani | Web3 Sec 🛡 (@DaniWeb3Sec)Photo by Dani | Web3 Sec 🛡 (@DaniWeb3Sec)Photo by Dani | Web3 Sec 🛡 (@DaniWeb3Sec)Photo by Dani | Web3 Sec 🛡 (@DaniWeb3Sec)Photo by Dani | Web3 Sec 🛡 (@DaniWeb3Sec)Photo by Dani | Web3 Sec 🛡 (@DaniWeb3Sec)Photo by Dani | Web3 Sec 🛡 (@DaniWeb3Sec)Photo by Dani | Web3 Sec 🛡 (@DaniWeb3Sec)
Dani | Web3 Sec 🛡 retweeted
A few hours ago, Penpie @Penpiexyz_io , a farming protocol built on the Pendle Protocol, suffered a reentrancy attack resulting in a loss of ~$27M. Since Penpie has been paused, we are now providing a detailed root cause analysis. This is a typical issue due to the lack of reentrancy guard. Specifically, the vulnerable contract (0xff51c6, the implementation contract of PendleStaking) fails to consider that the provided argument, i.e., markets, might be untrusted, which can abused to reenter into this contract. Attack preparation TX: app.blocksec.com/explorer/tx… The attacker initially created a counterfeit SY (standardized yield token, i.e., 0x4476b). Although the SY tokens themselves were worthless, the contract was set up with two high-value PENDLE-LPT market tokens (i.e., 0x6010_PENDLE-LPT, 0x038c_PENDLE-LPT) as the reward tokens. By doing so, the attacker then created a market on Pendle and registered it on Penpie. Attack TX: app.blocksec.com/explorer/tx… During the attack, the attacker executed the batchHarvestMarketRewards() function to harvest rewards, which were calculated based on the difference in balanceOf() before and after the redeemRewards() function was invoked. The redeemRewards() function, in turn, triggered the claimRewards() function of the specific market. As the protocol did not anticipate the possibility of a market being maliciously controlled, the attacker was able to re-enter the victim contract through the depositMarket() function. After that, the attacker deposited the two high-value LPT market tokens, which were mistakenly treated as rewards. Simultaneously, the attacker received minted shares corresponding to these deposits. Consequently, the attacker could withdraw the same valuable LPT market tokens along with the corresponding shares minted in depositMarket(), and claim the reward to realize a profit.
7
17
7
75
14,213
Dani | Web3 Sec 🛡 retweeted
Looks like they swapped it for #DAI. Wondering if they're the same scammer as the other victim. Let's wait and find out. 😅
🚨💔 2 minutes ago, someone lost $400,000 by copying the wrong address from a contaminated transfer history. ⚠️ Never copy the address from transfer histories.
1
2
11
2,770
Dani | Web3 Sec 🛡 retweeted
🌟Exciting News! 🥳 We are thrilled to announce that MistTrack now supports the #TON blockchain, including TON and USDT-TON. 🚀 🔍You can now easily check the risk level and fund flow of addresses on TON. Happy tracking, everyone! misttrack.io/ Note: The parsing of TON transactions has unique characteristics, so our system analyzes and tracks only the most recent transaction records for the queried address.
1
9
3
20
12,539
Dani | Web3 Sec 🛡 retweeted
Summary of Ethereum block-building research as of 2024-08-07: * Everyone agrees that having multiple actors contribute txs that must be included in the block is a good idea * Open debate on whether avoiding a "last mover" is possible It's good to see the progress! It feels like the block construction topic is nearing a light at the end of the tunnel.
Definitely true that inclusion lists and BRAID have a lot in common The things I like about Max's proposal that aren't in FOCIL: * Priority ordering of txes rather than leader's discretion (allowing inclusion-list transactions to be MEV-relevant) * Conditional tips (possibly making non-censorship incentive-compatible) * No single assigned leader who is last mover (so at least the potential for no timing advantage) Whatever you want to label this constellation of properties, I find it appealing
357
299
29
1,897
604,912
Dani | Web3 Sec 🛡 retweeted
Glad to see @zkemail starting to make major steps toward real world adoption. It feels like the different pieces of social recovery are coming together!
We're soft launching @soulwallet_eth v1 on Optimism today. - Social recovery via wallet and email h/t @zkemail - Gasless h/t @pimlicoHQ - Web first (PWA) with passkey DM if you want an invite.
458
260
32
1,682
499,916
Dani | Web3 Sec 🛡 retweeted
Thank you for following - @PeterEFC7 @pablo_guillen @Chakakhanchacka @stevemc09 @CSchoeters @Mirallasfanpage @jayshome2005
Dani | Web3 Sec 🛡 retweeted
All everton ones now #FF @Kayne1878 @si86efc @Edgers_EFC @allieefc @SOS1878 @Lauraefc17 @JelavicRoad1878 @Mirallasfanpage @GibsonFanPage
1
3
1
Dani | Web3 Sec 🛡 retweeted
Replying to @lewisefcbarrow
@lewisefcbarrow @kayne1878 @si86efc @edgers_efc @sos1878 @lauraefc17 @jelavicroad1878 @mirallasfanpage @gibsonfanpage #ff
Dani | Web3 Sec 🛡 retweeted
George best. #legend
7
288
54
Dani | Web3 Sec 🛡 retweeted
Love this! #COYB
1
44
22
Dani | Web3 Sec 🛡 retweeted
Need to get to 100 followers!! #efctwitterarmy #needmorefollowers @Mirallasfanpage
2
1
Dani | Web3 Sec 🛡 retweeted
Replying to @DaniWeb3Sec
@Mirallasfanpage yes he'll play and he's gonna score everton need win and back in top four
Dani | Web3 Sec 🛡 retweeted
Having Michu captain today has been a nice little bonus 4 me. Just need my squad of here's to turn up for me tomorrow now💙 #FantasyFootball
11
11
3
Dani | Web3 Sec 🛡 retweeted
Did your team win, draw, or lose today? If you're coming home from the game or watching the results please spend a quid #textJUSTICEto80010
1
24
3
Dani | Web3 Sec 🛡 retweeted
If Mirallas plays tomorrow, ouush, what a player
1
1
Dani | Web3 Sec 🛡 retweeted
“@Mirallasfanpage: Gutted the blues aren't playing today!”agreed so bored! Hope we beat spurs tomorrow #COYB
1
1
Dani | Web3 Sec 🛡 retweeted
Former Everton midfielder Kevin Kilbane has today announced his retirement from football. The 35-year-old had been playing at Coventry.
7
128
9
Dani | Web3 Sec 🛡 retweeted
A4 framed hand drawn & painted pic of Kevin Mirallas £17 plus p&p DM if interested.
1
2