Holograph contest - Franfran's results

Omnichain protocol for deploying, minting, & bridging NFTs between blockchains.

General Information

Platform: Code4rena

Start Date: 18/10/2022

Pot Size: $75,000 USDC

Total HM: 27

Participants: 144

Period: 7 days

Judge: gzeon

Total Solo HM: 13

Id: 170

League: ETH

Holograph

Findings Distribution

Researcher Performance

Rank: 138/144

Findings: 2

Award: $0.00

QA:
grade-c
Gas:
grade-c

🌟 Selected for report: 0

🚀 Solo Findings: 0

Comments

Should update to @dev bytes32(uint256(keccak256('eip1967.Holograph.baseGas')) - 1) https://github.com/code-423n4/2022-10-holograph/blob/main/contracts/module/LayerZeroModule.sol#L140

Should update to @dev bytes32(uint256(keccak256('eip1967.Holograph.gasPerByte')) - 1) https://github.com/code-423n4/2022-10-holograph/blob/main/contracts/module/LayerZeroModule.sol#L146

Logic

Missing address(0) check for the signature recover. This is reported as Low finding because they are no heavy side effects: https://github.com/code-423n4/2022-10-holograph/blob/main/contracts/HolographFactory.sol#L220 https://github.com/code-423n4/2022-10-holograph/blob/main/contracts/HolographFactory.sol#L333-L334 As an address(0) return from ecrecover may mean that the recover failed.

Misc

Function that was let here for testing purposes. Not much issue because is has proper access control and the admin is initialized: https://github.com/code-423n4/2022-10-holograph/blob/main/contracts/HolographOperator.sol#L274-L294

This function can use the view keyword as it is not making any state change and is made to estimate gas usage that is mostly called off-chain in this context: https://github.com/code-423n4/2022-10-holograph/blob/main/contracts/HolographOperator.sol#L549

AuditHub

A portfolio for auditors, a security profile for protocols, a hub for web3 security.

Built bymalatrax © 2024

Auditors

Browse

Contests

Browse

Get in touch

ContactTwitter