highLogic errorEVM-Solidity
TraitForge: Incorrect percentage calculation in NukeFund and EntityForging when `taxCut` is changed from default value
- Payout
- $0
- Protocol
- TraitForge
- Disclosed
- Sep 13, 2024
- Source
- code4rena
TraitForge's NukeFund and EntityForging compute fee shares by integer-dividing an incoming amount by a raw taxCut integer that defaults to 10 (meant as 10%). Because the formula divides by the raw value rather than treating taxCut as a basis-point fraction, ch …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-07-traitforge-findings/issues/221
- https://github.com/code-423n4/2024-07-traitforge-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.