← All tasks
🔍
Advanced

Fix a Race Condition in a Balance Check

⏱ 5 min ⭐ 120 XP 🔁 3 attempts allowed

What you'll do

Find the line where a balance check and the deduction that follows it aren't performed atomically.

Scenario

By sending two withdrawal requests at the exact same moment, an attacker withdraws more than their actual balance.

Ready to try it?

Create a free account and subscribe to take "Fix a Race Condition in a Balance Check". Earn 120 XP and track your internship progress.

Already have an account? Sign in