Over a million developers have joined DZone.

Dear Open Source Developers, Please Protect Your Users

DZone's Guide to

Dear Open Source Developers, Please Protect Your Users

With open source projects come the threat of infiltration by malicious code. Developers need to take steps to protect their users.

· DevOps Zone ·
Free Resource

The Nexus Suite is uniquely architected for a DevOps native world and creates value early in the development pipeline, provides precise contextual controls at every phase, and accelerates DevOps innovation with automation you can trust. Read how in this ebook.

For the second time in as many weeks, we’re seeing the fallout of missteps taken by publishers of open source components. It was just last week that I wrote about the GitHub ID of go-bindata being highjacked. We don’t know for certain if the intentions were malicious but the risk was obvious.

Today we are finding that credentials were compromised for an npm component called conventional-changelog and a malicious version was uploaded that allegedly included a Monero cyptocurrency miner. Anyone who built or installed an npm package depending on the malicious package yesterday is now potentially running a miner and worse, potentially distributing it to their downstream users or customers.

A few months ago, people were laughing at a parody of a similar situation describing credit card harvesting via a compromised package. It's not so funny anymore, is it?

Open source developers typically thrive in creating something used by millions or billions of other people. This is the fuel that drives us and knowing that you’ve contributed, even in some small part, to the lives of millions of users is amazing.

Conversely, knowing that you’ve accidentally inflicted harm on those users through careless practices is probably devastating… yet seemingly not enough people are thinking about this beforehand, while it’s preventable.

We open source developers and package maintainers are finding ourselves at the front line of the new battle. Attackers have recognized the power of open source in terms of broad distribution and are seeking to use that against us.

We must not let them ruin the reputation of the things we’ve built. Or worse, the entire open source ecosystem.

If you're an open source contributor or package maintainer: Pay attention to your own digital security as you would if you were protecting millions of others. Because you are.

The DevOps Zone is brought to you in partnership with Sonatype Nexus.  See how the Nexus platform infuses precise open source component intelligence into the DevOps pipeline early, everywhere, and at scale. Read how in this ebook

github ,open source ,security ,devops

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}