Skip to content

Sherlock

Merit Circle

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

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

Disclosed reports

Newest first. Only what Merit Circle chose to make public.

Smart contracts

Unit isn't recalculated on curve modification with setCurvePoint

The setCurvePoint function in TimeLockPool can change the length of the curve but does not update the unit variable, which maps lock duration to curve points. This causes getMultiplier to return incorrect multipliers, either reducing or increasing users' shares.

Merit Circle

High
Business logic

`increaseLock()` should read `userDeposit[_receiver]` instead of `depositsOf[_msgSender()]`

The increaseLock function reads the caller's deposit instead of the receiver's deposit when calculating the remaining lock duration, which is used to determine the multiplier for minted shares. An attacker could cause the receiver to get more or fewer shares than intended by exploiting the difference in remaining durations.

Merit Circle

High
Business logic

Front run `distributeRewards()` can steal the newly added rewards

The reward distribution mechanism allows an attacker to deposit a large amount of tokens just before a reward distribution, capture a disproportionate share of the newly added rewards, and then withdraw immediately after. This is possible because each distribution causes a sudden increase in pointsPerShare, which the attacker can exploit.

Merit Circle

Medium
Business logic

Curve points should be guaranteed to be monotonic increasing

The smart contract's curve points were not validated to be monotonically increasing, so a lower point could be set after a higher one. This could cause deposit and extendLock functions to revert due to underflow when calculating the multiplier.

Merit Circle

Medium