Immutable's Smart Contract Secure Development Process
Immutable's Smart Contract Secure Development Process · 9 Aug 2023 · 1:27:05
Marc Bown, Ryan Teoh and Peter Robinson explain the process used at Immutable for taking a smart contract from concept to deployment, the operational procedures for contracts once deployed, and how incident response is handled.
Speakers
Topics
From Immutable's Smart Contract Secure Development Process, hosted by Ethereum Engineering Group.
Transcript
hello and welcome everyone my name is Peter Robinson and this is the ethereum Engineering Group Meetup so today I've got Mark and I've got Ryan and um we're going to talk about how we make sure contracts are secure at immutable and um the big long process that we go through so hopefully the um or audio is working cool um so um before we dive in um Mark do you want to introduce yourself and Mark I look after the security team here at immutable and work really closely with Ryan here
I'll hand over to you now yep um my name is Ryan and I'm a security engineer here in the immunizable um and I work very closely with Monk yeah okay and um I'm Peter and um head of um blockchain research okay let's share my slides um all right here we go um so um yeah so let's do this talk and um yeah so before I dive in I thought I'd give a quick 30 seconds on what
immutable is because um some people have asked me so what is immutable and so we're a world leading web3 gaming platform so you can imagine you've got computer games of a huge variety and apparently we've got 150 on the platform already um so we've got a stark X and we've got a evm based platform and um so we I'm I'm personally very focused on the evm based platform which we're in the midst of launching and so you can think of the idea is you've got these games they can use our wallet um which is a web 3 wallet which really aims to not get in the way of actually
doing things so it's um yeah a great way of offering great security but great usability and we've got some off-change services and they work with um the validiums um and which you know essentially blockchain sort of Tethered to ethereum um at the moment um the actual validium part is not quite there yet um so it's just independent blockchain we operate a whole heap of contracts um on the chains and with partnering with polygon and so what all this gives the people in the games is true ownership of their in-game assets but it's more than just nfts it's a whole platform and system and
um I think that's a pretty good description I know Mark um Ryan is there anything else that we should add in our quick 30 second on immutable just to say that we think that the way one of the ways that mainstream folks are going to come to web3 is through gaming it's a it's sort of an industry that's really open to using this kind of technology and so that's why we're excited to be a part of it oh all right so so um I'm going to give an overview of the process talk a bit about the actual process in detail hand over to Ryan who will do a bit on that as well um and then Marcus going to talk about operational programs and then I'm going
to talk about the development when you're actually having an active attack and required features so let's go through the process um so you know so we've got um you know the process takes you from essentially concept to having it online online deployed and operating and so what we've thought is like contracts have got different risks and so some contracts may be lower risk and some are higher and so they've got different paths through um the overall step overall flow diagram if you will and so different requirements and so you know we've classified high risk to mean that it's
going to have a mega impact so say if that the wallet contracts which are used with passport or say the bridge contracts or anything that's related to the actual operation of the roll-up if any of them are you know are broken then that's a really big issue so um that's deemed high risk as well any if we've the decks or the seaport if there's any substantive changes to them then you know their key infrastructure so that's pretty important too medium risk is uh if you have a substantive change to an application contract or if you've got say just a minor minor change to one of these ones
the infrastructure contracts and then low risk is just a minor change to an application contract and so trying to split up and not require the full process for absolutely every single change of code we've also got a registry and at the moment it's just a spreadsheet nice and simple and it lists every single contract that we are building that we're using that we're deploying and it gives us an understanding of what's in the system you know what what what's out there and obviously we've got you know lots of contracts we've got lots of contract audits happening and they they
need planning to try and you know make sure that you're you know batching up and saying all right these contracts are going to be ready at the same time so maybe they can go or be audited at once and that helps with um costs as well and as well it captures in one place a whole stack of information which is really key to being able to respond to vulnerability so it's used for vulnerability response and so it contains a whole stack of information um you know from basic information about the contract who should we contact within the team to talk about it um is it was it internally developed you know was it externally developed large changes more changes to it
um you know where is it in our Readiness process are we deeming at high risk or low risk medium um and if we've forked to the code is there an upstream repo and um you know let's have a look at that repo and have information about audits that may have been done for the Upstream repo um we have links to the design documentation The Source Code test code see I loop everything and obviously you know there might be audits that we're having so links to that contact details for who's done the audit and um deployment information so what the address is and say if there are admin roles what those admin roles are and
what are the um addresses that have those roles so it's all there in one place so that then if there's an attack we can quickly say well who knows all about that contract where's the design and let's just get into it thank you so that's a brief overview does anyone have questions about like just the whole thing from a very high level cool all right so the design process um you know so we get people to write up for designs we have a requirements and then we have a design and the design
then you know restates the engineering understanding of those requirements maybe has some more detailed engineering requirements and talks about the relationship the architecture if you will between that component and those around it and talks about the main interfaces going into the contract and you know the idea is of it is to communicate with stakeholders what you're planning to do and also writing a design really helps you reflect on you know what is in the you know what you're trying to build and maybe you come up with some realizations that you might not otherwise have had it should be a lightweight document you know we're not aiming to have like a 500 page document or anything it's something
that you can put together reasonably quickly people can read and review and comprehend you simply we um also write tests and code at the same time so and also create a test plan as well and really try and work the coding and the testing um all together and um you know writing code obviously you um might come up with test plan which obviously influences what tests you're going to need to write and then maybe as you're writing code you'll realize that there is more capability which needs more analysis so he should have we aim to do the coding and testing in parallel we use a
static code analysis tool called sliver to try and help find issues um we use linta to try and make sure we've got a common code style um we use fuzz testing for high risk changes and for upgrades um so as well as the traditional Standalone tests we also use the ability to do forking of on-chain data so in other words you've got the existing contract and you can Fork it along with its data and then perform the upgrade and run the tests on the upgrade just to make sure that it's actually going to work when you do the upgrade now currently we prefer to use for Giselle tool but these things change over time
and you know we've got some test systems that are written in both hard hat and Forge and I'm sure there's some truffle casting out there somewhere as well so if it's a quite a variety um so we write test plans and the the test plans and again not 500 page documents they're something really simple where you're just a markdown file where it's saying well here is the you know the the test name the name of the test and here's what it's going to do and you know there's a happy case sad case and if not all the tests have been implemented has it been implemented yet and so the idea is to try and get people to again reflect on the design reflect
on the tests that could be done and then list out everything that could be done and then make a conscious decision about which tests are going to be implemented and so you know it might take an hour or two to list out all the tests whereas actually implementing all those tests might take um some several weeks and so it allows you to you know really work out what's important and what's not important direct modeling is super critical for preparing for audits so having a threat model is a great thing because it gets you to list out the architecture the perceived attackers so who you think is going to be attacking your system what are the attack surfaces so what are the
interfaces into the system into your architecture into your contract that an attacker could use and could be vulnerable possibly and so what are the you know possible attacks then and how are they mitigated and so trying to you know work from architecture surfaces attackers and then the actual attacks and how you're stopping those attacks based on your architecture and so you could well do that threat model and go oh we've got a problem and you know what a great time to find the problem before you give it to the Auditors because um you know and before it's deployed so that can then obviously feedback into
testing and test planning the big thing about threat modeling is and having a threat model document is that it allows Auditors to have a look at the um have a look at the the design and really see the well thought out thinking and they might think of a new attacker or a new attack surface that you haven't thought of and so it really helps them to quickly get up to speed on your project so we're having a threat model will decrease the cost of an audit okay internal audits I'm going to pass it over to Ryan yeah thanks Peter um we have actually put in a lot of thoughts and internal audits um and like what Peter mentioned
um when it comes to Trend modeling um the outcome of the trend modeling will definitely help to improve the quality of the audits when we hire a external auditor um and in a way we try to do that in internal audits as well so when the team um or the contract order have completed their development in uh contract development they'll basically pass it to us and we have two different groups to assess um and also evaluate the contract there will be the console which is a internal an engineer engineer focused uh team that will evaluate the contract and also it will be Peter uh with a product security and will basically try to operate the risks of the smart contract
and one of the one of the things that we try to do is to um apart from you know going through the usual battle and using automated to to try to highlight all the issues that that we have potentially on the contract we also try to um we also try to use the thread model to figure out what potential security concerns we have in the smart contract and this can act as a treasure map when we decided to hire a external auditor or even when we run a bug party because contract smart contract can be complicated um and in our case we do see that a lot of smart contracts has integration with the web 2 component which is typically
not being assessed so in from our point of view we could use a um a bird side view to to kind of provide a little bit more context on the web 2 component all the integration data that can also that should also be assessed by the alternator um yeah I think over time we hope to improve our internal security audit capability um and we wanted to make sure that our teams feel that their Innovation is uh dedicated in of it at a lower cost and they didn't and we don't want them to feel that all the courses always I think that they wanna they will concern they have concern with whenever they develop a new contract uh but this doesn't mean
that we will not hire excellent audition in the future because social consensus is also important okay yeah um Peter if you may go to the next slide so um to prepare a internal audit um this is also somewhat similar to a external audit so we have a list of questions so this should be quite similar to what you typically would ask uh what a external auditor would typically ask uh but one thing that we have um that is different from the usual external or the questions is how are Keys being generated and being managed I think these are usually the behind the scene and excellent Auditors are they they probably focus a little bit
more on the contract but for us we wanted to understand how the keys being generated um is the key being generated according to the best practices that we want because Frankly Speaking um anybody can generate their key and anybody can store the key in whichever way they want so this is one of the questions that we try to report and on the next slide so once we determine the risk rating of the smart contract uh we actually have a table a small table on the bottom right corner where we will rate whether if it's high risk medium base or low risk according to the criteria that was set by Peter and the team and
um we also have an uh we also will evaluate Auditors based on uh specific criterias on how many orders have they done are they on rack leaderboard or what's the reputation the availability and also methodology methodology and how much money are they charging uh yes because obviously cost is important um with the risk rating and the quantity complexity level of the smart contract um you will also consider whether if there is any availability from the Auditors and with that we will pick a Auditors from our premium tier or reputable tier which is two different tier of auditors
going forward yeah I think similar to internal audits um the more information that we can provide to the external auditor the better that they can affirm up they can perform so um yeah ideally we are like a inspiring partner to the external auditor and try to furnish them as much information as we can um and because excellent Auditors they have to work on a specific hash ID um and they will usually audit on specific version of the smart contract so this is something that we use typically have to manage the contract owners to make sure that there will be no changes um and there will be a clear cutoff Point um and as usual during the audit uh
we'll have a work group from the engineering team that can help to clarify uh certain things that the Auditors might bring up are and we'll be also would use slack or telegram or anything that we can facilitate communication uh we find good success to have a weekly call with the Auditors so that um apart from brainstorm I mean certain test cases that what they might not think of they can also highlight some of their concerns and other team can the engineering team can furnish them with more information and yeah like um once the audit has been completed uh it's always helpful to keep a Communication channel so in the case of um very suspected attack uh maybe the
Auditors can can jump in and talk to advice yeah I think um in audits um if there is issue that's been found um yeah we will typically make changes and Associate we will have need to have tests for these changes as well so hacking contest is something that we are trying to look at uh recently um and the general processes um you basically have a smart contract that you wanted to sponsor um it's similar to bug Bounty program where the the audit is being open to public but it has a strict time frame that's being set by this sponsor which
in our case it's us it can typically last from a few days to weeks um and you definitely need to have all your contracts and Associated material or assets public um and our thought process is integration test versus unit test um in in the typical external audit uh usually we are bounded by a specific time frame so there is um the amount of things that they look at it's correlated to cost so when there is a budgeting constant uh we might want them to look at a specific assets but in the case of hacking contests because this is called
source and we usually will approach it like an integration integration test where we will include web 2 components or components that are not typically being audited by external auditor so it's a more overview audit we also think that this is a good on-ramp prior to about public Bounty program um in most of the web tree specific bug Bounty program they actually don't include triage services so and they have the SLA on how long do the security team have to respond whether if this book is legitimate and the impact um given the pressure I think a lot of t might not be able to triage it correctly but because some bugs can be quite
obsequent and it will take time for the engineering team to understand as well but in some hacking contests like code or Arena they're actually crowdsource their judges as well which is the triaging services to so you could have the confidence that all bugs are being triaged and they they are all legitimate and code Arena as well they have a very interesting initiative which is bot race where they will use automation to to try to find all your all the findings that can be found by automated tools and they will encourage researcher to find unique findings which I think it's a pretty nice proposition
I think that's about it um yeah I think according to test Network and Main Network I think uh one thing personally I came from the web tool um and in web 2 with cloud computing anybody can essentially um deploy stuff onto the cloud I think this is no different compared to web3 um as long as you have a legitimate access to a blockchain you would be able to publish your contract so this is something that we are trying to control where if you wanted to publish your contract onto the mainnet it has to go through us and there will be a invisible deploy account so that it's verified um and also that we would do additional verifier using the ens and yeah the
private key for that deployer account obviously is extremely important and they'll be highly control uh and uh Mark will be going into details on that that's about it um I will pass it back to Peter yeah this thank you yeah and so um yeah so what what so when you're deploying a contract um you know on the um in the the block explorers you can see whether um you know a contract's got its code associated with it and so it's verified code and so it that's doing that's actually really important for a few
different reasons and one is to allow you know users to understand what the code is at that address and it improves their confidence but it also it allows you to check that the right version of codes being deployed and that might sound a little crazy but I know having worked in a in an organization when there was an actual attack and we needed to deploy a contract um by mistake the old version which was vulnerable was deployed and um the thought was oh yeah that's the right version it's all good whether it's ready to upgrade to that version and change all all the surfaces to that version and it was only when we went to verify on the Block explorer that we said well
that's not verifying we can't get it to verify and so then it was a matter of verifying the old version and saying Ah that's still the old version of code that we've just deployed and so especially in times of stress I would strongly encourage not skipping this step um because it you know give you confidence that you've actually deployed the right thing and so the process does depend on the Block Explorer but generally you know you're going to have a contract address you find out the exact compilation settings that you've used so what solidity version and what options you've used and then you need to flatten the file so that means
essentially in the one dot solve file having all the different contracts that you need and then you um you run the verification tool and it essentially compiles the code and sees the byte code that it generates based on that version of the compiler and with those options matches what's been deployed and if so then it says verify it and you're all good so um there's a the link down the bottom there is to the Cross chain risk framework and that's got a lot more information about how to do this and how to do it for a variety of chains and so once you've verified the code you're ready to go and see you operationalize your code and
the how you do that is um obviously dependent on your system but often you've got off chain components and they point to certain addresses of certain contracts so maybe you need to update those off-chain components maybe you've got a transparent upgrade proxy and so it's time to switch to the new implementation so whatever the way you do it then you're at the final point and so are there any questions about the overall process that we use for going from concept to a deployed contract um Mark go ahead
um maybe I should have asked the question earlier um in the kind of risks and requirements we talk about changes is that like a player losing their magic sword or is that like a smart contract upgrade or do you even have Smart contract upgrades what kind of changes are you talking about in the in the risks they I'll just go back a few slides away sorry I should have asked earlier oh this was how risky it was and whether it was a major change or not yeah these are kind of your requirements for the I mean when you kind of do an audit you want to know what properties you're trying to ensure are yeah it's important and I just don't
know what you mean by changes ah yeah they were um code contract changes so that that was you know like we have you changed a line of code here or there or is it something more that was yeah that's right so you don't mean kind of um misuse of the code that causes harm to users um that's kind of not the security objective well you when so when you're doing these audits you are worried about um so I guess if you thought that the co that the code if it was misused could do something really bad then that would be high risk and I guess say for instance
if you think of bridges that's why they're in the high risk category because if you're able to misuse a bridge then the impact of that is really high potentially yeah okay um second question for me uh jump in before David is um I'm not quite sure still if you're doing a kind of just a software audit or a kind of system security audit because I thought it might mostly talk about software and code but you've also mentioned key management and also the off-train components and so it's kind of it seems like a broader thing than just the code itself and so I'm wondering if but I haven't seen you talk about the audit including consideration of the operational procedures or the key management solution that you have so I'm
just wondering if all of that is incorporated into the order look I'll pass that one on to Ryan I think I think that's a good question um obviously operational side of things is um definitely important um but operational side maybe Mark and German as well I think from our point of view it's easier to standardize compared to how the smart contract would look like so we will typically do this internally um and from or the smart contract didn't get published so far it has deep integration with web 2 and especially when it's related to gaming so uh typically we find it difficult to
um to have this scope for an external auditor and I think internally uh we have some level of confidence that we can do this so when it comes to off-chain component we would do it internally um unless it's a component that's highly critical that that's going to use by the mass public that we will considered higher auditor who's capable of doing both option and option wonder if that answer your question yeah I think so thanks Mom yeah wondering if not Bond you have anything to add on on to use no I didn't yeah I didn't have much to add because I think you're right like the infrastructure is I guess less changeable uh and so there's a lot of
work has gone into the underlying infrastructure and making that safe in Key Management we're going to talk about in a second so yes that's getting assessed but it probably doesn't need to be assessed for each new smart contract because it's it's less it's more static compared to the new contracts if that makes sense yeah I think I mean one could argue that a new smart contract might make an assumption about the infrastructure that isn't true I think that's a good point and something that comes up through the threat modeling processes again we're doing something novel with this contract that means that we need to make different trust assumptions about the infrastructure right yeah okay David over to you yeah thanks guys
um very interesting talk thank you for that um sorry if I missed it but are all your contracts upgradable and if not what criteria do you use for the ones that shouldn't be I would say um I think pretty much everything is upgradable um I think that there may be one or two that we've made the call where like there's I don't know it's pretty much it's not it's not an interface but maybe it's a function which just emits an event and that's the only thing that you know
the whole contract is one function so anything that's anything beyond completely trivial ends up being upgradable simply because um software can have bugs in it obviously but as well invariant you know if we're deploying a system um this immutable ZK VM in 10 years time you know how can we predict what features we will want to have in 10 years time um I think that you know trying to I'm getting ahead and say we understand or every feature we're going to need to have for 10 years time is impossible so I think that's why yeah yeah well that makes sense to me um but there is this natural tension
that occurs between features and security right and this is the this is the heart of the matter so for example when we did the uniswap bridge assessment there were bridges that one in particular that and I can't recall who it was off the top my head uh that relied quite heavily on non-upgradable contracts specifically for security now I can understand that in a gaming environment that may be less appropriate because their features are not going to change presumably nearly as rapidly as yours are but um and I'm not I'm not making some case
that all your contracts or any substantial portion of your contract should be a grade well I was more just exploring yeah yeah so um and it's a funny one actually that's really so upgradable contracts you've got the issue that even if not now in five years time um there might be a rug pull and so even if um the up say the upgrader you need seven people out of 11 to say yes we're going to do it um if you don't roll those keys ever then you know a sufficiently sophisticated attacker could take them out one at a time and you know get to
the point that they've got the threshold and then in five years upgrade the contract so um yeah so so it is a it is a risk from that perspective but then for a contract like a bridge the issue you're going to have is that you have a lot of value in the bridge contract so for an erc20 Bridge invariably the the endpoints of the bridge say say on on ethereum will have all the money that you've got so for instance in our zkevm architecture you've got the erc20 bridge all the money that is on the zkevm so if there was a billion dollars on that zkevm on
the evm in big inverted commas it means it's actually sitting in the erc20 bridge contract on ethereum and so if there was a bug in that code you'd really like to fix it because otherwise you've got that billion dollars that's just sitting there um and so not being able to upgrade that contract to me seems like a huge issue um yeah so I think I think the the reason that I asked the question is that although I agree with everything you've just said if I were to play Devil's Advocate on it I would say
the history of Dao's particularly and why they fail is because the vast majority of cases the community can't field enough representatives to vote or hold keys or to do governance actions Etc and the people involved much less the software the people involved in having permissions have deadlocked dows um and just through lack of action and so you know we rely quite heavily on these constructs like uh you mentioned a
seven of 11 multisig for example and they're all these sort of social constructs that fundamentally resolve down to people and that becomes your most vulnerable attack service and that could be through in action it could be through bribery it could be through all kinds of other mechanisms right um so it seems to me this is I I'm trying to wrap my own head about rather around rather this is a uh philosophically consistent problem that we're going to have in software or whether we're going to find ways of Designing
uh to mitigate these problems over the course of time and I I haven't decided yet um I I'm not gonna I mean I actually think the bigger problem which I think Mark's going to talk about in the next section in his huge talk about Keys is actually getting people to remember how to sign out of vote because you know I think that having a seven of eleven works out really well if all 11 people at least know how to or still have access to they can still find their UB key or whatever it is anyway look I I think we've had a few questions here and so I'll just I'll
just finish off by saying that's an additional attack service if you can tell them how to do it yeah yeah no no no it's okay I I and I did specifically ask for questions at that point and I can see slides going on video so he's roaring to go with the question but Sly cannot wait until the end and so that we can keep all right let's continue so I'm going to hand the wheel over to Mark and he's going to do his section thanks um before I jump into my section I was just going to talk about the fact that I'm from a web 2 background as well uh in fact I'm old enough that I've been in software for quite a while um most of us have been through this
transition from like a waterfall software development life cycle through to some kind of agile software development life cycle and what we've just presented to you looks like we're going back in time it looks like it's uh you've got to do this and you've got to do this and you've got to do this and the security team is going to sign off uh and then and then you can finally use your thing and uh yeah that's true that's exactly what's happened and and that's sort of actually to David's point is because that is where we want to get to with blockchain Technologies is that they are immutable that you know that you have a very high level of assurance that you're deploying a thing that doesn't have a security issue um but fundamentally they're less upgradable than a SAS service you know if there's a security bugging
accessories you fix it it takes 10 minutes to push a patch and it's live and and there's sort of you're able to do that before anyone even knows what's going on um but what we're doing is a bit more akin to a firmware update on a device so by the way background I used to work at Fitbit I was in the security team there and we had everyone wearing devices on their wrists and moving down security issues and those we had to push a firmer update and we knew that it might take months to push a firmware update uh and so that meant that the software Assurance process we needed to go through before we push the firmware update was uh was way more arduous than what we did for SAS software because the the risk and the cost is is much higher so I think that's what you're seeing
here as well actually the same trade of what's going to happen as you talk about Key Management um obviously the most uh usable and most convenient process for Key Management is if everyone just has metamask on their computer and they can sign anything whenever they want to uh and uh yeah there's no friction so often it's easy you can test whatever you want you get stuff done um that's obviously a little bit scary if your computer is uh you know a Windows XP machine without any antivirus and uh you have access to upgrade proxy contracts to Bridges uh so what we have to do is just to get the risk and they have to balance that with the usability um and that's what I'm going to talk about through now is how we've gone about trying to make that balance um and the key is that there's no
one-size-fits-all approach actually we have to make a number of different approaches to Key Management depending on the specific use case in each case they have to balance the operational needs of the organization with the security requirements of the organization well the way we've done that is we've looked at a bunch of different uh attributes for each of our use cases and they're things like how often do we have to use this key like is it a one and done do we use it once a year uh or does it have to happen 15 times a second because that's going to really change the kinds of Technology you use to manage the key um you know if it's if it's once ever you might decide just to have that key written on a piece of paper that's stored in the safe somewhere uh if you have to do it multiple times a second
that has to be online you know it has to be accessible by software um we also look at the impact of misuse so and we're I've there's two misuse categories I've got here uh or two compromise categories I should say one is misuses and someone has the key and they're using it against us the other is the key is gone or someone's taken the key away from us we can't access the key anymore and they're important for different things um misuse the example might be someone has access to a key that can upgrade our contracts we've been taking diploma malicious contracts in the case of the bridge that might literally mean that all of the money is gone from the chain so that's a very high impact of misuse um impact of unavailability is different if we lost a key that we used for
deploying new contracts maybe it doesn't matter like if it's just gone and no one else has it the impact is we can't deploy any new contracts that are verified by us on a block Explorer but we can make a new key use that to deploy and verify it with the block Explorer so um we have to think about those two different use cases differently this is important for key durability so one of the attributes we'll talk about with keys in a second is like how certain am I that I won't lose this key I will talk about that in a minute another one is human versus machine use um we talked about the frequency this is often tied to frequency actually but in some cases we really want a human to be making decisions about whether a key is getting used in other cases uh there's
no way to do it but to have it automated and we've got to have to use different Technologies depending on the two I won't label through all of these you can read through them um there is one that's also important though which is urgent use so we're going to talk a bit about incident response which is knowing when things have gone wrong um in fact I should say until now we've really talked about preventing stuff from going wrong uh but we've definitely taken the position that stuff will go wrong and so regardless of how much prevention we've done we have to be ready for it it does go wrong and we'll talk about what we're going to do to to find if something's gone wrong and how we're going to respond to that but one of the things we might need to do if something's going
wrong is pause a contract upgrade a project a contract and if we need to do that in a rush we want to make sure that we can and doing that is probably going to need keys so we're going to have some kind of keys that have to be ready to be used on very short notice this is really interesting because it's often very much in friction with we only want it to be used if we're really sure that we want it to be used so to put that another way like if we want a key to be if we want to be able to sign something all of the time within 15 minutes probably not going to require all of our Executives decided because it's going to be pretty hard to get all of them in 15 minutes so that's going to be an interesting uh an interesting friction
Point you'll see as we go through here I think you can jump into the next live movie there Peter and we we use some guiding principles um when we're designing our key management well we've called paved road so the paved roads are if you do it this way you don't need to talk to us if you've got this kind of key use this kind of approach you don't have to get any extra help from us um and I'll show you a flowchart that we've we've developed to help people determine which page road to use and you'll see one of the branches is come talk to us because we know we can't capture every possible key use case uh in in our in our thinking but these are the principles um wherever possible prevent individuals from having access to plain text private key data
what does this mean in practice it means using like a service like KMS and AWS or Cloud KMS in in Google cloud or an HSM device to to do signing for you in a way where the keys can't be accessed by a human or exported by a human it also means using a hardware device like a ledger or treza instead of using metamask or or uh or having it on a file on your computer and we'll talk about why this is important actually I'll talk about now we think this is important because uh whilst you can still compromise a KMS key the impact of that is different to compromising a key on a disk if you compromise a KMS key you compromise the
ability to sign with that key for as long as you have it compromised if you compromise a key on disk you have that key forever it can't be changed and so there's a different impact there you know let's say we had a service that uh co-signed transactions in our platform if someone compromised the key to that and it was stored in KMS they would have the ability to co-sign requests until we evicted them from the system but they wouldn't have the key if they if we if they compromise a key on disk they would have that key forever and the only way for us to the victim from the system would be to change the service that relies on that key to not rely on that key anymore so that's one of the reasons we want to prevent plain text private key data the other thing to
know about plain text property there is it's a virus and once it's in someone's metamask it's in a backup somewhere once it's in one password to share with a team member that oh it's gone forever these things just tend to spread and so you can think of having to be not explorer was just also a prevention non-proliferation Tool uh to prevent them from ending up in places you don't want them to like in your source code repo which you've seen so many compromises uh happen through inadvertent key commits so that's the first one try and prevent uh plain text private key data and the second one is to try and make use of multi-party authorization wherever possible in other words um uh do something like a multi-sig this is a really important control uh because
it means that the compromise of one key of one access token that's called for disambiguation doesn't result in the compromise of the key it also means there's a lot of Insider risk in in our industry individuals all of a sudden have really perverse incentives to become bad when they realize that their key is worth a billion dollars um so we need to put some obstacles in the way of people uh being vulnerable to their Temptation or being coerced into into doing the wrong thing to multi-party can help with that as well um if those two things aren't possible like multi-party or exportable Keys you have to assume that the key is going to get compromised at some place and you need to tune your detection and response
capability accordingly and so if you know that with a key um that access to that key for five minutes would cause your recoverable damage then you better know that you can detail that that key is being misused in less than five minutes and and do something about it otherwise you're you're taking a significant risk there uh we've got a principle as well that you should separate key use for asset storage and for transaction signing for non-transfer operations so if you've got a contract that's meant to store a bunch of ese20s uh don't also use it to sign arbitrary transactions because that's going to accidentally get you to sign something that results in loss of all those erc20s at some stage in the future of my next slide for me please thank you
um this one is an interesting one and it definitely welcome feedback on this but we're taking the approach that there is risk in reusing multi-seeks for different purposes but there's also risk in having lots of multisigs because there's a lot of admin overhead associated with multi-seeks so the approach we're taking is that it's better to have fewer multi-cigs that are reused for multiple purposes than it is to have many multi-cigs and the associated admin overhead so what I mean by this let's say we might have three different multi-cigs in our environment one for dealing with privileged operations one for dealing with emergencies one for carrying Treasury to the extent that those things have the
same set of signers will reuse a multi-sync rather than starting a new one what do I mean when I talk about admin overhead um Peter referred to this a second ago but um we have to make sure these signers can still sign we have to make sure they're actually still able to do things and that requires some sort of keeper life process where periodically people expect to receive a ping from an like a pre-agreed on channel that says please go sign this thing to prove that you still have the ability to sign to know up on some contract somewhere um we think this is really important there's also other admin overhead like in the case of our staff if people change jobs and so we need to know that when someone is leaving the company we can reliably get them out of all the
multi-sigs that they were a part of uh before they get a chance to make some friends and uh and collude and steal money uh similarly we might want to expire keys on multisigs periodically so to to Peter's Point uh North Korea doesn't have to compromise three of five on one day they might do it over three years they might compromise one person and one year it doesn't help them but they can sit and they've got their key they can sit and wait and I compromise another person a year later uh and the third person the year after that uh so it's it's a good idea for mother seeks to be rotating those keys periodically um and assuming compromise on on a small number of multitude Keys periodically um the the one point we do stick to our
model sheets though is we don't want to mix value storage multi-seeks and transaction signing of these things uh as well just to avoid that social engineering risk there we'll talk a bit about in um in the the last section as well about uh being ready to respond to incidents and how that will fit into things um so a couple of the page roads that we we came up with uh uh listed here oh actually one last point from the last side I just wanted to point out that we we have a principle of trying to use the same process in test Nets as is in my Nets now you might tweak like the Quorum on a on a multi-sig for example to make it simpler to for people working in a test net to get changes made to reduce that friction that's there uh but it's
an important sort of control from the perspective of people being aware how the environment works like your test next should be as production-like as possible so I think this helps with that um some of the paperworks we've come up with uh so we in our environment will have a privileged operation multi-seq this is something like if you need to pause a contract or do or or send an uh a proxy contract and update to point to a different place you would use this privileged operation multi-sig uh and it's intended for very high risk uh changes to the chain and it needs a sort of set of senior people to sign it um the break glass multisig on the other hand is intended for uh emergency use so this is one where you know the SLA needs to be less than 15 minutes which means
you've got to be able to find enough people to hit Quorum uh who are on call at any point in time which means it has a lower Quorum and a larger number of people involved but it can also only do things which are short-term damaging like pause something on a chain as opposed to upgrade something on the chain uh we've got deployment Keys playing contracts uh and programmatic wallets you know uh a service that's running has to be able to distribute funds to someone that will have its own kind of wallet and manage keys in its own sort of way yeah this is probably going to be hard to read I'm sorry but it was more just the idea I wanted to talk about here which is that you should as a engineering company be able to read through this flow diagram and see your
use case here and understand which paved road to go and use so like are you deploying something yes okay well then use the deployment key end of the flowchart but you'll see towards the end there there's a talk to security one which is like we don't think you're going to fit neatly into our use cases come and come and talk to us next slide please uh so to jump into some detail on one of these I wanted to give you an example of the paper Road for our deployment keys or deployment eoa this is what we used to display to deploy all the smart contracts on the ckvm we use one of them we do that because we want to make it clear and the block explorer that this was provided by immutable you can trust this contract to the extent you trust immutable um we also want to actually use it as a
gate so to talk more about that waterfall style this the fact that we control this key means that we can come to you and say did you audit this contract is it a high risk contract have you done a competition on it before we give you the key to go and deploy it um for us this is actually stored on a hardware device that's physically secured that gives us even though it's a an individual key it gives us some multi-party author authorization in that the person who can physically access the devices different from the person who can unlock the device to use it um and the key materials backed up and shot it in a way that we know guarantees durability because we don't want to lose this key um but that backup process is done in a way there's no one person can get access
to the to the raw key um and when we talked I took it at the beginning about the salute attributes so the the for each of the things this is how we think about the paved Road attributes for this deployment key um so this should be used pretty infrequently it might be used a lot when we first stand up a chain um but after that deploying a new contract should be a relatively infrequent operation so it doesn't matter that there's a bit of friction associated with physically being somewhere to use this key um it's pretty resilient against misuse we've got Hardware involved there's your storage of the hardware it's durable because that key backup process it's not great for machine use you need a human to physically plug a thing in but that's okay deployment's infrequent um we shouldn't need to urgently use
this the exception being in a big emergency when we want to push a new version of a contract and then do the upgrade but uh with a process in place for that uh and this isn't one that we can use remotely another thing we looked at is remote use whether we need people to access this really this one you have to physically be somewhere so yeah thank you another example would be our privilege operation multi-sig um so examples for this would be as I say upgrading a proxy uh destination or changing bucket limits in our Bridge contract this is a you know these are high impact operations this is currently a three or five but obviously we can upgrade that as the risk of the chain changes
um and each signer on this has a hardware wallet that has to show up to the multi-sig to uh to sign a bit of a if you look at the next slide on this in terms of its attributes um you know it brings a lot of friction getting a hold of those signers is meant to be something that's hard but given the impact of this and the frequency of it that's a reasonable trade-off to make it's very resilient um because all these things but it's got It's got multi-party we don't actually have the keys there on chain uh it allows for replication of sign as an employment new signers [Music] um and uh I think that's all I want to talk about on that one but for each of our paved roads we have a page like that you know the the engineers here can decide should I use
this thing they can also understand the attributes of it which hopefully one of the things they're trying to face into there is we know this adds friction for engineering users we want them to understand why that's necessary and to I guess support the decision uh to have that uh that friction there well we saw the puppy so it's it's made the talk for me I want to go into recycling as well so we talked about needing to prevent uh think about prevention and response no matter what we do on prevention something's going to happen um actually one of the I a big part of my career I was a security consultant and actually worked in incident response um and I just asked the question like well how would you know if you had an incident and people would be like well we'd know like something would break uh
and you know we always said well you wouldn't know there's no incentive for the attacker to be noisy they're going to be as quiet as they can like unless you're looking for it you're not going to see it or uh you'll know but by the time you know they've been there for ages and they've already stolen all the money um and so that's what we need to do here as well is we need to make sure that we're thinking about from that threat model what it's going to look like if someone is trying to attack our services and to be ready to respond to that so that looks like having specific monitoring playbooks and monitoring Playbook is a combination of like we're looking for this thing and this is how we triage to determine if it's a problem or not that flows into an incident which
then has a response Playbook uh in a response Playbook uh there are three steps and I think maybe you could just jump to the next uh next slide for me Peter um oh yeah just skipping back to monitoring for a second some examples of monitoring things might be looking at what uh looking at a contract and seeing if someone added a new key to a new role so that privileged operation multi-c like we know all of our contracts will allow that to do certain things but if we saw another uh contract being granted those roles that would be something we'd want to investigate it may be that through triage we see oh yeah this is a legitimate change this person and this
team is rotating something it's fine but if we couldn't explain it internally we would want to turn that into an incident very quickly figure out what was going on there's a bunch of other examples of things here that you could could monitor seems to be a pretty active area of development in web 3 space at the moment is how to how to do monitoring effectively a few interesting products coming out in this space um the next level talk about response planning uh you saw there were three steps there so there's investigation containment and recovery and you can think about investigation being like uh in terms of planning purification you can think about like how would I know what was happening like which tools I'm going to need what data am I going to need if some if this thing has happened how would I be able to determine more
details about it um with the goal of being able to contain it so what information am I going to need in order to stop this thing from getting worse containment is really the process of like okay well I've lost this much money but how do I stop myself from losing more for now or the chains in this in in a state where people can't trust it how do I stop it from being uh in that state um and that's distinct from recovery which is getting everything back to normal so in an instant your first priority is always containment stop thinking getting worse and then you work on getting it back to how it's intended to be after the fact an investigation is the underlying process that you use to get the data you need to do those two things but for a response you have to plan
ahead of these things so um in the case of a bridge compromise like we need to know how would we know that this is happening but also like where are we going to go to mine the data we need to determine which accounts are evil in the system or which Central exchanges we want to go talk to to ask them to freeze funds and if we haven't pre-planned to have that data available it could cost time in the response process next slide please Peter um that was wrong to say on Key Management just detection response just a brief word on bug Downey's and responsible disclosure um so we talked before about doing Audits and competitions and those are some pre-release security diligence activities but obviously once you
release the end of the world you you you learn that all the assumptions you made about the environment were incorrect or new uh new techniques get um developed uh against uh against the tools that we're using and that's where you need to have a bug Downey and or a responsible disclosure process these are probably familiar to you all but this is just where you basically advertise to folks like we're willing we're very receptive to any issues you find please tell us um and your goal is to set up some sort of incentive for folks who do find issues to tell you about them rather than use them against you there are a few uh companies out there that run these sorts of things like communify they can often help you with triage on the bugs too not all they're not always as Ryan says
but I can definitely help you define the scope and publicize it find the right kinds of researchers to look at your system to manage payments which can be a hassle to carry see that kind of thing um yeah this is a really important part of the step because the only thing you know when you release the something to the world is that you've made some assumptions that are going to be untrue and this is a great way to shake that out over time and keep that focus on your ecosystem uh post launch and that's all I wanted to say on that overdue Peter thank you um yes and I I thought that um the next section deserved a AI generated image of ethereum and blockchain in after you
know post-apocalyptic so after the the bombs gone off and um yeah so being attacked is not good it's um oh yep sorry um yeah are there any you know let's do questions so James I can see you've got a question please go ahead yeah thank you um that was a really great um presentation thank you from Mark and Ryan um I was just thinking back to a comment made previously about the social layer being one of the biggest attack services for multi suits and your mindset that you've instilled into US Mark being that you know the attack is already here um now in the incident response plan you know how do we ensure for example that
the second signatory isn't just following the command of the first signatory for example if they were compromised um we've talked about um instances where there's bribes instances where the person could be under threat like I've just been reading about multi-seeds in general and like do we have like a duress keyword or something that would be able to distinguish hey I don't actually want to authorize this for example the attackers purposely scaled up an incident um what's the Thought around that social layer and our response to it yeah it's an awesome question um and it's really about planning as well it's about having pre-agreed protocols for how you're going to communicate an incident so that people can tell in an incident if uh if one of
these things is is awry it's going to be it's gonna be tricky um in the case of let's take the the break glass multi-sigware we're really optimizing to speed uh there's a bit of risk there like there's certainly there's less people involved and so collusion is possible but in those cases you're trying to limit the damage someone can do with that you know in the case of that key maybe they can pause the chain which is a bad day from a PR perspective but probably doesn't cause as much harm as the bridge being emptied for example uh but yeah definitely the key there is having a plan for how comms happen and sticking to that plan um it's it's worth mentioning that one of the the attack cases we've considered is that um the the comms platform that we use
for those Communications is also compromised uh and that you know you sort of get into the scary uh uh problems there where you're like well how would we know if that was the case and which where would we switch to and that sort of thing um definitely in previous roles we've maintained a parallel Communications infrastructure for use during incidents maybe that's something we'll have to consider here in the future great answer thank you very much wow and what's her magic word Mark you know on this public YouTube video yeah exactly all right um sly fire away with your question um yeah just uh kind of following up on David's uh concerns I mean one of the points of of blockchain is that you can
have a mutable contract and that's a that's a a selling point so being able to modify a contract itself becomes an attack Vector um and a lot of talk is actually you know maybe it's a misleading branding or something but maybe it's talking it's actually about how to change contracts uh and um and all the security considerations but I think this is asked before but I mean any further thoughts on actually when and how to use immutable contacts I was thinking maybe like time frame could be relevant like if you've got a a long-running contract that's actually a long it's actually just long running software right sort of
Contracting in the normal sense um it runs a bridge or something he may operate forever there's no end date uh so there's a risk of bugs as high so you definitely need a way to change it but like even if short-term contracts as well like an escrow agreement between two parties or something that kind of just starts runs and then ends in a theory short time frame um or maybe it's like a maybe your Bridge actually deploys out contracts for actual operations or something like that um would would those then be effectively immutable like is there some did you actually use immutable contracts anywhere or as I said I think this is answered
before but I'm just yeah can you can either definitely you don't use immutable contracts at all um Echo Head Mark I was going to let it obviously because I would let it go through that because we definitely have some contracts that aren't changeable um but yet given the sort of novelty of the ecosystem and where we're at and how we're learning I think for the other the preferences to have things that are upgradable so that we can deal with the things that come our way I I completely agree with with other folks who've mentioned that immutability is in in some cases are really nice attribute it enables trust it enables like you can make certain um guarantees about things yeah I think what what Peter mentioned
was like having a simple function that is still going to be there forever and you don't make it immutable because it's simple I'm talking about would you would it make sense to take portions of your contract that are like so you're running a game for example you might have the the game might be broken into grounds so for round one you deploy out a contract and you don't change that if your control Contracting might change but but you know you yeah once the game started it's it's it doesn't change I I and which was funny though because I was going to say that in that context you've you often see a different type of upgrade
and so what that is is if you've got a control contract and various other utility contracts that are doing things often they don't hold much data and they don't hold value and if they don't hold much data in much and any value then you could just switch to a completely different contract that has you know the up new capability so you could have a different round one but um I I mean I I understand what you're saying though and I think it really does come down to the use case but because we're developing a platform uh at immutable so it's all about a platform so we're developing you know this base layer that everyone's you you know
putting their stuff on top of where I think more likely to have extremely long-running technologies that we do need to worry about whereas potentially games might you know have some contract that they're going to deploy that is [Music] um that maybe can be changed or upgraded but again you know you can imagine if you've got a game you're hoping that it's going to be like say I don't know Minecraft or something like that where you know a decade later people are still playing it and you're still bringing money in yeah but as I'd say if it's a long-running one then I mean it's not it's a it's a software that needs to
change right it's over a long time but if for example it was a not Minecraft but it was something that ran in rounds or something where you or like as a Nesco contract I want to buy a shipment a grain off you put the money in escrow when that shipment arrives you get the money out that contract is is ended like it Hazard I think um yeah so I think for supply chain sort of contracts which is obviously we're working on but that probably makes sense where the whole things start I mean is a template con contract and so for instance our erc20s um if you bridge um money across from ethereum to the zkvm you get a contract deployed that's
an erc20 and it auto deploys and it's just a template contract and so if you were had some say um supply chain agreement um for you know delivery of grain or whatever you can imagine that's going to be a template contract anyway and it's not going to be a one-off so and it's also as you say limited lifespan of say three months or something so I think that's a different type of thing what are the driving in your case it was if it's not going to change in this case I think another case is if you know it's going to have a lot because then you're protected against what if there's a bug in it well you don't care because it
ended 12 months ago and it's yeah it just doesn't matter anymore yeah yeah cool that's all yeah all right let's get into dealing with an attack um so you're gonna find out about an attack by a few different mechanisms so the first one or the third one that I've got in my list but is what Mark said is you've got some tools and you detect that something's happening um and or maybe um no one's exploiting the vulnerability but you detect it yourself and you realize there's a vulnerability in your deployed code which in some ways would be the ideal way of finding out about an
attack is finding out that no one's attacking this glaring hole in your code another one is security researchers so invariably these are PhD students and what they want to do is they want to find a vulnerability in your code they want to report the vulnerability to you they want you to say yes you're you wise person you have found a bug in our code and then they want to write an academic paper on it so they do not want you to publish it um with a little bit of acknowledgment they need to be able to coordinate with you the publication of the vulnerability information so that they can say hey I
came up with this I am the person who gets to print the academic paper on this and you know so that it is really about academic publication a lot of security researchers and not all though and certainly if you find an issue with our code um so we're going to launch a bug Bounty program but we're also got security at immutable.com the other way is of course that you've got an attacker who's actively exploiting your um your contracts and so if that happens you can do what's called White hacking your own contract so maybe the contracts hold value and so what you can do is using a private mempool or not the public mempool you
could um essentially run the attack and but move the money into a wallet that you can that we control ourselves um curiously in a really recent attack um on curve and the attacker used the public so they they did this really complicated thing where they've worked out this attack obviously spent you know a huge amount of time doing this got tools to do it and then they put their attack transaction in the public mempool and were front run so um yes if you're gonna black hat or white hat you know not use the public mempool because chances are someone will front-run you and there are Bots that will
automatically front run so um yeah so use a private mempool um to submit your transactions and um yeah the other thing is that you know that we've got is to use that smart contract registry that we've developed to really find out and you know understand what's going on and trying to draw the diagram of how the attack is actually happening and so that's something to have um so something that you've really got to be careful of is not communicating information publicly and so look I was involved in the openssl heartbeat attack
which is now probably about 15 years ago but that essentially meant everyone every SSL server or TLS server on the internet was potentially vulnerable and so there were huge numbers of people who were potentially vulnerable to attack and there was no patch and so the the two or three months worth of time required to develop a patch for that was all done in secret and so similarly in this situation where you've got people using your code you need to be making sure that you're not publicly discussing it especially if the vulnerability isn't out there in the
open and isn't being exploited so if you've got a security research sure you do not want them to be doing a PR a pull request on your public repo you don't want them to be submitting an issue saying hi do you realize there's a vulnerability in your code this is how to exploit it people have done this in the blockchain industry and then um tens hundreds of millions of dollars goes walking away because someone has not done the communication right so if so once you've found out that you've got an issue if you're going to have external audits communicate with your Auditors and so have a communication mechanism that's available and communicate with them because if
they've done an audit they're going to have reputational damage if someone's found a bug that they didn't find and so they're going to be busy trying to prove to themselves and to you and to everyone else at the appropriate moment that the bug was in some code that they didn't order and so they're going to be really busy trying to do that because otherwise it looks really bad um so you need to clone your public repo and have it as you know have a private repo and build and fix and test out the issue in that private repo so away from public View and then you need to deploy it from the public repo from the private repo should I say so if your systems are such that you can only deploy deploy it
from your public repo then this is going to be a real problem so you need to be able to work out a way that you can employ your contracts from the a private repo because otherwise you will need to um signal to the world that um you know you there's a problem and we've seen that um there was an attack a few months ago where the team did everything in the private repo then they did the pr approved the pr and then deployed in the public repo so in the 10 minutes or so that it took for them to push PR do the pull request uh prove the pull request and deploy the attacker had realized what was going on obviously had their
own monitoring tools um happening and they exploited the contract um so yeah definitely need to be able to do everything in the private repo so assuming you've got an external person who's reported it you need to coordinate with them as I said and you need to write up a root cause analysis which carefully goes through what's happened how it happened what you've done to remediate and were was any money taken so um are there any questions about how to do development in times of attack okay
another thing that we've got is required features for contracts and um so we we require anything but the most trivial contract to have role-based access control so anything that's got say administrative functions we need to be able to separate out the roles and also have multiple accounts for the one role as well um and you need to be able to do to say create new roles in the future so you might upgrade the code and if the original contract doesn't have role-based access control but suddenly you've got some new capabilities that require control you know some control functions then it was going to be really
complicated so it's better to have role-based access control even if you've only really got one role initially which could be covered by an owner and then you um that you know then you can add more later um pausing and unpausing our um you know features that you know most or many contracts need and um so we have a pause a role and an unpauser role so um I think both Ryan and Mark have gone through this but to um Double Down On It All Zing is annoying it will probably cause your reputational damage but having a low threshold so that you know your people who are
um you know it doesn't matter which day of the week what time of day which day of the year it is the bridge or the system can be paused is really important so having that threshold may be lower than you might you know maybe it's say two or five rather than three or five unpause though would it could allow once you've paused the bridge because you realize you're under attack if the attacker can unpause the bridge then that's a really big issue so that unpauser needs to have a much higher threshold than a poser does um so worth thinking about and obviously upgrade um so we assume that upgrade's going to be needed and so the who can upgrade is
going to be similar to who can click unpause the same that same threshold level so for some final thoughts um you know the attacks are evolving all the time and um you know the process that we've outlined today and what we do is going to evolve with it too and um you know as we gain more experience see more attacks things will change um but look having having a process um is actually a really good sign and does make us more resilient to attack um and the the number of web 3 companies that you'll find just do not have
processes even ones that you perceive to be quite mature that just do not have any process around attack or around smart contract development um so I think having a process is going to make us really resilient having an incident response plan means that when an incident happens we actually know what we're going to do and so we've got a plan in place so we should be able to successfully mitigate attacks and so that that's you know I think um some you know key thoughts there and I don't know um say Ryan do you have any other thoughts you'd like to add as a final thought no not really I think Peter you covered most of the instead yeah and Mark what
any final thoughts from you no you're just talking about um his response plans make you go faster and in in our world fast is everything uh exactly yes you've got 10 minutes or less yes all right um and so the merch store is open so um you can go from the YouTube channel to the merch store or you can just go directly interesting t-shirts for you to consider buying um we have some future talks coming up and so um in about two weeks we've got um Philip zenter zetner um and he's going to talk about why he
thinks Bridge aggregation is actually a really good idea um Christian is going to talk about um solidity development using Forge Clemens is going to talk about web3 and Ai and his thoughts on it and then in September so that's actually only just over a month away I'm going to talk about the passport wallet and the immutable zkuvm so I'm going to talk about the architecture of the overall system and then make everyone feel comfortable that our easy to use um contract wallet is also super secure and um is actually a really good one especially for web3 gaming if you're here today and you want to
watch this again there's a YouTube channel if you're watching Youtube and you want to come along and ask tricky questions then um come along to the Meetup there is a slack workspace and for talks that involve source code there is a repo with example code and that is enough talking um does anyone have any final questions that they'd like to send our way I do Peter I am yeah great to see you again um sorry I haven't been enjoying the talks and uh yeah so uh my question Peter was about
um um the multi-chain the cross chain inter blockchain Communications having worked at crypto com which is recently you know we had the IBC the inter blockchain communications project which was really interesting um so I was thinking of maybe uh saving this question for the blockchain aggregation I just noticed there will be an episode entirely on this but yeah simply the question was about how does the product roadmap look um is this part of the future plans but uh I kind of got my answer in the last slides but
um yeah whether there's any value in this you know that they sometimes um separate these into cross chain or multi-chain and there are issues with Regulators as you know and as someone who keeps an eye on Layer Two of Bitcoin for example this is of really great interest to me um and having been involved with crypto comma as well you know the rootstock evm compatible contracts and all this um but yeah I don't want to grow my question it was simply about the roadmap and relevance of this oh yeah so um so roadmap for the Meetup or roadmap
for immutable are immutable um but actually both I would say yeah right sure well um I've I've outlined um some talks that are coming up and there is one other talk I've come up with an innovation for security of erc20 bridges which um I'm going to do a talk on at some point probably in October we'll do the passport one first um but it's actually something that I think is a really novel Innovation which I'm Keen to see what other people think and I think it it actually could be it would have mitigated The Nomad hack or stopped The Nomad hack stopped the
um axi Infinity hacking facts stop most of the ones on the wrecked leaderboard um from actually really happening so I think you know something that could potentially stop two billion dollars worth of attacks probably worthwhile having a chat about but anyway probably be in October um yeah um and those attacks are um some of them are really sophisticated but um it's some uh preventative measures as you mentioned um could have prevented a lot of them as well yeah yeah yeah for sure and um so for the immutables um road map look I think we're we're in the midst of launching the immutable
zkevm system we've got um a or several games that are um right you know in the midst of um getting their development going with the games there's been a whole stack of um games signing and game studios so it's not just single games but whole game Studio signing and so I reckon that um you know we're gonna have the system launched um in the coming months we're going to have um the um the games coming on and I think that the system will be hardened we're going to have some big game studios that are going to say hey we need an app chain all to ourselves and then we're going to be worried you know
having a multi-chain architecture and um I think that you know we're going to see potentially a move from the whole way of having these games where you know you say you've got all these in-game assets a million dollars worth of in-game assets but at the end of the day you know someone can just delete your account and you don't really have true ownership and I think that there will be a big move to um this sort of web 3 gaming and I'm really you know really proud that I'm working at um immutable to make this happen and I think that we're doing awesome an awesome job and that I think that we are really well positioned to
um you know do great things and so and I so I'm pumped to see how everything turns out as well so I mean but I think getting the multi-chain future of web3 gaming happening and creating an awesome web3 gaming platform is really what we're about and where we're headed over the next 12 months and Beyond yes um awesome stuff done thank you um this is really of interest to me as well how things uh in the end tie together um really cool all right thanks all right thank you everyone have a great week bye
Related talks
- Security & How Can We Make The Space Safer C4 - Jessica Levesque
- The Next Era of Web3 Security | ETHSofia 2025
- Notable security incidents since Devcon V | Devcon Bogotá
- DeFi Security Summit 2023: Day 2, 16 July
- Sebastian Banescu - Drained Before any Code Exploit: The Non-Code Risks of Web3
- Les Amis d'Ethereum France #3, avec DeFi France — La Sécurité pour les devs de dApps
- Panel | Who audits the auditors | Common S3nse - 2026
- Practical Security Measures for Web3 Founders
- Devcon 8 Community Led Stage: DeFi 101 Security Panels
