BUIDL SEOUL 2018 (DAY 1): Panel (Preserving Security and Privacy)

BUIDL Seoul 2018 · November 2018 · 41:45

A panel on preserving security and privacy in blockchain systems, moderated by Professor Seungjoo Kim of Korea University. Guy Zyskind of Enigma, Kei Oda of Quantstamp, Kristy Kim of Ombredata and Dean Eigenmann of ZK Labs and ENS introduce their work on privacy protocols, smart contract auditing and alternative data for lending. They discuss how blockchain immutability and transparency can conflict with confidentiality, why financial institutions are studying the technology but waiting for regulatory guidance, and whether tougher regulation helps or hinders the industry. Recorded on day one of BUIDL Seoul 2018.

Speakers

Topics

From BUIDL Seoul 2018, hosted by KryptoSeoul.

Transcript

disrespectful sharing our session is titled is session is preserving securing parts as in Revolt the immutability and the best parts of the Dulce often conflicts with silicon parts in this session we will deal about this for this week and yeah sure hi guys my name is Chris became I'm a founder of Umbra data Imbruglia is an alternative data

marketplace for lenders so we have lenders to augment their underwriting algorithm by using our attorneys data in the US hi guys esteemed co-founder and CEO of anyone I guess the high-level page will be built in key privacy protocol for the immunity Centaurus the internet a more grounded one is that we're trying to solve the problem with privacy most concrete a smart card for privacy in our projects I must have a sexy US company silicon valley-based barrel I see

last year and yeah I guess the high level of it just 19 the research part of CK labs security company we do smart contract audits as well as research in space and then I'm also a researcher and mecha developer forgiveness in last five minutes I'll get some pictures from the forest so you should so in the US because I'm in the US

so I see lots of interest especially financial industry so all the things they are interested in learning more about it and we have internal team example city city groups they do have a small teams into the army looking at blockchain and do research there's lots of interest however I don't really see much activities going on yet and I asked my quest a reason when you guys have a team that are looking at watching and doing research and I spoke with them personally and they actually don't know a lot they are quite knowledgeable but the

issue is because it's highly regulated they do not want to do anything until regulators come up with the guideline now they are like reading but the positive angle is they are all looking at it internally even though they don't mention it like publicly that we will do something internally they actually react trying to learn more about it what were you thinking a desire to use yeah sure

so um to tell you a little bit about what we are doing is we get the data from the individual user let's say Christy I I am a good customer a good user but I happen to have a bad credit score but this day I have only 500 or 600 credit score and because the US credit score system is very arcane and then I can come to over data and then I can submit my alternative data you can be my social data my facebook or my clean Twitter or it can be by returning that's that they are like coinbase or - or e-commerce purchasing the data things

like that so I give permission to over data and they already clean that they index that they adapt then eventually make this the data available the truth on that there's four other other banks so actually I can do this without watching so I can do it in a centralized way it's no problem so my co-founder if he's from Google he's a senior engineer at Google so we've been discussing whether officially we care about opportunity because what I really care about it's fixing the real problem right technology it's just a tool and for me I just want to help people to get the loans from the bank that they

deserve so the conclusion was watching has very clear benefits when it comes to transparency and and this so let's say Christie Christie cos theta2 over at a table and gets a loan from the bank chris is happy but I want Christie to stay on over there platform how am I gonna her to stay with Umbra data so overly I can give her tokens in the future but other companies wanna buy her data so he used tokens as incentives to Ezra to encourage users to stay with us it's

more like a user retention strategy for us and the second part is transparency so we will use public watching so user so individual data providers can see but how many times of readiness all their data and then they know that Karen that there is a under personal guarantee that they will get compensated for that [Music] that has affected the privacy of the uses of the Oh brigade solve that problem yes so we are gonna use public watching but

right now as of today I don't think there is any clear law change solution like there was solution that I can do iPhone to be very honest so we are at this stage that we are positive that next year there are many questions they are one solutions they're on a monster bayonet and I'm very positive that they can actually feel bigger but they promised speed scalability and privacy so I did research at Berkeley with voices input sample and that's one thing I really cared a lot about so layer one watching like voices and some other box

chains but they promise is that yeah you can't put the data on top of it probably watch me you can encrypt it and when you compute this my contract we can guarantee the speed and a fisherman comes to coast right so I'm I'm hoping that I can actually see that next year so I would say TBD when it comes to beach watching I'm actually gonna use solution why why is it so deep to solve the problems well first of all

I would just so I think the problem privacy about you can kind of separate into two there is the transactional privacy problem and that is specifically for payments how do you hide the bounds how do you have the sender's receivers and just see how many competing technologies and implementations just for that specific problem is they on the C key storage that C cash is CP stores it bulletproof just it's your nature found these are great signatures you have people whe where you live maybe others and it turns out that's open privacy it is actually harder it's all being presented now when you want to

upgrade up I think about how do you protect data the privacy of data I would try to come arbitrarily smart contracts I think that problem becomes you know 10 makes it harder so that's what challenge I think after we solve the scalability problem we're still going to be trying to improve the privacy aspect but nowadays most of guys that are uses technology package seek about 20 presentations and Hall of encryptions but all of that is too complex to other to the ability I think so too complex for developer or to use though

buh-bam so from the developers perspective is a lot of the work we're doing is actually two streamlines so developer writes like one code doesn't have to know anything about photography is an if you think about privacy you're right a smart contract with a secret contract you put the function just a code and that's it all of the input when a user says input that's what contract that's going to be encrypted on the client side and again the user does not have to understand anything about a field friction or NPC when it comes to speed there's a lot of there's a lot of advancement so i'm

actually super optimistic about the less negative advancements there's also trusted execution environments which is a great solution that grows on record which can give you I'd say including the solution for some use cases but more privacies from the privacy it's gonna be a trainer it's gonna be after the developers to decide how much probably see they want versus performance but users yes we have several companies that should be guilty

numbers right now we have secret voting of Aragon and Ocean as applications with voting where all the votes are decrypted there is auction smart contracts of people building their your species around personal data and personal take the marketplaces real estate the marketplaces machine learning over encrypted data like Redis for many other applications Olympic applications there's quite a few is different in each country is globalize the top can you

solve these problems do you have any solutions so I am building an application so for application perspective I don't think that I have to turn it vertical market it's a as a business I'm trying to focus on one market and then do really good check the wrong market first so for example already we so in the u.s. because Thank You age regulations are so straight and then privacy law and very Lending Act and things like that for

lender is it's really hard of higher data whether its own blockchain earth or not watching so our job as a company is helping these lenders to access the data without taking any data cost of the risk so for example let's say over data will put all the data on top of watch chain and then let the lenders to access the data using the smart contract they were just deployed as my contract and that we will compute everything on our cloud shape and then send them their individuals back so in that way they don't actually store in any role data in their system in their computers right so because I provided a solution my clients the

lenders things are really happy and they want to work with us they want to be our customer so in the u.s. actually the fact that those are very complicated and slow it's good business opportunity for me as an application so it really so when you are building an application you got less areas you're blocking or not you really have to think about like what you are building like how it's how it's going to walk around the little Asians and whether your regulation can actually keep your service more value because

companies will need ears your issues how much did you know so already uh actually we are okay a we are compliant with gdpr because we get the data from the user after user consent so in that way we are we are the representative so I mean just to reiterate I think the big problem with regulation right now is you're right it's different for every country most countries trying to protect data privacy one today that is very siloed and not move to jurisdictions that's a real culprit we've seen pretty much all over and I think this is a classic example of

regulation blocking technology which is what the ones have unfortunate but I would say that the spiritual preparation is in the right place when it comes to more practical and pragmatic solutions I think the first step would be to create some hybrid systems for example GDP I get with my Isis really so one solution I think would be to behave like a public chilly does sound like the magnitude of the infrastructure but the actual data living on plasmid shipments or centralized servers or resources solutions again the object we are

something like plasma and these are running you Mon Amour siloed restriction in places and combined with technologies like any who is developing these would be able to protect the privacy to date you know jurisdiction I think that would be a good intermediate solution until record and the regulation can keep up and we're also trying to talk to regulators and explain that there should be new definitions that accommodate yes it's not a less common skill we have to happen in these areas and this is this is for both of the UK e so seriously is

this little problem means the smart object but the big object well we have to define what security problem there's there's the problem of smart contracting being very new and they're being compiler issues and people writing buggy code but there's also the security problem of people writing bad business and I think the what one has started to mature which is that some are contracted languages are getting better we're starting to phase out bugs we had compilers but the business logic problem that people are writing buggy code or people are writing that business logic is still very existential epistle yeah I would actually concur with that and I

would also add that the main problem is that there are actually no standard rules or you know program a bit spa contract and you know when you say I'm going to get the security audit there's actually the definition of a small contract security audit either so you could go to one guys sitting on a beach somewhere you know it takes a look at your code for 30 minutes and says yeah that's fine you know what I've done or you could go to one snack where we would probably have three to five engineers ordered in your smart contract and take you know ten days to two weeks to do you know an audit you'll get a ten page report and

the two things are the same in people's eyes I got I bought it and so I think what's really important is to is to figure out as an industry you know what exactly a security or that means and you know how is it helpful to you know secure you're smart contact which may have you know tens of millions if not hundreds of millions of dollars of value assorted career I would say you know the results are mixed one was extremely good one was

not so good but I think that that's you know you get that kind of but you can't get that difference equality in many many different countries and so you know I don't think there's anything specific to Korea that you wouldn't find you wouldn't get in we should explain this about how can we can check the security of the smart contract is it the same as the ordinary shockwaves deeper so if you're trying to use software to attract

the security be very disappointed because a lot of the tooling in this space is very mature and a lot of the tooling that currently exists it's already hard for an auditor like me to use and so if you're a regular developer there's probably a very high barrier of entry for you to be able to use any form of security tools so this might sound a little biased coming from an auditor but probably the best way to ensure that your smart contracts would be are secure you're gonna probably want to go with an audit and you're going to want to do enough research to make sure I didn't find a reputable auditor okay said that you don't end up with some kind say on a beach and quickly scrolls through your contracts and tells you everything you

say there's definitely those two types of companies and I think with a lot of the initiatives which we're working on with like at security and stuff like that it's starting to become clear what companies you want to work for and what what type of wanted to look for and what to expect from an alter again I mean I think I agree like automated solutions of our difficult just to give you background once that was originally you know formed as a company to build that revised protocol capable of auditing small contracts automatically and you know well that's a very you know I think the the end goal is extremely you know

important to the space given the number of small contracts as it's virtually exploded from you know ten thousand at the beginning of 2017 to over eight million today and this is just on aetherium it's clear that manual auditing is not a scalable solution for you know blockchain in general so I think that ultimately this automated software will become important but at the moment it's very it's still nascent we think that you know the protocol that we're building tries to wrap the analyzers that exists today to make them easy to use but even then as dean says

you get a lot of false positives you get false negatives and essentially it's pretty hard to interpret the results unless you are a security expert and so ultimately you know I think there's still a role to play for manual auditing companies what we are trying to do is to reduce the input the human input so that we can drive the cost down and make it affordable for everyone to develop and develop safe small contracts I mean one of the poems with the automated tools as well as they'll find bugs but they won't find bugs in business you'll find if something if something is wrong according to unit tests or they'll find if you have but

they're never going to be able to fully validate your business ecology unless you've taken the time to write a formal I suspect and even then there might be certain bugs which just happen when a human is working on something where you should probably work together with the security expert even if that's not an audit having a security expert on your team or whatever you still need that especially if you're writing critical stuff where value store for smart contracts where value isn't stored and they're not high or that there's not a high cost or effect if something goes wrong then you're usually final deploying subdomain ended up getting a moment but the second two users are entrusting a lot of volunteers mark contract you should definitely want to

work with multiple security experts but the smart contract is is long on the blocking networks into a disability infection so you said any analysis platform in the Gospels like a boy and so we should check the over not only is static analysis but also be to the analysis instead some people opt out threat

modeling language for smartphone fact is nephew so some people say that we should develop some kind of programming languages for smart project to improve the secretive bodies how we think about oh yeah I mean I'm going to take first time I certainly think that there are some problems with solidity for example the attack surface is generally quite considers to be quite large I also think that there are a lot of very talented as far people working on alternatives you know just to name a couple I would say

you know the folks at silica out in Singapore who are good friends of ours they're they're developing killer smart contracts and you know Kadena who is represented here I know bill is working on you know very cool smart my track platform as well so over time I don't think it's you know you don't have to say that aetherium is the only smart contract solution I think there were a lot of very cool projects going on so whoever ends up you know getting the consensus five years down the line the winner but at the same time you know I think so that is he and you know a theory of space in general has come along with a way so that you know we're

slowly bringing in concepts of for example template a small contracts so that a lot of this a lot of the work has already been done and a lot of the code has already been audited by you know by professional security experts and so I think that that will make smart contracts safer you know just by virtue of having experience you know etherium is still only four years old so adding more line which is a trade-off one is the there's the positive that we have more languages but then there's also the negative that for example is something like equals we take away a large barrier of entry which we had for solidity and as innit areas that may sound for something like wall chains

where people are working with value and work millions of dollars in value I kind of want to have a barrier of entry I don't want a guy who made a website once in his life to then start writing small contracts which are responsible for transferring value and when we when we start adding more languages we also we make our job a lot more difficult I'm not complaining about that very dynamic in learning new languages and learning how many compilers work but we we take away from being able to be an expert in one thing we have to be experts in a lot of different things that vary complexities like awasum is a lot more complex than the easier things right now and once we introduced that I said you have the barrier of entry going down so

any developer can start developing because pretty much any you can find a compiler for pretty much any language which compiled I'll take you Walton and that's to the point where we're now gonna have to start validating code in the bytecode level essentially always rather than submit it to go I mean we do validate stuff on the by cook level right now but not as often as we will probably have to and the other problem is the tool it doesn't exist every time we add Latin which is we go back to square one on the tooling and so the progression of us being then able to have those tools is going to be best or one will be sitting on kind of like I've been asking so what do we control why isn't there tools why are there

security tools in this place I want to talk talk about from the auditing in the form of study Kannamma suspect so when I dress appropriate which ball choose from the privacy so from a privacy standpoint you know there's actually as I said doesn't need to be much the only change the worst thing to get squeezed the people performance is just to introduce special types in the system today anyone seen as a security if you have flow as you want to secure flow so

that's pretty much the extent of the unit which changes the we were introduced for privacy of normals the from a scalability perspective I realized as one of it has debated in the wasn't be more complicated but at the same time when we built our back-end using EVM to begin with but if um is is really a toy satori if you want to integrate data sources from the outside if you want to be able to work with libraries or commonplace if you want to just have more scalable execution with optimized backends that have been developed over years and years by many people then you

probably want to use our batteries like weather sleeping the last part on the prophecy front is I think that you know over time so one more addition on the privacy point it's not the language itself but if people really care about privacy people really start to care about what kind of data - applications leaked right and we're gonna also integrate solutions like differential privacy so you can keep data encrypted in protect encrypted as we're doing it on the language but at the end of the day when an application returns a resolved that was always will return to some meaningful data and there will come

equation that is that they have meaningful enough that it makes personal information or not one solution for that is depression prophecy but I also foresee tuning that comes to place and actually go over smart contracts over the smart or secret contracts and actually examine what kind of leakage what kind of day [Music] [Music] between the project can solve a problem

so to be very clear we are not using smart contra in production now we are testing it we are using API right now because when you go and talk to your customers like bank they don't want to talk about smart contract so I am like I talked about us our contract and I tell them what it is and they tell I tell them a benefit of automation and things like that but for now I think as we talked about it's not ready yet for to come bees big traditional layers like wings to use it like Bank of America they have half of us other population as their customers right they are not going to risk

anything so for now what we are doing is step by step solution that first of all I'm telling them that what I'm doing either without door chain and then they see the value of it and I tell them that yeah you can use our services with the API and the next year we are you can also use watching and then I'm just more like taking step by step oh and then any one quick comment about the language in protocol layer one blockchain I think including on bread data many deaths we are language agnostic in protocol agnostic in a way that our end goal is solving the problem and helping our

cosmic making our customers happy and our customers don't nearly whistling is very amusing or which protocol we are using to write so for us I think we are agnostic you will just use a technology that's like easier and easier to use and that's more stable and despite my best impressions from the tissues which are beyond convinced apartment

it is yeah so funny Vasudeva you don't forget you

ever think about money quite a bit sweeter our babysitter / constic dude mushi Oh Russell honey honey bother cooking between Tiana as you can see you mean you knew that there are so many traditional spectrum indeed the smart

contract of the blockchain so he said yes do you find out which tools to check so many traditions cake you mean it that because of the authority right so the contracts have yet a certain conditions and certain condition will match the flow point you to the statement work is not going to be the statement so that basically in which case you have to strike all response contract rate into the other small contracts but how they would happen it would be the main net you do actually tractor over they are word do you mean how do we track it during the audit process or how do we check it otherwise during the auditing

process it's just the biggest testing we unit tests we expect people to test every single contract they're going to be using and we look through every single contract they're going to be using unless it's been audited so I look through every single dependency how you check that on main net it's kind of hard we expect people to write contracts securely enough that if something is wrong in another smart contract that our contract that the user is interacting with and we have the abilities in smart contracts those kind of chance but it's about educating developers to actually make sure that their code is written antifragile enough that everything could go wrong by the user isn't effective so in not just like

the ability also businesses it can be an issue because the one reason why I have this my country production yet is for example when when there is the bank the State Bank of America black for it's my contract asking some questions Ambra they are supposed to give them aggregated level of data what means is that they can ask what how many times Christy made purchase on Amazon per year or per month or per weekly so they can know how many or they can see category but they are not supposed to ask exactly what Christie bought to protect the privacy right so to guarantee that we have to come up with a syrup some type of smart contract

pamphlet we have to audit that our customers will not like manipulate is my country or practice my contract in a really smart way that they will actually get get the raw data but they kept invoke around the Rodya but that's not there's not gonna be captured by the auditing rights and that's one of the business mistakes so I think that's another vindication of smart contracts I think like that because I expect my clients to give me a specification of so issues like that is that the logic issues which were starting to look for

as auditors has drastically decreased especially with protocols which are deployed that we were focusing a lot on business logic issues at this point so it's not just checking for bugs like oh you added this number one but us so forth things like you mentioned yes no it's just about to say business logic is actually probably the one thing we're human like you know human checks our business yes we have what iWhat has a question is not a technology over it certainly the use album say that are you to be legen 80s securities is

good will you stop it's good for the US government I frankly don't care I think it's a case-by-case basis it's not good for investment perspective I mean you're doing a project and then investors are very loud because of that statement so in that regard for the industry in general it's not good with this one down the money coming into the market but overall I always think that it's better to have regulation than willing the us because as I mentioned enterprises they're not gonna do anything unless there's some some regulations so I think it's good that

this government is saying something other than not saying yeah I mean I would say look Capital is fluid I think into intellectual capital is also pretty fluid and so if the u.s. is going to you know to take much tougher stance then you know I think projects will move the jurisdictions that might be easier for them to try to do what they do I'm not saying that that's necessarily a good thing but you know in this day and age just because the u.s. says something I don't think it's clear to me that everybody is just going to follow like they made up done in the past that said we do think regulations is necessary but you know as with all things

over-regulation is the thing that really kills innovation and it's happened in finest you know time and time again so I hope it doesn't happen in blockchain okay yes that is time to each these sessions please give a big round of applause to these great species [Applause]