Feds tackle open source code quality

There's a federal effort under way to reduce the number of vulnerabilities in open source projects

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.

Join the CSO newsletter!

Error: Please check your email address.

More about AssuranceCSO

Show Comments

Featured Whitepapers

Editor's Recommendations

Solution Centres

Stories by Maria Korolov

Latest Videos

  • 150x50

    CSO Webinar: Will your data protection strategy be enough when disaster strikes?

    Speakers: - Paul O’Connor, Engagement leader - Performance Audit Group, Victorian Auditor-General’s Office (VAGO) - Nigel Phair, Managing Director, Centre for Internet Safety - Joshua Stenhouse, Technical Evangelist, Zerto - Anthony Caruana, CSO MC & Moderator

    Play Video

  • 150x50

    CSO Webinar: The Human Factor - Your people are your biggest security weakness

    ​Speakers: David Lacey, Researcher and former CISO Royal Mail David Turner - Global Risk Management Expert Mark Guntrip - Group Manager, Email Protection, Proofpoint

    Play Video

  • 150x50

    CSO Webinar: Current ransomware defences are failing – but machine learning can drive a more proactive solution

    Speakers • Ty Miller, Director, Threat Intelligence • Mark Gregory, Leader, Network Engineering Research Group, RMIT • Jeff Lanza, Retired FBI Agent (USA) • Andy Solterbeck, VP Asia Pacific, Cylance • David Braue, CSO MC/Moderator What to expect: ​Hear from industry experts on the local and global ransomware threat landscape. Explore a new approach to dealing with ransomware using machine-learning techniques and by thinking about the problem in a fundamentally different way. Apply techniques for gathering insight into ransomware behaviour and find out what elements must go into a truly effective ransomware defence. Get a first-hand look at how ransomware actually works in practice, and how machine-learning techniques can pick up on its activities long before your employees do.

    Play Video

  • 150x50

    CSO Webinar: Get real about metadata to avoid a false sense of security

    Speakers: • Anthony Caruana – CSO MC and moderator • Ian Farquhar, Worldwide Virtual Security Team Lead, Gigamon • John Lindsay, Former CTO, iiNet • Skeeve Stevens, Futurist, Future Sumo • David Vaile - Vice chair of APF, Co-Convenor of the Cyberspace Law And Policy Community, UNSW Law Faculty This webinar covers: - A 101 on metadata - what it is and how to use it - Insight into a typical attack, what happens and what we would find when looking into the metadata - How to collect metadata, use this to detect attacks and get greater insight into how you can use this to protect your organisation - Learn how much raw data and metadata to retain and how long for - Get a reality check on how you're using your metadata and if this is enough to secure your organisation

    Play Video

  • 150x50

    CSO Webinar: How banking trojans work and how you can stop them

    CSO Webinar: How banking trojans work and how you can stop them Featuring: • John Baird, Director of Global Technology Production, Deutsche Bank • Samantha Macleod, GM Cyber Security, ME Bank • Sherrod DeGrippo, Director of Emerging Threats, Proofpoint (USA)

    Play Video

More videos

Blog Posts

Market Place