When penalties are applied, higher swap fees should either discourage behavior or transparently redistribute value (e.g., to LPs or the protocol).
Although the contract tracks totalPenaltyFeesCollected, this variable is never updated. Penalty fees are implicitly absorbed by Uniswap’s fee mechanism without explicit accounting or attribution, resulting in misleading state and unclear economic outcomes.
Likelihood:
Occurs whenever penalty fees are applied
Affects all penalized swaps
Impact:
Misleading accounting state
Auditors and integrators may assume penalties are tracked when they are not
Economic behavior becomes opaque
Swap violates phase conditions
Penalty fee override is applied
totalPenaltyFeesCollected remains unchanged
No mechanism exists to reconcile penalty flow
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.
The contest is complete and the rewards are being distributed.