Hari Suthan
@codehari662
🔍 Smart Contract Auditor | Sharing daily audit insights & lessons 🛡️ Blockchain & DeFi security | Real bugs, real mistakes, real learning
In my recent audit, I missed a subtle detail. ⚠️ The contract used: currentTime - userJoinTime But the docs said rewards should start only after the campaign begins: If a user joined before the campaign, the wrong formula gives extra rewards.
Imagine trying to buy a concert ticket… 🎟️ Your transaction is pending, someone sees it, jumps ahead, and buys it first. That’s front-running in smart contracts. Attackers see your tx → act first → gain an unfair edge or cause user loss. #Web3 #SmartContracts #DeFi
💡 Dev Tip: Before letting an external contract (like Uniswap) pull tokens, don’t forget approve()! Skipping it = failed txs & broken contracts. ✅ Small step, big safety. #SmartContracts #DeFi #BlockchainDev
My Recent Auditing Mistake 🔍 I flagged a missing blocklist check in a transfer function ❌. Later realized the token contract already enforced it in _beforeTokenTransfer ✔️. I just missed it. Lesson: Always check the full flow before calling something a bug.
Starting something new 👇 I’m diving deep into smart contract security From tomorrow, I’ll be sharing real bugs I study from audits like Code4rena & Sherlock. Real lessons. Daily breakdowns. Follow to learn with me 💥 #web3 #auditing #bugbounty
United States Trends
- 1. World Cup 241K posts
- 2. Paraguay 24.4K posts
- 3. The Jupiter 96.9K posts
- 4. Croatia 20.3K posts
- 5. Brazil 68.8K posts
- 6. Argentina 204K posts
- 7. Portugal 88.7K posts
- 8. FINALLY DID IT 426K posts
- 9. Group L 14.5K posts
- 10. Matt Campbell 10.1K posts
- 11. #USMNT 1,290 posts
- 12. Infantino 62.9K posts
- 13. Ghana 72.9K posts
- 14. Senegal 42.6K posts
- 15. Norway 29.3K posts
- 16. Warner Bros 222K posts
- 17. Iowa State 8,669 posts
- 18. Wayne Gretzky 3,780 posts
- 19. #Mundial2026 33.9K posts
- 20. Hep B 1,589 posts
Something went wrong.
Something went wrong.