A software called RockSalt developed by Harvard researchers boosts app security

RockSalt software improves app security.

Greg Morrisett

Greg Morrisett | Photograph by Rose Lincoln/Harvard News Office

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

FAS Readies for Administrative Transition

Faculty leaders say layoffs will yield $20 million in annual savings.

They Might Be (Harvard) Giants

Two tales of University greats—and an encounter with a Tiger

Jason Furman: Capitalism Is Working. It Could Work Better.

On Open to Debate, the Harvard economist defended free market competition—with meaningful government involvement. 

Most popular

Harvard Stabilizes Finances With Strong Endowment Returns, Philanthropy

Small operating surplus is dwarfed by reduced federal research support and endowment tax liabilities.

Treat AI Like a New Species, Harvard Scientist Says

Joshua Joseph discusses how society can manage and coexist alongside self-governing AI agents.

How Philosophy at Harvard Saved Itself

As humanities shrink across higher education, one department is flourishing. Is its success a fluke, or a roadmap?

Explore More From Current Issue

A woman jogs on a path beside a boy riding a bicycle, surrounded by trees.

Why Harvard Medical School is training physicians to think more like coaches

Panoramic view of Harvard University with autumn foliage and a river under a cloudy sky.

The University is expanding industry ties and investing its own funds to support research, but neither will replace lost federal dollars.

Delicate green cocoa pods and small white flowers on a tree branch, surrounded by soft greenery.

Harvard researchers investigate climate’s impact on cocoa crops, innovations in nasal vaccines, and links between pain and skull marrow.