Day 14 of #SmartContractSecurity
Hours worked: 6 hours.
Investigated a duplicate-claim vulnerability in "claimRewards()" caused by delayed updates to the claimed-status bitmap.
Built a Foundry PoC and completed the Rewarder challenge.
#Defi#blockchain#web3
Day 13 of #SmartContractSecurity
Hours worked: 5 hour 30 min
Spent the day reviewing Damn Vulnerable DeFi's The Rewarder challenge.
Identified a potential vulnerability in the reward claiming logic. Now working on reproducing it with a Foundry PoC.
#web3#blockchain#ethereum
@sa80463 Yeah, I learned Solidity and smart contract security through Cyfrin Updraft Currently practicing by solving Damn Vulnerable DeFi challenges and reading audit reports.
Day 11/100 #SmartContractSecurity
Hour worked : 4.5 hours
Continued learning about The Rewarder challenge from Damn Vulnerable DeFi.
Learned how Bitmaps use individual bits of a uint256 to track whether a claim has already been made.
#Web3#ETH#blockchain
Day 10/100 #SmartContractSecurity
Started The Rewarder challenge from Damn Vulnerable DeFi.
Learned Merkle Trees, Merkle Roots, and how Merkle Proofs verify data using sibling hashes without sharing the entire dataset.
Day 9/100 #SmartContractSecurity
Solved Side Entrance from Damn Vulnerable DeFi.
The pool checked ETH balance, not actual loan repayment. I exploited this by depositing borrowed ETH during the callback and withdrawing it afterward.
#Web3#DeFi
Day 9/100
-Solved the Truster challenge from Damn Vulnerable DeFi.
-Exploited the arbitrary external call in flashLoan() using a zero-amount flash loan.
-Made the pool approve the attacker to spend its DVT tokens.
-Used transferFrom() to drain 1M DVT from the pool.
#Defi#ETH
@mitansh_j07 Definitely the signed-request part. Understanding EIP-712 hashing, signature verification, nonce handling, and crafting the calldata took more effort. The flash-loan fee exploit was comparatively straightforward.
Day 8/100
Solved the Naive Receiver challenge from Damn Vulnerable DeFi.
-Exploited fixed flash loan fees to drain receiver fund.
-Exploited multicall and delegatecall through crafted calldata.
-Built a PoC exploiting EIP-712 signed requests to drain 1010Weth. #DeFi#ETH
@0xLeonard_eth Exactly! The fixed fee drains the receiver, while multicall and delegatecall open up the second part of the exploit. Understanding how both attack paths connect was the most interesting part.
Day 7/100 of #SmartContractSecurity
Hours worked: 2.5 hours.
-Started reading the @monetrix_xyz audit report from @code4rena today. Going through the protocol codebase first before diving into the findings and PoCs.
Day 5/100 of #SmartContractSecurity
Hours worked: 3 hours.
-Continued diving into a real protocol by reading the codebase and analyzing accepted audit findings.