Vitalik Buterin wrote on November 26 that wallet chips should not only have open-source code, but should remain open all the way down to the GDS physical layout. According to reports, in-depth inspection would destroy the chip, so testing can only be done on a sample. Ledger’s CTO disagreed, arguing that publishing the design cannot prove what is actually inside the chip you bought.

I studied nuclear engineering, and in my view, this is a sampling problem.

1. Suppose the proportion of tampered chips is p. If you randomly test n chips, the probability of detecting at least one is 1 − (1 − p)^n, assuming the tests never miss a tampered chip.

2. When p is 1%, you need about 300 samples to reach 95% confidence. This can help identify a compromised batch.

3. But if just one device is deliberately switched out on its way to you, random sampling is of little help. And you can't destroy your own wallet just to inspect it.

So opening up the layout helps, but it only gets halfway there. It gives inspectors a reference for comparison. Trusting the particular device in your hands still depends on the chain of custody from the wafer fab all the way to you.

If you were designing this, which threat would you defend against first: a compromised batch or a single targeted wallet?

#VitalikWantsWalletChipDesignsOpened $ETH