Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Are Smart Contracts Haunted? - Security Vulnerabilities in Blockchain

NahamSec via YouTube

Overview

Explore the world of smart contract vulnerabilities in this conference talk from #NahamCon2022. Dive into common security issues, including re-entrancy attacks, delegatecall and selfdestruct functions, and initialization vulnerabilities. Examine real-world examples from AMM projects, OpenZeppelin's UUPS proxy bug, and Harvest Finance. Learn about the risks associated with price oracles and spot-price usage in DeFi protocols like Yearn.Finance. Discover the importance of proper authorization checks and access control in smart contract functions. Gain valuable insights and resources to enhance your understanding of smart contract security and potential haunting vulnerabilities.

Syllabus

Introduction
Common smart contract vulnerabilities
Example re-entrancy attack
Re-entrancy example in an AMM project
Short intro to delegatecall and selfdestruct
Constructor() vs Initialize()
OpenZeppelin's UUPS uninitialized proxy bug: explanation
Harvest Finance
Price oracles
Yearn.Finance spot-price usage
Yearn. Finance spot-price usage - explanation
Missing an authorization check
Lack of access control in cancelOrder() #1
Useful links to get you started

Taught by

NahamSec

Reviews

Start your review of Are Smart Contracts Haunted? - Security Vulnerabilities in Blockchain

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.