Platform: Code4rena
Start Date: 23/05/2022
Pot Size: $75,000 USDC
Total HM: 23
Participants: 75
Period: 7 days
Judge: GalloDaSballo
Total Solo HM: 13
Id: 130
League: ETH
Rank: 48/75
Findings: 1
Award: $112.68
š Selected for report: 0
š Solo Findings: 0
š Selected for report: IllIllI
Also found by: 0x1f8b, 0x52, 0xNazgul, 0xNineDec, AlleyCat, BouSalman, CertoraInc, Chom, Dravee, Funen, GimelSec, Hawkeye, MaratCerby, Nethermind, Picodes, RoiEvenHaim, SooYa, TerrierLover, WatchPug, _Adam, asutorufos, berndartmueller, c3phas, catchup, cccz, cryptphi, csanuragjain, delfin454000, djxploit, fatherOfBlocks, gzeon, hake, hansfriese, horsefacts, hyh, jayjonah8, minhquanym, oyc_109, p_crypt0, pauliax, robee, rotcivegaf, sach1r0, sashik_eth, simon135, sorrynotsorry, teddav, unforgiven, xiaoming90
112.68 USDC - $112.68
Three out of four access controlled functions perform the require(msg.sender == minter);
check on the beginning. This can be replaced by a modifier.
Executing the _transfer
method within the contract can have the address(0)
as the recipient and sender of the transaction.
ā
ā
ā
Having a TODO as a comment. If it is already implemented, erase it.
Having a TODO as a comment. If it is already implemented, erase it.
The Deposit
and Supply
events will be triggered independently on the outcome of the call. If there is any other blockchain service that hears those events to perform actions, this call can be exploitable by calling deposit_for
with the required parameters to bypass the require
statements on lines 772
, 773
and 774
.
Those events can be either emitted inside the if statement
after the assertion or the whole if statement
can be replaced with a require
statement placing the following calls then.
ā ā ā
Change of important parameters or states do not trigger events. No events are triggered when calling setPauser
(L40), setPause
(L50), setFeeManager
(L55), setFee
(L65) are called.
ā
ā
ā
Having a TODO as a comment. If it is already implemented, erase it.
No events are triggered when calling setTeam
(L64), acceptTeam
(L69).
#0 - GalloDaSballo
2022-07-02T00:52:49Z
Disagree because of gas
Valid Low
Valid NC
Valid NC
Valid NC
Valid NC
Non-Critical
Nice short and sweet report
#1 - GalloDaSballo
2022-07-02T00:53:02Z
1 L, 4 NC