# How to steal $1M from a DeFi Smart Contract - Bartosz Barwikowski

- Speakers: [Bartosz Barwikowski](https://streameth.org/speakers/bartosz-barwikowski)
- Channel: [ETH Warsaw](https://streameth.org/eth-warsaw)
- Date: 2025-10-07
- Duration: 29:47
- Watch: https://streameth.org/watch/yt-ZyKTo6jW2dY
- YouTube: https://www.youtube.com/watch?v=ZyKTo6jW2dY

## Description

In May 2024, I discovered a critical flaw in a DeFi smart contract that could have been exploited to steal $1.08 million. I will recount the story of how I uncovered the vulnerability and demonstrate the simulation I created to prove the bug. Additionally, I will explain how the issue was resolved and discuss strategies to prevent similar vulnerabilities in other projects.


🧜🏻‍♀️ ETHWarsaw is a series of educational and entertaining events for an active community of blockchain builders, developers and enthusiasts with focus on Ethereum-related tech. Once a year, we organize a large conference and hackathon for the community in the center of the Polish capital with speakers from the best web3 projects and participants from all over the world.

Follow ETHWarsaw on social media for the latest updates!
X (Twitter): https://twitter.com/ETHWarsaw
LinkedIn: https://www.linkedin.com/company/ethwarsaw
Telegram chat: https://t.me/joinethwarsaw
See you all at our events in Warsaw 🙌🏻
