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
Disclosed reports
Newest first. Only what Ajna Protocol chose to make public.
-
Position NFT can be spammed with insignificant positions by anyone until rewards DoS
DoS High Audit finding +12 collaborators
-
User can avoid bankrupting by calling PositionManager.moveLiquidity where to index is bankrupted index
Business logic High Audit finding +3 collaborators
-
It is possible to steal the unallocated part of every delegation period budget
Business logic Medium Audit finding +6 collaborators
-
Potential unfair distribution of Rewards due to MEV in updateBucketExchangeRatesAndClaim
Business logic Medium Audit finding +2 collaborators
-
Adversary can prevent the creation of any extraordinary funding proposal by frontrunning proposeExtraordinary()
DoS Medium Audit finding +1 collaborator
-
Incorrect calculation of the remaining updatedRewards leads to possible underflow error
Business logic High Audit finding +2 collaborators
-
The lender could possibly lose unclaimed rewards in case a bucket goes bankrupt
Business logic High Audit finding
-
User can exponentially increase the value of their position through the memorializePositions function
Business logic High Audit finding +6 collaborators
-
Delegation rewards are not counted toward granting fund
Business logic High Audit finding +7 collaborators
-
An Optimizer Bug in PositionManager.getPositionIndexesFiltered
Smart contracts Medium Audit finding
-
PositionManager.moveLiquidity could revert due to underflow
DoS Medium Audit finding +2 collaborators
-
PositionManager & PermitERC721 Failure to comply with the EIP-4494
Smart contracts Medium Audit finding
-
The voting thresholds in Ajna’s Extraordinary Funding Mechanism can be manipulated to execute proposals below the expected threshold
Business logic Medium Audit finding +3 collaborators
-
StandardFunding.fundingVote should not allow users who didn’t vote in screening stage to vote
Business logic Medium Audit finding
-
Governance attack on Extraordinary Proposals
Business logic Medium Audit finding +4 collaborators
-
Unsafe casting from uint256 to uint128 in RewardsManager
Smart contracts Medium Audit finding
-
missing isEpochClaimed validation
Business logic High Audit finding +2 collaborators
-
Claiming accumulated rewards while the contract is underfunded can lead to a loss of rewards
Business logic High Audit finding +23 collaborators
-
PositionManager’s moveLiquidity can freeze funds by removing destination index even when the move was partial
Business logic High Audit finding +2 collaborators
-
_updateBucketExchangeRateAndCalculateRewards reward calculation accuracy loss
Medium Audit finding
-
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 Audit finding +2 collaborators
-
Delegate rewards system is unfair to delegates with less tokens and reduces decentralization
Business logic Medium Audit finding +1 collaborator
-
RewardsManager fails to validate pool_ when updating exchange rates allowing rewards to be drained
Access control High Audit finding +3 collaborators
-
Calculating new rewards is susceptible to precision loss due to division before multiplication
Smart contracts Medium Audit finding +2 collaborators
-
PositionManager’s moveLiquidity can set wrong deposit time and permanently freeze LP funds moved
Business logic High Audit finding +1 collaborator