-
Notifications
You must be signed in to change notification settings - Fork 0
Issues: code-423n4/2021-10-pooltogether-findings
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Author
Label
Projects
Milestones
Assignee
Sort
Issues list
Inaccurate Revert Message
1 (Low Risk)
Assets are not at risk. State handling, function incorrect as to spec, issues with comments
bug
Warden finding
resolved
Finding has been patched by sponsor (sponsor pls link to PR containing fix)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
#63
opened Oct 14, 2021 by
code423n4
PrizePool.awardExternalERC721()
Erroneously Emits Events
2 (Med Risk)
#62
opened Oct 14, 2021 by
code423n4
Lack of Pause Mechanism
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Warden finding
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
#61
opened Oct 14, 2021 by
code423n4
Comment Typos
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Warden finding
resolved
Finding has been patched by sponsor (sponsor pls link to PR containing fix)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
#59
opened Oct 14, 2021 by
code423n4
YieldSourcePrizePool._canAwardExternal()
Does Not Prevent the Deposit Token From Being Withdrawn
0 (Non-critical)
#58
opened Oct 14, 2021 by
code423n4
Unnecessary decrement (DrawCalculator.sol)
bug
Warden finding
G (Gas Optimization)
#57
opened Oct 13, 2021 by
code423n4
Miners Can Re-Roll the VRF Output to Game the Protocol
3 (High Risk)
Assets can be stolen/lost/compromised directly
bug
Warden finding
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
#56
opened Oct 13, 2021 by
code423n4
Style issues
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Warden finding
resolved
Finding has been patched by sponsor (sponsor pls link to PR containing fix)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
#52
opened Oct 13, 2021 by
code423n4
unchecked arithmetics
bug
Warden finding
G (Gas Optimization)
resolved
Finding has been patched by sponsor (sponsor pls link to PR containing fix)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
#51
opened Oct 13, 2021 by
code423n4
Unnecessary imports
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Warden finding
disagree with severity
Sponsor confirms validity, but disagrees with warden’s risk assessment (sponsor explain in comments)
resolved
Finding has been patched by sponsor (sponsor pls link to PR containing fix)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
#50
opened Oct 13, 2021 by
code423n4
Less than 256 uints are not efficient
bug
Warden finding
G (Gas Optimization)
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
#49
opened Oct 13, 2021 by
code423n4
function _getPrizeSplitAmount can be refactored
bug
Warden finding
G (Gas Optimization)
resolved
Finding has been patched by sponsor (sponsor pls link to PR containing fix)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
#48
opened Oct 13, 2021 by
code423n4
Immutable variables
bug
Warden finding
G (Gas Optimization)
resolved
Finding has been patched by sponsor (sponsor pls link to PR containing fix)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
#47
opened Oct 13, 2021 by
code423n4
staticcall may return true for an invalid _yieldSource
1 (Low Risk)
Assets are not at risk. State handling, function incorrect as to spec, issues with comments
bug
Warden finding
resolved
Finding has been patched by sponsor (sponsor pls link to PR containing fix)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
#45
opened Oct 13, 2021 by
code423n4
calculateNextBeaconPeriodStartTime casts timestamp to uint64
1 (Low Risk)
Assets are not at risk. State handling, function incorrect as to spec, issues with comments
bug
Warden finding
resolved
Finding has been patched by sponsor (sponsor pls link to PR containing fix)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
#44
opened Oct 13, 2021 by
code423n4
Unnecessary Addition In Loop (PrizeDistributionBuffer.sol)
bug
Warden finding
G (Gas Optimization)
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
#43
opened Oct 13, 2021 by
code423n4
PrizeDistributor.sol#claim()
Remove redundant check can save gas
bug
#41
opened Oct 13, 2021 by
code423n4
PrizeSplit.sol#_totalPrizeSplitPercentageAmount()
Avoid unnecessary copy from storage to memory can save gas
bug
#40
opened Oct 13, 2021 by
code423n4
Adding unchecked directive can save gas
bug
Warden finding
G (Gas Optimization)
resolved
Finding has been patched by sponsor (sponsor pls link to PR containing fix)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
#38
opened Oct 13, 2021 by
code423n4
PrizePool.sol#_canDeposit()
Remove redundant code can make the code simpler and save some gas
bug
#37
opened Oct 13, 2021 by
code423n4
PrizePool.sol#setTicket()
Remove unnecessary variable can make the code simpler and save some gas
bug
#36
opened Oct 13, 2021 by
code423n4
PrizeSplit.sol#distribute()
The value of the event parameter is wrong
1 (Low Risk)
#35
opened Oct 13, 2021 by
code423n4
The formula of number of prizes for a degree is wrong
3 (High Risk)
Assets can be stolen/lost/compromised directly
bug
Warden finding
resolved
Finding has been patched by sponsor (sponsor pls link to PR containing fix)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
#33
opened Oct 13, 2021 by
code423n4
Deposits don't work with fee-on transfer tokens
2 (Med Risk)
Assets not at direct risk, but function/availability of the protocol could be impacted or leak value
bug
Warden finding
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
#30
opened Oct 13, 2021 by
code423n4
Gas: Warden finding
G (Gas Optimization)
resolved
Finding has been patched by sponsor (sponsor pls link to PR containing fix)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
PrizePool.captureAwardBalance
computation can be simplified
bug
#29
opened Oct 13, 2021 by
code423n4
Previous Next
ProTip!
Type g p on any issue or pull request to go back to the pull request listing page.