{"refreshDue":false,"initiative":{"id":"01M761AJ5JRD2CCBH08G61762M","slug":"reproducible-ethereum-clients-official-releases-that-anyone","title":"mab.xyz: Reproducible Builds for the 12 Main Ethereum Clients","summary":"Ethereum runs on client software such as Geth, Lighthouse and Prysm, which node operators download from each client's repositories.\nToday, operators have to trust that each download was built from the public source code untampered.\nThis proposal aims to make the 12 main clients reproducible: anyone can rebuild a release from its source, and get exactly the same binary as the one in the repository.\nWe work with the client teams to achieve reproducibility, and we publish a webpage explaining how anyone can verify a release themselves.","details":"","discourseUrl":"","goalUsd":40000,"status":"approved","type":"grant","sortRank":null,"safeAddress":"0xf8Ef1ef76C3bab8feF8054078E8b1Ecef1a932A1","paidOutUsd":0,"proposer":"0x30EcdAc7469B9D2A1385931cee29d8fC6cb78FA8","durationMonths":6,"recipientTeam":"MAB","recipientUrl":"https://mab.xyz/","topup":false,"milestoneReviewer":"","categories":["infrastructure","opsec"],"sections":{"why":"- **Who is safer:** validators and node operators who run official client releases, and the users who rely on them.\n- **From what:** an attacker who breaks into a client team's build machine or release account and ships a tampered release, while the public source code still looks clean. The xz-utils backdoor in 2024 worked this way: the malicious code was only in the release files, not in the public repository [1].\n- **What anyone can point to afterwards:** official client releases that rebuild from source to exactly the same file, the accepted fixes in each client's repository, and a public webpage that explains how to repeat the check.\n\nWe found no client whose official releases are checked by anyone outside its own team. Two clients check their own builds, some say their builds are reproducible without anyone verifying it, and the rest have done part of the work or none. No tampered client release is known so far. These clients secure all staked ETH.","in_scope":"- Fixes to each client's build process, so its official Linux release can be rebuilt exactly from source. We contribute them to the client's own repository.\n- A public webpage that explains the work and, for each client, how anyone can verify a release themselves.\n- Working with each client team until the fixes are accepted. This is where most of the effort goes.\n\nBy official release we mean the file operators download from the client's release page.\n\nThe 12 clients: Geth, Nethermind, Besu, Erigon, Reth and Nimbus-eth1 (execution), and Prysm, Lighthouse, Teku, Nimbus, Lodestar and Grandine (consensus).","out_scope":"- Reviewing the client source code itself. This work proves that a release matches its source, not that the source is free of bugs.\n- Operating systems other than Linux.\n- A service that rebuilds and checks every new release automatically (this is an initiative itself).\n- L2 clients and validator tooling.","team":"- [Vivi Andersson](https://github.com/vivi365), engineer: PhD student at KTH. Built Geth Rebuild, a tool that checks whether official Geth releases match their source code [2].\n- [Sofia Bobadilla](https://sofiabobadilla.github.io/), coordinator and engineer: PhD student at KTH and member of mab.xyz, works on Ethereum and smart contract security.\n- [Raphina Liu](https://github.com/Stamp9), engineer: PhD student at KTH. Took part in Ethereum Protocol Fellowship cohort 7.\n- [Julien Malka](https://luj.fr/), engineer: postdoc at KTH. Studies build reproducibility across whole software distributions, and showed how one tampered build tool can infect an entire Linux distribution [8].\n- [Martin Monperrus](https://www.monperrus.net/martin/), advisor: Professor of Software Technology at KTH.\n- [Javier Ron](https://github.com/javierron), advisor: postdoc at KTH. Researches how running several different clients keeps Ethereum resilient [4].\n- [Aman Sharma](https://github.com/algomaster99), engineer: PhD student at KTH. Studies why building the same software twice gives different files, and how to fix it [3].\n\nOther funding: CHAINS, a KTH research project financed by the Swedish Foundation for Strategic Research, funds the PhD research of the four KTH students. It does not pay for this engineering work, so this grant pays for the engineers' time. The Ethereum Foundation funded our earlier research on client diversity [5].","why_grant":"Our team has already done this for Geth, the most used execution client, and has studied the problem at scale:\n\n- **Geth:** Geth Rebuild checks whether an official Geth release matches its source code [2]. While building it, Vivi Andersson reported two problems to the Geth team: file paths from the build machine were left inside the release, and the wrong compiler version was used. The Geth team fixed its builds in 2024 and tagged her on the fix [6][7].\n- **Attacks on build tools:** with Julien Malka, we showed that a single tampered build tool can silently spread to nearly all the software of a Linux distribution [8]. It is the kind of attack that hides in the build, not in the source code.\n- **Java clients:** our published study of thousands of Java packages explains the common reasons builds differ and provides a tool that removes some of them [3]. The clients Besu and Teku are written in Java.\n\nWhat is missing is the same work for the other 11 clients: finding what makes their releases differ and getting the fixes accepted. Some client teams have started on their own, such as Reth and Lighthouse [9][10], but none has yet reached an official release that anyone outside the team can rebuild and check.\n\n**References:**\n\n[1] Report of the xz-utils backdoor. https://www.openwall.com/lists/oss-security/2024/03/29/4\n\n[2] Geth Rebuild: Verifiable Builds for Go Ethereum. https://www.diva-portal.org/smash/record.jsf?pid=diva2%3A1908608\n\n[3] Causes and Canonicalization of Unreproducible Builds in Java. https://arxiv.org/abs/2504.21679\n\n[4] Proving and Rewarding Client Diversity to Strengthen Resilience of Blockchain Networks. https://arxiv.org/abs/2411.18401\n\n[5] Ethereum Foundation 2024 Academic Grants. https://blog.ethereum.org/2025/01/17/academic-grants-recipients\n\n[6] Geth issue on reproducible builds. https://github.com/ethereum/go-ethereum/issues/28987\n\n[7] Geth fix for reproducible builds. https://github.com/ethereum/go-ethereum/pull/30321\n\n[8] Trusting-Trust Attack against an Entire Linux Distribution through Binary Manipulation. https://arxiv.org/abs/2607.24888\n\n[9] Reth: reproducible build profile. https://github.com/paradigmxyz/reth/pull/10459\n\n[10] Lighthouse: reproducible builds. https://github.com/sigp/lighthouse/pull/6799","commitments":"- MIT license for the webpage, the how-to guides and any scripts. Fixes use each client's own license.\n- The fixes live in the client repositories, where the client teams maintain them.\n- MAB maintains the webpage and the how-to guides for 12 months after the last milestone."},"milestones":[{"name":"Execution clients reproducible","amount":17500,"adoption":true,"done":false,"link":"","month":"","criteria":["At least 5 execution client teams publish official Linux releases that rebuild from source to exactly the same file, for 2 releases in a row. The technical reviewer repeats the rebuild.","Each of those teams has accepted our fixes into its repository or, where none were needed, links to our how-to guide from its documentation or release notes."]},{"name":"Consensus clients reproducible","amount":17500,"adoption":true,"done":false,"link":"","month":"","criteria":["At least 5 consensus client teams publish official Linux releases that rebuild from source to exactly the same file, for 2 releases in a row. The technical reviewer repeats the rebuild.","Each of those teams has accepted our fixes into its repository or, where none were needed, links to our how-to guide from its documentation or release notes."]},{"name":"Public webpage and how-to guides","amount":5000,"adoption":false,"done":false,"link":"","month":"","criteria":["A public webpage explains the work in plain language and shows, for each of the 12 clients, the result of our rebuild and the release it was done on.","A how-to guide for each reproducible client is published on the page, so anyone can verify a release themselves."]}],"links":["https://github.com/chains-project/geth-rebuild","https://chains.proj.kth.se/","https://chains.proj.kth.se/recommendations-chains.html"],"structured":true,"revision":3,"createdAt":1794425309.362,"approvedAt":1794553709.841},"revisions":[{"n":1,"author":"0x30EcdAc7469B9D2A1385931cee29d8fC6cb78FA8","source":"submit","archived":false,"state":"live","createdAt":1794425309.362},{"n":2,"author":"0x30EcdAc7469B9D2A1385931cee29d8fC6cb78FA8","source":"proposer","archived":false,"state":"live","createdAt":1794425524.722},{"n":3,"author":"0x7767FB920338eED6Fe68A4d7C411f84a3F24f20c","source":"admin","archived":false,"state":"live","createdAt":1794579087.115}],"summary":{"pledged":10000,"received":0,"donated":0,"total":10000,"live":true,"refreshDue":false,"ledger":0,"paidOut":0},"onBallot":true,"pct":25,"pledges":[{"id":"01M7B2PDWXJWDMNMEVR192WPXM","company":"Ethereum Foundation","amountUsd":10000,"status":"pledged","note":"","url":"https://ethereum.foundation/","logoUrl":"https://ipfs.blossom.software/ipfs/bafkreiarrhia2hma6v4ivdtp5z6s6gkpgacwczmhipuacc7cryba4kf2am","createdAt":1794594518.941}],"donations":[],"funded":false,"donationsEnabled":true,"ledger":{"checkedAt":1795847503.799,"ok":true,"intervalMinutes":10,"refreshDue":false,"updating":false}}