Skip to content

Code4rena

Ajna Protocol

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

disclosed reports
25
most reported class
Business logic
bug classes found
4
first disclosure
2023
Find Ajna Protocol on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Ajna Protocol chose to make public.

ReportClassSeverityBountyCVSSVotesDisclosed
Position NFT can be spammed with insignificant positions by anyone until rewards DoS DoS High – – – 29 Jun 2023
User can avoid bankrupting by calling PositionManager.moveLiquidity where to index is bankrupted index Business logic High – – – 29 Jun 2023
It is possible to steal the unallocated part of every delegation period budget Business logic Medium – – – 29 Jun 2023
Potential unfair distribution of Rewards due to MEV in updateBucketExchangeRatesAndClaim Business logic Medium – – – 29 Jun 2023
Adversary can prevent the creation of any extraordinary funding proposal by frontrunning proposeExtraordinary() DoS Medium – – – 29 Jun 2023
Incorrect calculation of the remaining updatedRewards leads to possible underflow error Business logic High – – – 29 Jun 2023
The lender could possibly lose unclaimed rewards in case a bucket goes bankrupt Business logic High – – – 29 Jun 2023
User can exponentially increase the value of their position through the memorializePositions function Business logic High – – – 29 Jun 2023
Delegation rewards are not counted toward granting fund Business logic High – – – 29 Jun 2023
An Optimizer Bug in PositionManager.getPositionIndexesFiltered Smart contracts Medium – – – 29 Jun 2023
PositionManager.moveLiquidity could revert due to underflow DoS Medium – – – 29 Jun 2023
PositionManager & PermitERC721 Failure to comply with the EIP-4494 Smart contracts Medium – – – 29 Jun 2023
The voting thresholds in Ajna’s Extraordinary Funding Mechanism can be manipulated to execute proposals below the expected threshold Business logic Medium – – – 29 Jun 2023
StandardFunding.fundingVote should not allow users who didn’t vote in screening stage to vote Business logic Medium – – – 29 Jun 2023
Governance attack on Extraordinary Proposals Business logic Medium – – – 29 Jun 2023
Unsafe casting from uint256 to uint128 in RewardsManager Smart contracts Medium – – – 29 Jun 2023
missing isEpochClaimed validation Business logic High – – – 29 Jun 2023
Claiming accumulated rewards while the contract is underfunded can lead to a loss of rewards Business logic High – – – 29 Jun 2023
PositionManager’s moveLiquidity can freeze funds by removing destination index even when the move was partial Business logic High – – – 29 Jun 2023
_updateBucketExchangeRateAndCalculateRewards reward calculation accuracy loss – Medium – – – 29 Jun 2023
Calling StandardFunding.screeningVote function and ExtraordinaryFunding.voteExtraordinary function when block.number equals respective start block and when block.number is bigger than respective start block can result in different available votes for same voter Business logic Medium – – – 29 Jun 2023
Delegate rewards system is unfair to delegates with less tokens and reduces decentralization Business logic Medium – – – 29 Jun 2023
RewardsManager fails to validate pool_ when updating exchange rates allowing rewards to be drained Access control High – – – 29 Jun 2023
Calculating new rewards is susceptible to precision loss due to division before multiplication Smart contracts Medium – – – 29 Jun 2023
PositionManager’s moveLiquidity can set wrong deposit time and permanently freeze LP funds moved Business logic High – – – 29 Jun 2023