A Software Called Rocksalt Developed by Harvard Researchers Boosts App Security

RockSalt software improves app security.

Greg Morrisett

School of Engineering and Applied Sciences (SEAS) researchers and two Harvard undergraduates have developed a “clever bit of code” called RockSalt that could boost security for popular Web and mobile applications such as Gmail, Facebook, and Angry Birds.

When a user surfing the Web opens an external application, says Cutting professor of computer science and lead researcher Greg Morrisett, Web browsers such as Google Chrome typically “sandbox” the program’s code by running it in JavaScript, an intermediate—and safer—language. This approach limits native code (computer code compiled to run with a particular processor) to functions that fall within particular security parameters, but can also slow the application. If the application runs in native code instead, it will execute commands more quickly, but at a price: it makes devices more susceptible to hackers looking to gain access to other parts of a computer or mobile device. RockSalt solves the security problems of native code without slowdowns. Developed by Morrisett, former postdoctoral fellow Jean-Baptiste Tristan (now at Oracle), rising seniors Edward Gan ’13 and Joseph Tassarotti ’13, and Gang Tan of Lehigh University, RockSalt enables programmers to code in any language, compile their work in native executable code, and secure it without going through intermediate languages such as JavaScript.

When computer scientists at the University of California, Berkeley, developed a similar solution called software fault isolation (SFI) more than a decade ago, it was limited to devices using RISC chips, a type of processor more common in research than in consumer computing. In 2006, Morrisett developed a way to implement SFI on the more popular CISC-based chips, like the Intel x86 processor, eventually leading to Google’s development of Google Native Client (or NaCl).

When bugs and vulnerabilities were found in the checker for NaCl, Morrissett once again tackled the challenge, turning the problem into an opportunity for his students, and then presenting their research at the June ACM Conference on Programming Language Design and Implementation (PLDI) in Beijing. His team expects RockSalt to be integrated into future versions of common Web browsers, and plans to adapt the tool for use in a broader variety of processors.

“The biggest benefit,” says Morrisett, “may be that users can have more peace of mind that a piece of software works as they want it to.”

You might also like

In Sermon, Garber Urges Harvard Community to ‘Defend and Protect’ Institutions

Harvard’s president uses traditional Memorial Church address to encourage divergent views.

A New Narrative of Civil Rights

Political philosopher Brandon Terry’s vision of racial progress

How Do Single-Celled Organisms Learn and Remember

A Harvard neuroscientist’s quest to model memory in single-celled organisms

Most popular

What Trump Means for John Roberts’s Legacy

Executive power is on the docket at the Supreme Court.

Human Impact On New England Ecology Was Minimal before Europeans Arrived

Before Europeans arrived in New England, local ecology was driven by climate shifts, not by human interventions.

This Harvard Scientist Is Changing the Future of Genetic Diseases

David Liu has pioneered breakthroughs in gene editing, creating new therapies that may lead to cures.

Explore More From Current Issue

David McCord in suit reading a book at cluttered wooden desk in office filled with framed art and shelves.

The Pump Celebrates Its 85th Birthday

Giving Harvard traditions their due 

Illustration of scientists injecting large syringe with mitochondria into human heart.

Do Mitochondria Hold the Power to Heal?

From Alzheimer’s to cancer, this tiny organelle might expand treatment options. 

Man, standing in small group of people outside the courthouse, holding a sign that reads "HANDS OFF HARVARD" in red letters

Harvard’s Summer In Court

What Columbia’s settlement means for the University