🧵 Day 12 - Final Day of the Move Security Thread Challenge
-->> Theme: “The Finale - Closing the Loop ” LOL
-> If you’ve been following since Day 1, thank you for your consistency, your focus, and the energy you’ve put into learning Move security daily.
-> Today is a special theme: we close the 12-day journey by studying a bug caused by a loop that… never closes.
-> Let’s finish strong. 💪🔥
🧵Day 11 - Initialization & Versioning Bugs in Move
-> Using FlowX Finance as today’s case study
-->> Initialization bugs in Move are far more subtle than in Solidity because of how Sui handles object versions, module upgrades, and persistent resources.
-->> When versioning is not handled correctly, old entry functions may remain callable even after upgrades leading to catastrophic re-initialization attacks.
Let’s break down what went wrong 👇
I recently turned 33, and every year I want to go back to 21-year-old Patrick with a list of lessons.
If you're in your 20s, these are for you.
Most lessons only land after an ass-whooping. And even then, you usually miss them the first time.