# Beacon chain security+testing RFP
The Ethereum Foundation (EF) would like to announce a Request for Proposals (RfP) for general security and testing engagements related to the beacon chain and the upcoming merge of Ethereum to the beacon chain.
The EF will consider any proposals that further the security and robustness of Ethereum's beacon chain and the upcoming merge (migration from PoW to PoS). In practice, this means any of the specifications or code in:
- [the eth2spec](https://github.com/ethereum/eth2.0-specs)
- any of the following 4 clients:
- supporting core libraries (e.g. libp2p libs, crypto libs, etc)
**This is an open call.** The RfP is broad and intended to cover a wide variety of engagements. Proposals should be formed based on your team's expertise along with the challenges and needs at hand.
For some ideas around what could constitute a good engagement, see the following section.
## Potential areas of focus
The following are some representative starting points.
This list is neither exhaustive nor is it very detailed. Proposals are expected to be much more fleshed out than anything found here.
### live network analysis
Use tools to gather data and analyse live beacon chain networks (both testnets and mainnet). There is a lot going on at the network layer and likely much to better understand and improve.
### network load testing and simulation
Use simulation (e.g. using [Protocol Labs' Testground](https://docs.testground.ai/)) to understand network propagation, finality, and liveness under varied conditions.
### client load testing
Subject beacon chain clients to varied load profiles or under sub-optimal resource consumption to better understand general load, dos vectors, and potential targets for optimization.
### novel fuzzing
[Sigma Prime's beacon-fuzz](https://github.com/sigp/beacon-fuzz) fuzzes critical state transition targets today. Introduce novel fuzzing methods and targets beyond those already covered by beacon-fuzz.
### formal verification
Apply formal verification techniques to verify the spec, critical tools, components of clients, or cryptographic libraries. Existing work in this domain includes Runtime Verifications [K beacon-chain-spec](https://github.com/runtimeverification/beacon-chain-spec) and [ConsenSys's dafny spec](https://github.com/ConsenSys/eth2.0-dafny).
### consensus attacks
Studies of new theoretical attacks on beacon chain consensus.
### new consensus test vectors
Extensions of consensus test vectors to aid client compliance.
### merge and sharding r&d
The two major upgrades coming to the beacon chain are the merge and sharding. Any experiments, research, development, or analysis that helps get us there safely and quickly.
## Process summary
The entire process can be summarised as follows:
1. **Request:** Release of RfP (this post)
2. **Gather:** Vendors submit proposals
3. **Deliberate:** EF decides which proposal(s) to accept, and comes up with a plan based on the resources and needs of the accepted proposal(s).
4. **Propose:** EF proposes the plan to vendor, and makes adjustments based on vendor's feedback
5. **Begin:** Vendor accepts and work begins
## Fee structure
Based on the timeline of this engagement, the chosen vendor(s) will be expected to submit 2 invoices:
- a first invoice of 40% of the total engagement fee at the start of the engagement
- a second invoice of 60% of the total engagement fee at the end of the engagement, following the delivery of the summary report and a 5 day review period.
### Payment method
The vendor will be given the option to be paid in Fiat money (via bank transfer) or ETH.
If the vendor chooses to be paid in ETH, the value of ETH described under the agreement will be the value in USD at NYSE closing time (4 PM EST) on the day prior to the due date (as described at https://www.coingecko.com).
## Bidding instructions
Upon reception of this request, interested vendors are expected to confirm receipt and intention to bid on the engagement.
In this confirmation, they should explain what they need from us in order to get started. As well as bring attention to areas in which they feel they do not have significant expertise. We will use this information to try to provide appropriate entrance material for the engagement.
Proposals must be submitted before April 20th, 2021 at 5pm PST*. We expect to take 1 week to deliberate and respond.
Please send initial confirmations, and proposals (in PDF format) to the following address: [email protected]
_Feel free to send us any questions you may have: [email protected]