as some of you may know there’s been a lot of talk about Meteor and Mylar in the academic and industrial environment, and I’m creating this post to push the community to make an even better job.
Mylar is a very cool implementation of some new mathematical concepts, if you want to find out more check this. It suffice to say that they did something no one did before, to help developers to make apps more secure than anything else they could do before.
Mylar + SSL makes meteor much more secure, but in order to call it potentially secure we need an additional step: authenticity. We need to be able to verify that the source code loaded is authentic, and Subresource Integrity does just that. It uses a cryptographic hash algorithm to verify source authenticity in a way meteor alone would never be able to.
Mylar + SSL + SRI would make a Meteor app deployed with phonegap very very secure, and would greatly increase the security of the average web app. Plus it would solve the problem of package security, and add a meteor way to do secure stuff, which I’m sure will be imitated by many other frameworks.
People would use meteor knowing they are already covered on a lot of attack surface. Compromisation of a server would allow to keep business as usual, as the attacker with SSH root access could at most stop the app , without being able to read anything meaningful from the database.
For the next two weeks I will be busy as hell, after that I will try to write a paper on the subject, with the goal of finding new cryptographic database schemas. I will sure cover SRI and I will try to push some commits here and there, but if more people will adopt this concept, I’m sure we could make meteor the most secure framework ever. Qualitatively more secure than anything else before.