Know your code—and know your stuff!

By : Krishna Anindyo | Tuesday, July 07 2020 - 07:00 IWST

An Open Source Audit Digs Into a Codebase to See What’s Inside
An Open Source Audit Digs Into a Codebase to See What’s Inside

INDUSTRY.co.id - The nature of open source use makes it hard to track. Open source in a codebase typically results from the collective decisions of individual developers. A developer faced with a gap in functionality might cast about the internet for a “puzzle piece” — an open source component, a code snippet — that fits. The result: A puzzle completed in less time, with less effort, than if your developers had to craft each piece from scratch.

But some developers are more savvy than others about vetting the components they ingest on their company’s behalf. And without proper vetting, those components can embed quality, security, and license issues into the finished project.

Tracking trends in open source use through audits

It’s a challenge to track open source within companies (though software composition analysis makes the job more manageable). It’s even harder to do so at the industry level. But understanding industry wide open source trends is essential to crafting best practices that keep your development organization ahead of the game.

So how can we get a complete picture of what’s going on in the industry? Through data aggregated from open source software audits. In open source audit, the audit team pries open a codebase to see what’s inside.

The results of one audit are almost always surprising. And when we combine the data from thousands of audits, we see clear patterns in open source use that every development organisation should be aware of.

Making sense of our open source audit data

My Black Duck Audit Services team analyses more code for open source than anyone in the world, across all industries and technologies. Through brute force, for the last four years, we’ve been digging into codebases and aggregating anonymised data on code composition, legal issues, security issues, and other operational factors.

Recently, working with the Synopsys Cybersecurity Research Center (CyRC), we published our 2020 Open Source Security and Risk Analysis report, a great bedtime read for anyone in software.

Below are some highlights of what we found across over 1,250 codebases we reviewed in open source audits in 2019. But you really should download the report to get more details and a breakout by industry.

You may also want to check out our open source in M&A webinar, in which I put the results in the M&A context. “Phil really knows his stuff,” one participant commented at the end. But that’s shooting a compliment at the messenger. The reality is Synopsys knows its stuff when it comes to open source.

Software composition

Virtually every codebase reviewed in an audit last year (99%) included some open source.

Most of the code in these codebases, 70%, was open source.

The average codebase contained about 445 open source components.

License risk

73% of the codebases had at least one license issue.

67% of the codebases contained components with license conflicts, most frequently GNU GPL conflicts.

Security risk

75% of codebases under audit contained open source components with unpatched vulnerabilities.

The percentage of codebases containing high-risk vulnerabilities increased to 49% in 2019.

Yes, Synopsys, with the CyRC and Black Duck Audit Services team, knows its stuff. After you read the report, you’ll know your open source stuff too!

News Comment

Today's Industry

President Jokowi visited PYCH, in Jayapura City, Papua Province, Tuesday (21/03/2023). (Photo: BPMI Setpres/Laily Rachev)

Rabu, 22 Maret 2023 - 10:40 WIB

The song "Yamko Rambe Yamko" Welcomes the President's Arrival at PYCH

Starting the second day of his visit to Papua Province, Indonesian President Joko Widodo (Jokowi) visited the Papua Youth Creative Hub (PYCH), Jayapura City, on Tuesday (21/03/2023). 

President Joko “Jokowi” Widodo

Rabu, 22 Maret 2023 - 09:31 WIB

President Jokowi: Papua Youth Creative Hub to Stimulate Creativity of Papuan Youth

The newly inaugurated Papua Youth Creative Hub (PYCH) in Jayapura City is expected to provide space for Papuan youths to develop creativity and innovation in various fields, such as fashion,…

President Jokowi arrives at Sentani Airport, Jayapura regency, Papua province, Monday (03/20). (Photo by: BPMI of Presidential Secretariat/Laily Rachev)

Rabu, 22 Maret 2023 - 08:30 WIB

President Jokowi to Inaugurate Papua Youth Creative Hub

President Joko “Jokowi” Widodo kicked off a working visit to Papua province on Monday (03/20).

Founder dan Chief Executive Officer (CEO) Fuse Andy Yeung (right) and COO Fuse Ivan Sunandar.

Rabu, 22 Maret 2023 - 06:55 WIB

Fuse Achieved More Than Usd 200 Million Of Gwp and 150 Million Policies For 2022

During the Grand New Office Opening event on 17th March, 2023, insurtech company Fuse announced more than 150 million policies, with GWP exceeding USD 200 million (IDR 3 trillion) being achieved…

President Jokowi at the handing over of the COVID-19 Pandemic Handling Award, at the Dhanapala Building, Ministry of Finance, Jakarta, Monday (20/03/2023). (Photo: Public Relations of Setkab/Jay)

Senin, 20 Maret 2023 - 16:40 WIB

President Jokowi Gives Appreciation for the Contribution of Various Parties in Handling the COVID-19 Pandemic

RI President Joko Widodo (Jokowi) presented awards to various parties who have contributed and worked hard in efforts to deal with the COVID-19 pandemic in the country.