Hunt prep
Before you test Allora
What 49 disclosed reports say about Allora: 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 | 30 | 0 | – | – | $0 |
| DoS lesson | 13 | 0 | – | – | $0 |
| Access control lesson | 3 | 0 | – | – | $0 |
| Misconfiguration lesson | 1 | 0 | – | – | $0 |
| Race condition lesson | 1 | 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.
-
Adversary can arbitrarily trigger a chain halt by sending `MsgRemove{Delegate}Stake` with negative amount
The protocol team fixed this issue by validating that the amount is non-negative in the stake removal functions.
Disclosed
-
Malicious Reputer cause emissions/msgserver/InsertBulkReputerPayload to fail
The issue was fixed by removing the aggregation step so each reputer submits data separately, preventing one reputer from blocking others.
Disclosed
-
Not appropriate Inferences will be used when calculating the forecast
The issue was fixed by assigning the filtered list back to forecast.ForecastElements before further processing.
Disclosed
-
`GenerateForecastScores` acidentally updates inferences scores
The issue was fixed by changing the insertion to InsertWorkerForecastScore.
Disclosed
-
RemoveStakes and RemoveDelegateStakes silently handle errors in EndBlocker
The issue was fixed by updating the state first using a cache context and only writing the changes if there are no errors.
Disclosed
-
Lack of Authentication in OnRecvPacket
The protocol team fixed this issue by adding authentication based on channel ID and sender.
Disclosed
-
Standard deviation calculation is biased
The issue was fixed by applying Bessel's correction, dividing by N-1 instead of N.
Disclosed
-
Lack of Timeout leads Resource Exhaustion in API Client
The protocol team fixed this issue by adding timeout configurations to the HTTP client.
Disclosed
-
Incomplete Topic Processing Due to Continuous Retry on Pagination Error
The continue statement should be changed to break when failing to get IDs of active topics, and the protocol team fixed this issue in a pull request.
Disclosed
-
Potential race conditions due to usage of ````sdk.Context```` in concurrent goroutines
The protocol team fixed this issue by creating a copy of sdk.Context for each goroutine, as stated in the discussion.
Disclosed
-
`GetForecastScoresUntilBlock` can get more score samples than the max allowed
The cap should also be applied inside the inner loop to prevent collecting more scores than the maximum limit.
Disclosed
-
If old coefficient is bigger than the new one then the reputer has it's coeff reduced more than it should
The report suggested taking the absolute value of the difference, but the protocol stated no action is required.
Disclosed
-
math miscalculation artificially deflates scores
The protocol team fixed this issue in a pull request.
Disclosed
-
The SelectTopNWorkerNonces function lacks a sorting algorithm internally
The protocol team fixed this issue by adding a sorting step within the SelectTopNWorkerNonces function.
Disclosed
-
The malicious node may not execute the http request
The external service should query data from the blockchain instead of relying on a node to call it.
Disclosed