The smart contract selects a pod and an operator using the same random number, creating a biased distribution. An attacker can manipulate pod membership to increase their chance of being selected for jobs.
The LayerZeroModule contract used global baseGas and gasPerByte values from the source chain to calculate the gas limit for destination-chain messages, instead of using destination-specific values. When these values differ between chains, the delivery could be underpriced, causing lzReceive to revert and the NFT to become stuck permanently.
A user can set an arbitrarily high gas limit for a cross-chain job, exceeding the destination chain's block gas limit, causing the operator's execution to fail. This locks the operator out of the pod, preventing them from executing further jobs and recovering their bond.
When an operator calls executeJob with ETH and the internal bridge call fails, the catch block marks the job as failed but does not refund the ETH, which becomes stuck in the contract. The operator loses the sent ETH.
The contract used block.number and block.timestamp as a source of randomness to select a primary operator. A compromised layer-zero endpoint could retry the selection until the result favoured the attacker.
The ERC721 enforcer contract passed its own address as the operator argument when calling onERC721Received on a receiving contract, instead of the actual caller of safeTransferFrom. A receiving contract that relies on that argument for bookkeeping or to decide whether to accept the transfer would act on false information, so transfers could be wrongly rejected or credited incorrectly.
The safeTransferFrom implementation in HolographERC721 required the receiving contract to advertise ERC-165 support before calling onERC721Received, which the EIP-721 specification does not require. As a result, transfers to receivers that implement only onERC721Received, which is most receivers in practice, would revert and the tokens could not be delivered.
The HolographERC20 enforcer required any contract recipient of a safeTransferFrom to implement the draft EIP-4524 receiver interface, reverting otherwise. This made tokens issued through the enforcer unusable with most DeFi contracts that do not support that draft standard.
The ETH payout function subtracts an estimated gas cost from the contract balance before distributing funds, so a small remainder is always left behind. If that dust is too small, later payout calls revert and the ETH becomes stuck because no other withdrawal function exists.
The slashing logic in the Holograph operator contract deducts the entire base bond amount from an operator who fails to execute a job, instead of the percentage specified in the documentation. An attacker could exploit this to cause unfair punishment or manipulate rewards, as the full bond is transferred to the next operator rather than a portion.
The approve function in HolographERC721 allows an approved address to approve another address, which violates EIP-721. An attacker who is approved for a token could approve a malicious address and steal the token.
Any user can create many empty operator pods by bonding and immediately unbonding a large amount of tokens to a high pod tier, causing the scheduler to frequently select an empty pod. This leads to 'open season' where any operator can execute jobs, wasting gas for others.
A bridge job can get stuck on the destination chain if the selected operator fails to complete it and the gas price remains above the user's set limit, preventing anyone else from executing the job. The token owner temporarily loses access to the token until gas prices fall.
The bidSharesForToken function returns creator bid share values in raw basis points instead of the 18-decimal percentage format expected by the Zora market. This causes incorrect royalty calculations when the market validates or uses the bid shares.
The payout functions call ERC20 transfer inside a require statement that expects a boolean return value. For tokens that do not return a boolean, the transfer reverts even when successful, so payouts are blocked and tokens remain stuck in the contract.
When a job is executed by someone who is not an operator, the slashed bond amount is credited to that caller's bonded balance, but the bonding function requires a zero bonded balance, so the tokens cannot be retrieved. An attacker could cause bond tokens to become permanently stuck in the contract.
The initializer of holographable tokens is vulnerable to reentrancy, allowing an attacker to set the holograph contract address to an untrusted contract. This lets the attacker control the bridge and operator addresses, enabling unauthorised transfers of the token.
The beforeApprovalAll and afterApprovalAll event hooks in HolographERC721.sol only pass the 'to' and 'approved' parameters, omitting the 'owner' (the address granting approval). As a result, contracts listening to these events cannot determine who initiated the approval, making the event effectively unusable for reacting to approvals.
The enforcer contract's receive() function does not forward calls to the underlying implementation, so any value sent with empty calldata is trapped and treated as royalties rather than reaching custom logic. An attacker could send value expecting a custom payable action, but the funds are instead diverted to payout addresses.
The Holographed ERC721 contract gives the user-created source contract the power to burn and transfer any user's NFT without their approval. An attacker who controls or compromises the source contract owner's key could therefore steal or destroy users' NFTs.
The unbonding function in HolographOperator.sol returns the full bonded amount to the operator without deducting the 0.1% withdrawal fee described in the protocol documentation. An operator could therefore unbond and re-bond freely without paying the intended penalty, weakening the incentive to stay bonded.
The Holograph operator selection mechanism allows other operators to front-run the selected operator during a gas price spike by submitting a transaction with a higher gas price, causing the selected operator to be slashed. An attacker could profit from the slashed reward.
The smart contract checks for a gas spike using the current transaction's gas price, which an attacker can manipulate by submitting a flashbots bundle with a low gas price and a separate bribe to the miner. This allows a dishonest operator to claim an honest operator's bond even when gas prices are high.
The executeJob function deletes the job record before attempting the bridge call, so if the call fails the job cannot be retried and the NFT is permanently lost. An attacker could cause the bridge call to fail, for example by providing insufficient gas, resulting in the loss of the NFT.
The gas limit check in HolographOperator.sol is inaccurate because the actual gas available for the bridge call is less than the checked amount due to the 1/64 rule. An attacker can exploit this gap to make the bridge call fail while the job execution continues, causing the token owner to lose access to the bridged token.
The isOwner and onlyOwner access-control utilities in the ERC721H/ERC20H base contracts could be tricked into returning true for an attacker because the enforcer sometimes calls implementation functions directly without appending the caller's address to the calldata. An attacker could therefore trigger owner-only logic in derived contracts by supplying a crafted data parameter.
A user can set an extremely low gas price when requesting a cross-chain job, so the selected operator is compensated far less than the actual gas cost. Because the operator is locked out of the pod until the job is executed, they must either pay the difference or remain unable to take other jobs or withdraw their bond.
HC
Holograph contest
High
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.