Curriculum·Graduate·G306
The Handoff: Learning to Build Safely
Value DeFi, November 2020. The day before, Value DeFi had posted a Twitter thread highlighting its flash-loan exploit prevention methodology.
Lesson 1 opens on
Value DeFi, November 2020
Value DeFi had boasted publicly of its defenses: the day before the exploit it posted a Twitter thread highlighting its flash-loan exploit prevention methodology, an assurance made for users to read.' The bug was not novel or deep; it was the standard oracle-manipulation pattern the field already understood and had documented, in new vault code that, by the team's own post-mortem, had not been audited. What made it possible was not that the attack was clever but that the team was confident, confident enough to advertise a safety property it had not actually established, and to build on an oracle it did not fully understand.
The lessons
- G306-01The hubris of knowing a littleExplain that partial knowledge advertised as mastery is where the loss happensabout 34 min · opens on Value DeFi, November 2020
- G306-02The audit, and the limits of an auditExplain that an audit is a point-in-time review of a defined scope by fallible people, not a guaranteeabout 33 min · opens on Akropolis, November 2020
- G306-03The practices and tools real builders live byExplain that mature engineering practices exist because integrations behave in ways naive code does not expectabout 33 min · opens on dForce / Lendf.me, April 2020
- G306-04Where to go next, and the honest handoffExplain that this bridge teaches mental models and reading, not production contract developmentabout 34 min · opens on Pickle Finance, November 2020
