160302pentagon100648166orig
Security

Feds tackle open source code quality

Even as the White House is calling on federal agencies to make more use of open source projects, there's also a federal effort under way to reduce the number of vulnerabilities in those products via better code review tools and bug bounties.

By the end of September, the Cyber Security Division at the Department of Homeland Security plans to award funding for a project designed to improve the performance of static code analysis tools.

"We're in the process of approving proposals now from academia and small businesses," said Kevin Greene, the division's software assurance program manager.

[ ALSO ON CSO: Romancing development: How to avoid feeling vulnerable with open source ]

According to Greene, the static code analysis tools available today simultaneously miss many vulnerabilities while generating too many false positives.

"When a tool generates a lot of false positives, developers aren't going to use it," he said. "It creates a bottleneck, a phonebook of false positives they have to triage and go through. Going through all these findings slows them down, so they put the tool on the shelf and won't use it -- and now we have a bunch of vulnerable open source projects in the ecosystem."

Greene said that he's working with industry, government and academics to identify the gaps in the current technology, and to identify areas where improvement is needed. The project is called STAMP, or Static Tool Analysis Modernization Project.

The division already has a free collection of open source software designed to be used as test cases for code analysis tools, he said, called SWAMP, or Software Assurance Marketplace.

"It helps calibrate what a tool is good at, and not good at," he said. "It's been available to be used since 2014, with close to 1,000 users and close to 2,000 assessments per day."

The goal is to eventually have something like the Underwriters Lab, but for software.

"Just like we have labels on food, we need to put labels on software as part of the whole supply chain risk management process," he said. "So people have some assurance that the software can be trusted, that we can understand the attributes of the software."

[ RELATED: Public concerned about security flaws in government open source code ]

The other effort is to create a program that not only helps find new vulnerabilities in open source code, but creates fixes, he said.

As more open source software is created, the number of vulnerabilities goes up as well. Black Duck Software is currently tracking 1.5  million open source projects.

Open source vulnerabilities can be particularly dangerous, according to Black Ducks' Vice President of Security Strategy Mike Pittenger. Open source software can be ubiquitous, he said, and typically has no process where patches are automatically pushed out to users.

In fact, said Greene, many open source projects don't have any communities or companies behind them at all to create the patches in the first place.

"I want to create a bug-bounty approach, a vulnerability incentive research platform, where we leverage the power of crowd sourcing to find vulnerabilities and create fixes for them," he said. "I'm currently exploring ways to figure out how to do that. Hopefully, pretty soon, we can get it in shape and have it as a new project out of our division."

It would start out with a small budget and a discovery phase to see if it is feasible, he said. There are also issues around disclosure and privacy that first have to be addressed.

"But if we can find zero days before the adversaries find the zero days, and come out with fixes, man, we're making a lot of progress," he said.

IDG Insider

PREVIOUS ARTICLE

« Are healthcare CIOs being cut out of the analytics loop?

NEXT ARTICLE

10 myths marketing technology vendors want you to believe »
author_image
IDG News Service

The IDG News Service is the world's leading daily source of global IT news, commentary and editorial resources. The News Service distributes content to IDG's more than 300 IT publications in more than 60 countries.

  • Mail

Recommended for You

International Women's Day: We've come a long way, but there's still an awfully long way to go

Charlotte Trueman takes a diverse look at today’s tech landscape.

Trump's trade war and the FANG bubble: Good news for Latin America?

Lewis Page gets down to business across global tech

20 Red-Hot, Pre-IPO companies to watch in 2019 B2B tech - Part 1

Martin Veitch's inside track on today’s tech trends

Poll

Do you think your smartphone is making you a workaholic?