[BUIDL Asia 2023] Role of Cryptography and Distributed Systems in a Complex World
BUIDL Asia 2023 · 1 Jul 2023 · 16:07
Federico Carrone, founder of LambdaClass, shares lessons from eighteen years in distributed systems and applied cryptography on why crypto infrastructure must withstand an increasingly complicated world. The talk covers the fragility of centralized platforms, including account bans, the case for engineering discipline such as testing and public due diligence, and a push for faster zero-knowledge validity proofs through the open source Lambda Works library and Starknet work. It also points to homomorphic encryption and multi-party computation as next frontiers.
Speakers
Topics
From BUIDL Asia 2023, hosted by Kryptoplanet.
Transcript
hey I wanted to give some perspective of my experience in cryptography on especially in crypto so I'm Federico feather Fred or as you prefer I'm the founder of Lambda class and I have been working distributed systems and also applied cryptography on exploit development for the last 18 years of my life it's the only thing I know how to do on the last six years I have been working in infrastructure in crypto especially on ethereum mostly on low level stuff rather than higher level on the last three years I have been focusing a lot of my work on my company's work in CK validity proofs or computational Integrity or hope
however you prefer to to call it so the first slide is a slighter lag because I come from Argentina Argentina is a very chaotic complex country we have 110 inflation we have like five percent in I think five days or something like that on the last few years I think we exported the worst of our country to the rest of the world a few years ago I remember uh I opened a newspaper and I saw this picture and I was like what like what's happened in the U.S like for me I'm living in South America the US was like the reference of things organized on things working correctly on
I think this picture shows that we're going into a very complex World it doesn't matter if you come from the right from the left if you're rich or you're poor what's sure from my point of view is that things are going to be more complicated that doesn't mean that they're going to be bad I'm not a negative person or I try not to be but oh sorry I do think that things are going to be way more complicated one example of this is that for example in my country there was a lawsuit against the judicial system because the election of uh one particular judge judging a corruption case was selected by Han it was not selected by randomly normally in most countries the selection of Judges is done randomly so that's a good
example of something that concerned us on is related to blockchains to crypto something's as simple as throwing a dice nowadays is being questioned on I'm seeing similar things happening all around the world like everybody's questioning everything that that exists on that's related to inequality on the the transition in some way from the West uh to the east on different demographic changes were seen in the world so from my point of view that's why it doesn't matter where you sit on the ideological Spectrum or in terms of wealth or values we all should embrace infrastructure that cannot be criticized infrastructure
that works in any case on where there are no like big debates if you come from engineering the last few days for example there was a big debate in the RAS Community I I come I work with rust since the almost last decade and there's a very big debate even about things like that how decisions are being made to choose people speaking in in conferences so everything's been in question on we need systems that can adapt to those environments so a concrete example of what I'm trying to say is like at left we can see that a white hacker hacked into Microsoft Bing search engine one of the biggest search engine unchanged the output of best soundtrack
when when you search that that seems something silly but if a person can enter one of the biggest on most important infrastructures like the one that Microsoft runs called Azure on change something as simple or nobody noticing that for a few days it means we're in trouble because you can change not only the content of things like Banks but also history information like I I think you can imagine all the things you could do on that right there's uh something that is pretty interesting on I felt something similar way less important in the last few months some users I've read that some users were banned from WeChat
I have never used WeChat but from what I understand it's pretty important for people in China because they have a lot of things not only like the chat there and if you don't have it you cannot like communicate with your your friends mind your money Etc I got banned twice in the last three months from Twitter I didn't say anything strange actually I think I'm more polite on internet than in person people that know me from Twitter believe I'm a person I'm not so um I got banned and I was like okay I don't live with my Twitter but there's people that do live from their Twitter or from their accounts their personal accounts on on because they're influencers or they make like they organize events and they need to be well
known on what can happen is that you get into a fight with somebody or maybe you didn't even got into a fight with somebody somebody didn't like you in a very complex World on because the system is centralized and there's no dispute system you can get banned on you don't have any access anymore to to your like to to your followers to your friends I lost a lot of I was in touch with many people from the crypto Community with my previous account and I lost them on the last few days they were like hey Freddie we didn't see you for like a few months or a few weeks so what I'm trying to say is like in this complex World these type of things these types of of issues are going to be really really big actually there was a dispute in the border of
between China and India in the middle of the pandemic on what happened at one point was that China tried to hack the um electric well that's what the Indian government said or in the newspapers uh was that the um there was a they tried to hack the power grid on something similar happened in the US so what I'm trying to show is like infrastructure is way more important than what we believe on the reality is that infrastructure is not prepared for that like if the systems are really fragile they're really simple to hack uh in most cases the issues are not only on the code but on simple procedures like they don't get updated or nobody is monitoring them so if we don't get this introduster place
it's going to get really rough especially if we are more more and more integrated into the VR world so this is also a site I really like not everyone is metallic metallic was a genius like he's a genius he created something amazing uh that is bigger than him in many ways on he's not only genius he did something really difficult he came from a more theoretical point of view like his experience was more from my point of view attached to Academia to papers on he created a very big beast that cannot die like ethereum only had a few issues in in almost a little bit less than a decade I mean like the infrastructure not the smart contracts it didn't have that many issues for the
amount of money it has on from the amount of people that are trying to attack it so I think what he did is pretty amazing not only because of what he created but because he did something really difficult that is to be amazing in two parts like in theory on practice I don't consider myself very good in theory and theoretical aspects I'm way better I believe in in Practical things and also my company so I think there's an issue in the industry and one of the issues is that that we need to get better uh is that the incentives are in place for people coming from Academia to launch very big projects with a lot of money without a lot of engineering experience on those systems get easily hacked and we don't have many
opportunities FTX already happened uh my mama always told me like hey feather you should stop working in crypto like uh you should you shouldn't steal money like FTX ad on and I keep on explaining her like I don't do anything related to FTX for me FTX is not crypto like if you don't have your keys you're not like really um managing your money so what I'm trying to say is like we don't have many opportunities to show that this works that this type of infrastructure can be built this infrastructure that doesn't lie that doesn't die that cannot be easily hacked uh if if the systems were building keep on crashing keep on having security issues common people will have the
belief that they have right now that this uh might not be adding that much value uh to the society and I do believe on you guys obviously too that there's a lot of value in these systems so one thing that I think needs to be changed is that economic incentives in the in the system need to get more similar to web 2 they need to be more closer to launching products working products on yeah this is I forgot to talk about this slide I was going to go to the next one so the what I mean by by uh being more similar to web 2 this is a book by Apple working backwards instead of Designing
things from uh Academia or engineering the two and then seeing like what's the application we can find I think it's really important that we start doing the opposite actually last talk by El I think it's a very good example of how to do product design on them to go engineering Academia why because if you cannot send transactions many users cannot send transactions when they don't have ethereum on their on their wallet and I had that issue and I started working with the tube and I was like Hey I want to transfer this I cannot pay with another coin or I cannot a friend pay for me the the transfer so we need to think a lot more about how we can solve a concrete need and then see how to implement that
um yeah so we have been working and in a lot of the l2s in the last few years also at once uh especially in the last few months we focused a lot of our work in stagnet uh on what we saw is that these systems that that are difficult to hack because of having a lot of mathematics that can cannot lie like that's the core idea of quality proofs on CK one of the issues that existed right now is that they're not fast enough they're very slow in general if you check they don't they're not faster uh in in most cases I think Stark X by sarcore is a complete different based on it shows that it's very useful because it's it's fast but
in most uh open networks the the CK part didn't show yet its capacity of solving a concave need being faster so the last few months we focus a lot of our work in making things way faster we believe that that's the main blocker at this moment for for this to succeed on we have been trying to create this Lambda Works Lambda works is a library we have 25 people working on it it's a public good anybody can hack on it use it we created that two months ago two months ago I don't want to go into all the technical details but the core idea is that I think that there are not many
cryptographic libraries that are fast enough that are prepared to run a phone if we want these things to work on being used by Apple we use by Microsoft they need to be they need to have a good API they need to have security practices reviews tests like many of the libraries they don't even have tests I I don't know how many people from here are Engineers but me coming from web 2 I uh for example we we run an operation with 10 million requests per second where every request is uh one dollar so it's like 10 million 10 million dollars go through those systems on I don't know my boss would kill me if I didn't have tests on the things I'm publishing and I'm baffled by the fact that we're launching these complex systems into the world and it's not that they don't have
security practices they don't have tests nobody review them or repos that have 80 percent of the repo coded by one person or Auto merges like people Auto merging their their own code like we don't have many shots I'm not trying to say like I'm doing things correctly on the others are doing things badly I actually think I need to learn oh we need to learn a lot about Theory but there's Decades of people working in engineering that know how to do these things on many of the projects are violating all those practices that were created by by amazing Engineers all around the world and if we don't get better at that those systems will get hacked a few weeks ago we hacked a test net because we kept on saying like there's a security bag here
you need to fix it for different reasons that wasn't taken into into account we had to show it and now we found the fish Security Box in another uh in another um I don't want to mention the name in another system on the inceptions are in place not to accept those issues because many of the founders their their young they they come from Academia they raise a lot of money I mean like hundreds of millions of dollars on if they accept those issues they know they have to rework on many of the core parts of their system so I think we need to put a little bit more pressure a little bit more of like public due diligence or not criticize those of us that try to make the whole
system better because again we don't have many shots like if we have another system that goes really badly on a lot of money I mean like billions of dollars are lost Regulators will come and they should to make sure that we're doing our our work correctly that that's what happened like Society works like that if you keep on doing mistakes there will be consequences so the way of avoiding that is solving concrete issues on getting people to review these things for me the things I'm mentioning are very obvious but sometimes in the industry they're not so we created this um on uh this was created by Lambda my company we're doing we're trying to do this work for for for honestly for for the whole ecosystem if you have any questions like
where we are gladly we will gladly support your use case we're working for example uh on iot we're trying to make Stark proofs uh thanks to the knowledge transfer that we got on the support we're getting from sarcore to uh to work on esp32 very small devices that cost one dollar on one of the reasons I believe that's going to be really important is that many of the power grids will get hacked in the next few years on we need devices that cannot be hacked that you can check their computation you can make sure that things are are working on Real Time correctly on if they don't you can detect that that somebody hacked on shut down the system on receiver another company is doing
something similar I actually learned about this use case thanks to them on I think that all these Primitives that we're creating are going to make many of the other areas at last uh I wanted to mention that I think that apart from CK the two other areas are going to be really big in the next few years and hopefully if we get good engineering practices they will work in traditional products are fullyomorphic encryption the ability to operate on encrypted data something really important since nowadays addressing all the centralized servers that I mentioned before like Twitter Apple Etc on taking care of our data on the third one is MPC multibody computation
the ability to compute between different parties so that's it if you have any questions please let me know and thank you thank you foreign
