Skip to content

Sherlock

FrankenDAO

Every publicly disclosed report for FrankenDAO and what kind of bugs they were.

disclosed reports
14
most reported class
Business logic
bug classes found
2
first disclosure
2022
Find FrankenDAO on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what FrankenDAO chose to make public.

Business logic

`Staking.unstake()` doesn't decrease the original voting power that was used in `Staking.stake()`

The staking contract recalculates a token's voting power at unstake time using current admin-set parameters, rather than the value recorded at stake time. If the admin changes a multiplier between staking and unstaking, the recalculated value can exceed the stored voting power, causing an underflow revert and preventing the user from unstaking.

FrankenDAO

High
Smart contracts

Staking#_unstake removes votes from wrong person if msg.sender != owner

The unstake function removes voting power from the caller instead of the token owner when an approved third party unstakes on behalf of the owner. This can leave the caller with zero votes and their NFT permanently trapped, and allows manipulation of voting power.

FrankenDAO

High
Smart contracts

[Tomo-M3] Use safeMint instead of mint for ERC721

The staking contract uses `_mint` instead of `_safeMint` when minting a proof-of-staking NFT to `msg.sender`. If `msg.sender` is a contract that cannot handle ERC721 tokens, the NFT could become stuck in that contract.

FrankenDAO

Medium
Business logic

castVote can be called by anyone even those without votes

The governance contract's vote casting function did not check whether the caller had any voting power, so anyone could vote with zero votes. Because each address receives a gas refund for voting, an attacker could use many addresses to drain the vault set aside for refunds.

FrankenDAO

Medium
Business logic

The total community voting power is updated incorrectly when a user delegates

The total community voting power is updated incorrectly when a user delegates their staked tokens, because the update logic does not check whether the delegator or delegatee already had voting power. This can cause the total community voting power to be wrong.

FrankenDAO

High
Business logic

[Medium-1] Hardcoded `monsterMultiplier` in case of `stakedTimeBonus` disregards the updates done to `monsterMultiplier` through `setMonsterMultiplier()`

The staking contract hardcoded the monster multiplier when calculating the staked time bonus, so any governance update to the multiplier via setMonsterMultiplier would not affect that bonus. An attacker could exploit this to receive a higher staked time bonus than intended, potentially gaining more voting power.

FrankenDAO

Medium
Business logic

`queue()` should increase `proposalsPassed` instead of `proposalsCreated`

The queue() function incremented the proposalsCreated counters for the proposer and the community instead of the proposalsPassed counters. Because the two counters can have different multipliers, the proposer's voting power bonus was calculated incorrectly.

FrankenDAO

Medium
Business logic

Adversary can abuse delegating to lower quorum

The quorum threshold for a proposal is fixed at creation based on total community voting power, which can be artificially lowered by delegating votes away. A group of users can delegate to each other to reduce total votes, create a proposal with a lower quorum, then self-delegate to regain voting power and more easily meet quorum.

FrankenDAO

Medium