A race condition between mint and repay functions in the Alchemist contract allows users to manipulate their debt position by repaying less than minted and immediately minting again.
The contract allows users to:
Mint tokens
Repay less than the minted amount
Immediately mint again without proper debt validation
Users can manipulate their debt position
Potential economic damage to the protocol
Risk of undercollateralized positions
System debt accounting could become inaccurate
Foundry
Manual Review
Add debt cooldown period:
Enforce full repayment:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.