Pinned Tweet
- 99% of current code is not secure and correct
- Anything not secure and correct is going to get hacked in the next couple years.
- It's going to be an exciting next couple of years, with widespread massive hacks, outages, and data thefts.
- The current world runs on code.
- What gets humanity through this period is redundancy. Use B when A goes down.
- Fewer dependancies matter more now than ever before.
- I believe it is _possible_ to write secure and correct software (I've spent most of the last few years doing it)
- Essentially all the code we have today is going to have to be either corrected or rewritten.
It might matter if your blockchain splinters into competing forks, or halts if the world's internet breaks for a few days.
I might be paranoid, but I think we all need to prepare for a large-scale temporary breakdown of the internet
Something like a network partition caused by a major BGP-like incident, or so much infrastructure being down / compromised that large parts of the network stop communicating with each other for a few hours / a day. We have been operating under the assumption that the internet is a reliable layer, but I think that assumption might break in the next 12/24 months
For defi protocols, we need to prepare for a scenario where Ethereum mainnet does not finalize for a day, with 2-3 competing forks being built in parallel
You can think about:
- Containing exposure. How do you trigger your circuit breakers across different networks? Can you have geographic redundancy?
- Maintaining critical operations. If you rely on bots, what happens if they are all running in a network that becomes unreachable?
- Avoiding unsafe transactions. For example, if two forks A and B are being built, and you send a swap transaction on A, but B becomes canonical, your transaction on A could be replayed on B. So you need to be mindful of replay risks, inconsistent chain states, etc.
- Off-chain code. How robust is your offchain code to reorgs and temporary loss of finality?
- Chain finality / L2s. What happens if the L2 sequencer is unreachable? How does finality work on non-EVM chains you use?
This might sound like sci-fi and far-fetched. But given everything we have been seeing over the past days/months, I think such an incident, while still unlikely, is now plausible
You don't need to go full doomsday, but I would recommend including this as a worst-case scenario in your incident response plan
1
15
1,111
I've told all my family to make sure they have money at two different banks.
It's going to be a wild next two years.
5 completely separate critical infrastructure failures in a single week is unprecedented.
- NSA internal classified comms network down
- JPMorgan Chase and US banking network software bug
- United Airlines system outage system outage
- Federal Aviation Administration malfunctioning router
- Microsoft 365 Global outage software bug
what is going on?
I certainly don't think zero dependancies is always the right number, but the right number for a skilled team is a closer to zero than current common practice.
Using an external dependency usually brings in 50x the code that I actually need. More in deep tree package management world. That extra code today has bugs, and dependency code that I actually end up using is more complicated because of all that extra code. Much harder to be sure you are correct.
Please stop suggesting companies rewrite all their dependencies in house. It adds such overhead, it turns one problem into many and there is no guarantee of any security benefit.
2
21
1,228
Transaction here, from an account funded by the EF. etherscan.io/tx/0x5dd574df96…
1
4
537
Well, I melted off a bit of my finger and permanently destroyed an ESP32, ESP32-S3.
Productive Saturday.
3
29
1,297
One of my favorite talks I've given.
Three good stories from human spaceflight, and how they tie to crypto incident response.
youtube.com/watch?v=OjukdGED…
2
17
1,789
This is serious voodo.
Problem: Post-quantum signatures are performance incompatible with high-performance distributed blockchain consensus.
Solution: Get rid of almost all signatures from the consensus protocol (!!) Now PQ safe scales even better than the old way.
Quantum Cadence is out. Turns out to be post-quantum secure does not really cost us any meaningful fast-path performance, despite post-quantum signatures being much bigger. In fact, Quantum Cadence scales better with the number of proposers.
3
15
1,326

















