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

Five Questions with Andrew Knoll

A paleontologist on how to understand Earth’s biggest extinction event

Harvard Professor Michael Sandel Wins Philosophy’s Berggruen Prize

The creator of the popular ‘Justice’ course receives a $1 million award.

Harvard Economist Wolfram Schlenker Is Tackling Climate Change

How extreme heat affects our land—and our food supply 

Most popular

Three Harvardians win MacArthur Fellowships

A mathematician, a political scientist, and an astrophysicist are honored with “genius” grants for their work.

Harvard Faculty of Arts and Sciences Faces a $350 Million Deficit

At a faculty meeting, Dean Hopi Hoekstra advocates for long-term, structural solutions.

Harvard Institute of Politics Director Setti Warren Dies at 55

The former Newton mayor is remembered as “a visionary and tireless leader” by the University community. 

Explore More From Current Issue

Illustration of tiny doctors working inside a large nose against a turquoise background.

A Flu Vaccine That Actually Works

Next-gen vaccines delivered directly to the site of infection are far more effective than existing shots.

Aisha Muharrar with shoulder-length hair, wearing a green blazer and white shirt.

Parks and Rec Comedy Writer Aisha Muharrar Gets Serious about Grief

With Loved One, the Harvard grad and Lampoon veteran makes her debut as a novelist.

Two women in traditional Japanese clothing sitting on a wooden platform near a tranquil pond, surrounded by autumn foliage.

Japan As It Never Will Be Again

Harvard’s Stillman collection showcases glimpses of the Meiji era.