Direct lamport adjustments in refund
and withdraw
bypass Anchor’s safety checks, risking rent exhaustion and account closure.
Manually modifying lamports via try_borrow_mut_lamports()
can inadvertently reduce an account’s balance below the rent-exempt threshold, causing Solana runtime to close the account and lose data.
Fund or contributor accounts may be closed unexpectedly, leading to permanent data loss and failed transactions.
Use CPI to the system program for secure transfers:
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.