Whitelisted addresses are exempt from transfer taxes but still pay burn taxes, violating the intended invariant that whitelisted users bypass all taxes. The burn function does not check if the caller is whitelisted.
Transfers involving whitelisted addresses skip taxes entirely.
No validation for whether msg.sender is whitelisted.
Whitelisted users still pay burn taxes.
The expectation is that Whitelisted users should burn amount tokens without any tax. However the code implementation shows Whitelisted users pay burn taxes, reducing their balance by amount + taxAmount
Whitelisted users still pay burn taxes even though they are not supposed to.
Foundry
Add a whitelist check to the burn function:
By Design according to the sponsor
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.