Transfer fee avoidance
The Vether4 contract's addExcluded function lets a user pay 128 VETH to exclude an address from transfer fees. By exploiting the fee conditions, an attacker can set up a contract that, for a one-time cost, allows all users to avoid transfer fees.
Vader Protocol contest
Originally disclosed on Code4rena
The Vether4.addExcluded() function on mainnet (0x4Ba6dDd7b89ed838FEd25d208D4f644106E34279) allows a user to exclude an address from transfer fees for a cost of 128 VETH. By exploiting the conditions in which fees are taken, it is possible to set up a contract for a once-off cost in which all users can use to avoid transfer fees.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the fee-exclusion check is based on the sender or recipient address being excluded, so a shared contract that is itself excluded can relay transfers for anyone without fees.
Impact
All users could avoid transfer fees after a single 128 VETH payment, reducing the fees the token collects.
What the attacker needed
128 VETH to pay the exclusion fee; Ability to deploy a contract
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Some cryptocurrency tokens charge a small fee when you send them to someone else. This token lets you pay a large one-time fee to mark an address as 'excluded' so it never pays that fee. The report says someone could set up a shared contract that everyone uses to dodge the fee, paying the large fee only once.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.