Hunt prep
Before you test Holograph contest
What 27 disclosed reports say about Holograph contest: 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 | 15 | 0 | – | – | $0 |
| Access control lesson | 3 | 0 | – | – | $0 |
| DoS lesson | 3 | 0 | – | – | $0 |
| Smart contracts lesson | 3 | 0 | – | – | $0 |
| Race condition lesson | 2 | 0 | – | – | $0 |
| Crypto 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.
-
An attacker can manipulate each pod and gain an advantage over the remainder Operators
Use two independent random numbers for pod and operator selection, and consider adding controls like waiting times before joining a pod.
Disclosed
-
LayerZeroModule miscalculates gas, risking loss of assets
The project added destination chain-specific _baseGas and _gasPerByte values and re-engineered lzReceive to be fault-proof, and the issue was resolved.
Disclosed
-
An attacker can lock operator out of the pod by setting gas limit that’s higher than the block gas limit of dest chain
Limit the gas limit to the maximum realistic amount that can be used on the destination chain, including gas used up to the check.
Disclosed
-
It is possible that operator loses sent ETH after calling HolographOperator contract’s executeJob function
The catch block should transfer msg.value back to msg.sender when the bridge call fails.
Disclosed
-
Bad source of randomness
The report recommends using a decentralised oracle such as Chainlink VRF for random number generation, but notes the tradeoffs given the prerequisite of a compromised endpoint.
Disclosed
-
Incorrect implementation of ERC721 may have bad consequences for receiver
The operator argument should be msg.sender, and the project said this would be updated and linked a pull request for the fix.
Disclosed
-
HolographERC721.safeTransferFrom not compliant with EIP-721
The ERC-165 check in the require statement should be removed so that onERC721Received is always called, and the project said it would be updated to be fully ERC721 compliant.
Disclosed
-
HolographERC20 breaks composability by forcing usage of draft proposal EIP-4524
The project said it could be updated so the transfer does not revert when the EIP is not supported, and a fix PR was linked.
Disclosed
-
_payoutEth() calculates balance with an offset, always leaving dust ETH in the contract
The transfers should be based on the full contract balance, removing the gasCost subtraction, and the team confirmed the function will be refactored.
Disclosed
-
Wrong slashing calculation rewards for operator that did not do his job
The slashing logic was changed to use the base bonding amount instead of a percentage-based approach.
Disclosed
-
HolographERC721.approve not EIP-721 compliant
The contract was updated to follow the ERC721 spec, so approved addresses can no longer approve other addresses.
Disclosed
-
Attacker can force chaotic operator behavior
The scheduling algorithm should be updated to mitigate the issue, as confirmed by the project.
Disclosed
-
Beaming job might freeze on dest chain under some conditions, leading to owner losing (temporarily) access to token
The report recommends allowing other operators to execute the job without slashing the selected operator during a gas spike, and a force-fail after EXPIRY_NUM blocks was suggested but not confirmed as implemented.
Disclosed
-
PA1D#bidSharesForToken returns incorrect bidShares.creator.value
The function should multiply the basis point value by 10^16 to convert it to an 18-decimal percentage; the project said it would implement this.
Disclosed
-
Bond tokens (HLG) can get permanently stuck in operator
The project said the issue was already fixed for the next update; the report also recommends allowing withdrawal of bonded amounts for non-operators or removing the zero-balance requirement.
Disclosed