0G Labs Smart Contracts: Program Info

Triaged by HackenProof
0G Labs

0G is an infinitely scalable data availability layer and data storage system that provides the necessary infrastructure to scale Web3 and bring novel use cases on-chain.

In Scope

Target Type Severity Reward
https://github.com/0glabs/0g-storage-contracts
Smart Contract Critical Bounty
https://github.com/0glabs/0g-da-contract
Smart Contract Critical Bounty
https://github.com/0glabs/0g-da-node
Infrastructure High Bounty
https://github.com/0glabs/0g-chain
Protocol High Bounty
https://github.com/0glabs/0g-da-encoder
Infrastructure Medium Bounty
https://github.com/0glabs/0g-ec-gpu
Infrastructure Medium Bounty
https://github.com/0glabs/0g-da-client
Infrastructure Low Bounty

Out of scope

Target Type Severity
https://github.com/0glabs/0g-storage-contracts/tree/main/contracts/cashier
Smart Contract None
https://github.com/0glabs/0g-storage-contracts/tree/main/contracts/token
Smart Contract None
https://github.com/0glabs/0g-storage-contracts/blob/main/contracts/reward/OnePoolReward.sol
Smart Contract None
https://github.com/0glabs/0g-storage-contracts/blob/main/contracts/reward/ChunkDecayReward.sol
Smart Contract None
https://github.com/0glabs/0g-storage-contracts/tree/main/contracts/uploadMarket
Smart Contract None
https://github.com/0glabs/0g-storage-contracts/blob/main/contracts/utils/Exponent.sol
Smart Contract None

IN SCOPE VULNERABILITIES Smart Contracts

We are looking for evidence and reasons for incorrect behavior of the smart contract, which could cause unintended functionality:

  • Stealing or loss of funds
  • Unauthorized transaction
  • Transaction manipulation
  • Attacks on logic (behavior of the code is different from the business description)
  • Reentrancy
  • Reordering
  • Over and underflows

OUT OF SCOPE VULNERABILITIES Smart Contracts

  • Theoretical vulnerabilities without any proof or demonstration
  • Old compiler version
  • The compiler version is not locked
  • Vulnerabilities in imported contracts
  • Code style guide violations
  • Redundant code
  • Gas optimizations
  • Best practice issues
  • Vulnerabilities that can be exploited through front-run attacks only
  • Codes out of scope in 0g-storage-contract:
    • cashier;
    • token;
    • reward/OnePoolReward;
    • reward/ChunkDecayReward;
    • uploadMarket;
    • utils/Exponent.sol.
  • Avoid using web application scanners for automatic vulnerability searching which generates massive traffic
  • Make every effort not to damage or restrict the availability of products, services, or infrastructure
  • Avoid compromising any personal data, interruption, or degradation of any service
  • Don’t access or modify other user data, localize all tests to your accounts
  • Perform testing only within the scope
  • Don’t exploit any DoS/DDoS vulnerabilities, social engineering attacks, or spam
  • Don’t spam forms or account creation flows using automated scanners
  • In case you find chain vulnerabilities we’ll pay only for vulnerability with the highest severity.
  • Don’t break any law and stay in the defined scope
  • Any details of found vulnerabilities must not be communicated to anyone who is not a HackenProof Team or an authorized employee of this Company without appropriate permission
  • Do not discuss this program or any vulnerabilities (even resolved ones) outside of the program without express consent from the organization
  • No vulnerability disclosure, including partial is allowed for the moment.
  • Please do NOT publish/discuss bugs

We are happy to thank everyone who submits valid reports which help us improve the security. However, only those that meet the following eligibility requirements may receive a monetary reward:

  • You must be the first reporter of a vulnerability.
  • The vulnerability must be a qualifying vulnerability
  • Any vulnerability found must be reported no later than 24 hours after discovery and exclusively through hackenproof.com
  • You must send a clear textual description of the report along with steps to reproduce the issue, include attachments such as screenshots or proof of concept code as necessary.
  • You must not be a former or current employee of us or one of its contractor.
  • ONLY USE the EMAIL under which you registered your HackenProof account (in case of violation, no bounty can be awarded)
  • Provide detailed but to-the point reproduction steps