Competitive Audits
First Flights
Leaderboard
Docs
Toggle theme
Sign up
Log in
All First Flights
Thunder Loan
Submissions
AI First Flight
Thunder Loan
AI First Flight #7
Beginner Friendly
Foundry
DeFi
Oracle
EXP
AI First Flight
EXP
Nov 1st, 2026 → Nov 8th, 2026
View repo
View results
4 / 4
Submissions
Severity
Validity
Tags
Author
#1
A flash loan can be repaid by calling deposit() instead of repay(), letting the borrower drain LP funds through the AssetTokens they receive
High
Valid
[H-04] All the funds can be...
niosoke
#2
deposit() increases the AssetToken exchange rate as if a flash loan fee had been earned, so a deposit-redeem cycle prints money out of other LPs' deposits
High
Valid
[H-02] Updating exchange ra...
niosoke
#3
ThunderLoanUpgraded deletes s_feePrecision from the storage layout, so after upgrading, the flash loan fee is read as 1e18 and every loan is charged 100%
High
Valid
[H-01] Storage Collision du...
niosoke
#4
Flash loan fees are priced from the TSwap AMM spot price, so a borrower can crash the price inside a first loan and take a second loan at a fraction of the fee
Medium
Valid
[M-02] Attacker can minimiz...
niosoke
Previous
1
Next
Support
FAQs
Can't find an answer? Chat with us on Discord, Twitter or Linkedin.
What is Cyfrin CodeHawks?
What is a competitive audit?
How can I host a competition on CodeHawks?
How is a contest prize pool determined?
How do I get rewarded?
What is a First Flight?
Give us feedback!