Suggestions

Suggestion #91

Elastos Smart Contract Chain Audit by Peckshield

Status

Active

Step 1 of 3Next: Raised

Share this suggestion

Abstract

Image Open image (opens in a new tab)

Peckshield is an industry leading security audit firm with offices in Hangzhou, Beijing, and San Francisco, and consist of seasoned security professionals and senior researchers from world-leading security groups at companies such as Qihoo 360, Microsoft, Intel, Juniper, and Alibaba. We most recently were hired to investigate the bZx Hack and have done security audits for other top projects such as EOS, Ren and Aave.

As the Elastos Smart Contract Chain nears full DPoS consensus we believe it is paramount to conduct a third-party security audit to ensure that dApp developers have the confidence to build DeFi and other high value projects. Elastos uses a modified Geth EVM with a replaced consensus mechanism, although the 36-node DPoS consensus is likely strong, due to Elastos ELA token and mainchain’s strong hashrate guarantees, other vulnerabilities may exist or have been introduced during the development.

We believe we are uniquely suited to working with Elastos because we are primarily Chinese-speaking developers and therefore can interface directly with the Elastos core team - see: https://peckshield.com (opens in a new tab).

Goal

Peckshield will conduct a 1-person-week penetration test and 4-person-week security audit of the Elastos Smart Contract chain node’s open-source code.

Our general costs are 12k USD per 1-person-week, however for our first collaboration we will work on a minor discount to 11k USD per 1-person-week.

Motivation

Hackers that are looking to attack a blockchain system usually look for vulnerabilities that are overlooked and rarely attempt to break the consensus mechanism directly. A comprehensive security audit is required to spot potential vulnerabilities and penetration testing is also necessary to ensure that the system is robust.

There are two primary reasons a security audit is highly recommended:

  1. An actual hack or breach of the systems in a blockchain can be catastrophic. Loss of trust in a system may result in developers abandoning the chain and it will be very hard to earn back this trust, especially when there are other chains operating thus far without major hacks.
  2. A security audit by a reputable firm will instill trust and make it more likely that developers will consider building on the Elastos Smart Contract Chain.

After a security audit is completed and critical issues are addressed, Elastos can promote this milestone to attract developers’ attention.

Our sincere hope is that by doing this audit for the Elastos community, you can be assured that Elastos is truly secure or that steps are taken to address it. The benefits to attracting future development is immeasurable.

Plan introduction

Peckshield is currently busy with projects but can start the security audit at the earliest June 15, 2021. With prompt funding by Cyber Republic DAO in May we can hold the date and start in early June.

Total budget required is 55k USD for 5-person-weeks.

Milestone 1: Start Security Audit

After successful approval of the funding by the Cyber Republic DAO Peckshield will begin the security audit no earlier than June 15, 2021 or within 30 days of receiving access to all relevant source code and required documentation - this is the Commencement Date.

Milestone 2: Start Penetration Test

Within 14 days of the initial funding, Peckshield will begin the penetration test as well.

Completion Milestone

Target date is 3.5 weeks after the Commencement Date to complete all required tasks.

Peckshield will notify Elastos core development teams of severe to critical issues first, and after a reasonable period of time to address these issues, we will deliver the full audit report to the community. Since we don’t know how much time is necessary to address the issues we can make no guarantees on when we can disclose the reports. However if no sincere efforts are made to address critical vulnerabilities we will disclose these after 30 days in hopes that the community can fund external developers to address these issues.

Future Work

If any vulnerabilities or concerns are discovered during the audit we will create further proposals outlining the concerns.
Items not within the scope of this proposal are:

  • DDoS or Stress Tests on the Elastos Smart Contract Chain nodes
    With publicly known DPoS nodes for the network, it may be prudent to measure how much resources are required to disable the consensus mechanism. This will give an understanding of the risks involved if a malicious party wished to bring down the Elastos Smart Contract chain for no obvious benefit.
  • Auditing the TokBridge cross-chain bridge between Elastos Mainchain (ELA) and Elastos Smart Contract Chain
  • Auditing the Elastos Carrier Network
  • Auditing and Penetration Test of the Elastos Hive++ System

Budget introduction

Any excess funds will be returned to Cyber Republic.

For full cooperation, if additional issues are found that are not within budget we will submit a new proposal instead of rolling funds over into the new audits.

If ELA price fluctuations decrease we will do our best to provide a complete report up to the amount of resources we can fund.

Budget amount

7000

Plan

Milestone goalDate

Start date, our backlog requires us to start at the earliest this date.

2020-06-06T08:51:51.099Z

Penetration Test Complete.

This is 1 person-week of work.

Peckshield will attempt to penetrate a Geth node, this will simulate an attack on one of the 36 potentially operating Elastos Smart Contract DPoS nodes.
We will also test and ensure known vulnerabilities are patched properly.

2020-06-20T08:51:51.099Z

General Security Audit Complete

We are not yet able to give a full estimate of how much work is required until we've started. But we will ensure that after 4 weeks the best report we can give is produced for the community.

Peckshield will do a comprehensive security audit of the Elastos Smart Contract Chain code. Any critical vulnerabilities will be reported to the responsible Elastos development teams first. After those are patched a full disclosure will be provided to the Elastos and Cyber Republic community.

2021-08-06T08:58:33.483Z

Budget

TypeMilestoneAmountCriteria

ADVANCE

0

7000

Start Security Audit

CONDITIONED

1

0

N/A - penetration test is ongoing

COMPLETION

2

0

Our complete critical issue report to Elastos core team to address issues, and immediately after issues are addressed or 30 days has elapsed, a full disclosure to the Elastos community of issues round.

Sign in to reuse as a draft Creates a private draft. Nothing is stored until you save it.

Back to top

Language