Hunt prep
Before you test FrankenDAO
What 14 disclosed reports say about FrankenDAO: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Business logic lesson | 10 | 0 | – | – | $0 |
| Smart contracts lesson | 3 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
`Staking.unstake()` doesn't decrease the original voting power that was used in `Staking.stake()`
The contract was fixed by storing the original voting power at stake time and decreasing that same amount at unstake time.
Disclosed
-
Staking#_unstake removes votes from wrong person if msg.sender != owner
The ability for users to unstake on behalf of others was removed, and the fix was confirmed.
Disclosed
-
[Tomo-M3] Use safeMint instead of mint for ERC721
The issue was fixed by changing the unstaking logic so that only the NFT owner can unstake, ensuring the receiver can hold NFTs, rather than by adding `safeMint`.
Disclosed
-
`getCommunityVotingPower` doesn't calculate voting Power correctly due to precision loss
The issue was fixed by performing the division once after adding all terms together.
Disclosed
-
castVote can be called by anyone even those without votes
The vote function was fixed to revert when the caller has no votes.
Disclosed
-
Delegate can keep can keep delegatee trapped indefinitely
The issue was fixed by adding a mechanism to address the risk of repeated proposals locking votes.
Disclosed
-
The total community voting power is updated incorrectly when a user delegates
The issue was fixed by adding conditions to check if the delegator or delegatee already had voting power before updating the total community voting power.
Disclosed
-
Unbounded `_unlockTime` allows the attacker to get a huge `stakedTimeBonus` and dominate the voting
The fix was to cap the time bonus at `stakingSettings.maxStakeBonusAmount` when the unlock time exceeds `stakingSettings.maxStakeBonusTime`.
Disclosed
-
[Medium-1] Hardcoded `monsterMultiplier` in case of `stakedTimeBonus` disregards the updates done to `monsterMultiplier` through `setMonsterMultiplier()`
The hardcoded value should be replaced with the monsterMultiplier variable, and the fix was confirmed.
Disclosed
-
Using `ERC721.transferFrom()` instead of `safeTransferFrom()` may cause the user's NFT to be frozen in a contract that does not support ERC721
The issue was fixed by switching to safeTransferFrom.
Disclosed
-
`queue()` should increase `proposalsPassed` instead of `proposalsCreated`
The counters in queue() were changed to increment proposalsPassed, and the fix was confirmed.
Disclosed
-
Staking#changeStakeTime and changeStakeAmount are problematic given current staking design
The report recommends implementing a poke function that recalculates voting power for all tokens based on current multipliers, but the project team stated this is intended behaviour and did not fix it.
Disclosed
-
Adversary can abuse delegating to lower quorum
The project should add a cooldown after delegation or implement checkpoints to prevent quorum manipulation.
Disclosed
-
Veto function should decrease proposalsPassed (and possibly proposalsCreated)
The veto function was changed to decrement both the proposer's and the total proposalsCreated and proposalsPassed counters, and the fix was confirmed.
Disclosed