Thinking upstream about the White House cybersecurity executive order
Tags: discuss, opensource, devops, news
Published: 2021-05-19 16:42:17

---
title: Thinking upstream about the White House cybersecurity executive order
published: true
description: Upstream thinking and the White House cybersecurity executive order
tags: discuss, opensource, devops, news
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/943dl8v8drqpuikoyuwp.jpg
---

<h2>The upstream parable</h2>
<p>Stop me if you’ve heard this one before.</p>
<!--more-->
<p><em>Three friends are relaxing beside a river. Suddenly, they hear the sound of someone crying out for help.</em></p>
<p><em>Looking out into the river, they see a child flailing in the middle of a strong current. The first friend moves quickly, jumping in and swimming as fast as they can to get the child and pull them to safety.</em></p>
<p><em>Before the first friend is able to get back to shore, there are more cries for help. Three additional children are in the river, in need of urgent rescue. The second friend, knowing he must rescue all three at once, grabs a nearby raft and paddles out into the river.</em></p>
<p><em>Meanwhile more children keep popping up, all needing rescue. This second friend, overwhelmed, desperately looks around for the third friend, who is nowhere to be seen.&nbsp;</em></p>
<p><em>Finally, he spots her, in the river, swimming upstream.</em></p>
<p><em>“Where are you going, these children are going to drown!” calls out the second friend.</em></p>
<p><em>The third friend keeps swimming and calls back:&nbsp;</em></p>
<p><em>“I’m going upstream to find out who is throwing all of these children in the river!”</em></p>
<h2>What is upstream thinking?</h2>
<p>This parable is at the heart of what is known as <em>upstream thinking</em>. In his recent bestseller <a href="https://heathbrothers.com/books/upstream/"><span>Upstream: The Quest to Solve Problems Before They Happen</span></a>, author Dan Heath introduces the concept this way:</p>
<p style="padding-left: 40px;">“So often in life, we get stuck in a cycle of response. We put out fires. We deal with emergencies. We stay downstream, handling one problem after another, but we never make our way upstream to fix the systems that caused the problems. Cops chase robbers, and doctors treat patients with chronic diseases, and call-center reps address customer complaints. But crime and chronic disease and customer complaints are preventable! So why do our efforts skew so heavily toward reaction rather than prevention?”</p>
<p>So if <em>downstream thinking</em> focuses on solving problems after they occur (fishing children out of the water, in our parable), <em>upstream thinking</em> focuses on efforts to prevent problems before they occur (“I’m going to find out who is throwing all of these children in the river!”).</p>
<p>Those who practice upstream thinking, also known as <em>upstreamists</em>, are systems-level thinkers, seeking to understand the root causes of downstream emergencies.&nbsp;</p>
<h2>Upstream thinking and the White House cybersecurity executive order</h2>
<p>Which brings me to the recent <a href="https://www.whitehouse.gov/briefing-room/presidential-actions/2021/05/12/executive-order-on-improving-the-nations-cybersecurity/" rel="noopener" target="_blank"><span>White House cybersecurity executive order</span></a>, which <a href="/cyber-security-executive-order" rel="noopener" target="_blank"><span>we’ve done a full debrief on here</span></a>.</p>
<p>TL;DR: the cybersecurity executive order is an attempt by the United States government to use its purchasing power to create positive changes to the way cybersecurity is addressed around the world.&nbsp;</p>
<p>Recent high profile breaches like the Colonial Pipeline ransomware attack or the SolarWinds software supply chain attack have shown that our cybersecurity defenses are woefully inadequate. This executive order forces a higher standard of cybersecurity for any organization selling software to the federal government, which in turn makes it the de facto global standard for all software in the future.</p>
<p>As I read the executive order for the first time, I couldn’t help but think it provides an incredible opportunity to apply upstream thinking to software.</p>
<h2>In open source, the focus has been downstream for too long</h2>
<p>Sticking with our parable for a second, when we look closely at the problems that open source software has faced when it comes to cybersecurity, most work over the past few years has gone into <span>developing downstream solutions that help those already in crisis</span>.</p>
<p>In fact, an entire industry has cropped up around software composition analysis (SCA) and container scanning tools that will tell you what is wrong with your software from a security or licensing perspective. This kind of open source urgent care has become a big business, with companies raising hundreds of millions of dollars and grabbing the attention of frustrated CIOs who don’t want to go down in flames as “the next Equifax.”</p>
<p>But are we really content to continue being overwhelmed by a never-ending parade of open source health crises?&nbsp;</p>
<p>Or should we instead turn our attention upstream?</p>
<h2>Spurring an upstream movement in open source</h2>
<p>On June 7, Tidelift will be hosting a completely free, virtual event to celebrate open source and the people who create it, and we’ve named it Upstream (<a href="http://upstream.live/" rel="noopener" target="_blank"><span>sign up here!</span></a>).</p>
<p><a href="https://en.wikipedia.org/wiki/Upstream_(software_development)" rel="noopener" target="_blank"><span>From the Wikipedia definition of upstream, as it relates to software development</span></a>:</p>
<p style="padding-left: 40px;">“In software development, upstream refers to a direction toward the original authors or maintainers of software that is distributed as source code, and is a qualification of either a version (released by the original authors, based on their upstream source code), a bug or a patch.”</p>
<p>Our original intent with this name was to honor the work of the people who create and maintain the open source code that all of our applications rely on: the upstream maintainers.</p>
<p>But we also loved the dual meaning, that this event could serve as an opportunity to spur a movement of upstream thinking in our open source corner of the universe.</p>
<p>While Dan Heath’s book shares examples of upstreamists operating in many different fields, healthcare is probably the field where upstream thinking has seen the most traction.</p>
<p>For some broader perspective and inspiration, we’ve invited one of the leading upstreamists in healthcare, Dr. Rishi Manchanda, to give a keynote at Upstream. If you haven’t seen his TED Talk on upstream thinking, <a href="https://www.youtube.com/watch?v=dJEwC4wCM70" rel="noopener" target="_blank"><span>you can view it here</span></a>.</p>
<p>But why wait? We can start applying upstream thinking to open source software security and maintenance issues right now!</p>
<h2>Applying upstream thinking to open source</h2>
<p>Let’s do a little exercise in upstream thinking.</p>
<h3>Problem: managing open source effectively and keeping it secure is an enormous challenge</h3>
<p>For most organizations, it has become a difficult—if not practically impossible—task to effectively manage the security and maintenance of all of the open source code they use.&nbsp;</p>
<p>In fact, a recent Tidelift survey found that only <a href="/finding-4-confidence-in-organizations-open-source-practices-declines-as-size-of-company-grows" rel="noopener" target="_blank"><span>16% of organizations with over 10,000 employees are extremely confident that their open source is up to date, secure, and well maintained</span></a>. Meanwhile a whopping 39% were not very or not all confident in their practices for managing open source.</p>
<h3>A downstream solution: scanning&nbsp;</h3>
<p>Many of these organizations have attempted to solve their problem with software composition analysis tools that point out security, maintenance, and licensing issues with their open source dependencies. But too often these tools are introduced late in the development process, and report false positives or issues with no easy resolution. They are in essence crying out, “hey, there are children in the river!!”</p>
<p>Yeah, we know.</p>
<p>This leaves developers stuck with bad choices.&nbsp;</p>
<ol>
<li aria-level="1">Replace problematic packages (with the associated delay, and only possible if good alternatives exist)</li>
<li aria-level="1">Rewrite the code yourself (if you have time)</li>
<li aria-level="1">Work with with an open source maintainer to get the issue fixed upstream (if you can get their attention)</li>
<li aria-level="1">Ignore the scanner result (if you want to roll the dice)</li>
</ol>
<h2>Heading upstream to discover root cause</h2>
<p>It begs the question: why <em>are</em> there so many issues for scanning tools to find? And could we reduce the open source equivalent of emergency room visits by examining the environmental factors that are causing them?</p>
<p>There are a lot of root causes we could consider for issues in open source, from what motivates scanners to report false positives to how package managers deliver updates. But today I want to focus on one root cause that is staring us right in the face. It was perhaps most poignantly captured by <a href="https://xkcd.com/2347/"><span>this recent xkcd cartoon</span></a>.</p>
<p><a href="https://xkcd.com/2347/" rel="noopener" target="_blank"><img src="https://f.hubspotusercontent30.net/hubfs/4008838/dependency_2x-credit.jpg" alt="dependency_2x-credit" width="200" loading="lazy" style="width: 200px; margin: 10px; float: left;"></a>In open source, the majority of people writing the code that modern digital infrastructure depends on are volunteers or are grossly under-compensated for their work. In other words, random people in Nebraska, thanklessly maintaining projects since 2003.</p>
<p>Sneak preview of our upcoming maintainer survey results: almost half of maintainers are paid <em>nothing</em>—not one cent—for their work, while more than half are paid <em>less than $1,000 US per year</em>. Only 6% are paid what might be considered a living wage (more than $50,000 US per year).</p>
<p>Which means that for most maintainers, open source is more of a hobby than a profession. It just happens to be a hobby <span>that all organizations are counting on them to keep doing, to an enterprise standard, without compensation.</span></p>
<p>It doesn’t take a neurosurgeon to uncover the root cause here.</p>
<h2>An upstream solution: partner with maintainers and users to improve software health and security</h2>
<p>Which leaves us with some simple truths:</p>
<ul>
<li aria-level="1">Enterprises building applications on top of the modern open source digital infrastructure need open source they can rely on.</li>
<li aria-level="1">Open source maintainers should be fully compensated if we expect them to deliver secure, well maintained software built to an enterprise standard.</li>
</ul>
<p>It might seem kinda obvious, but one solution is to build a model where maintainers get paid to do the work enterprise users need them to do.</p>
<p>How many security issues could be avoided if maintainers were being properly compensated to ensure their components stayed secure and up to date? Even more interesting: how much amazing open source software isn’t even being created today because there aren’t incentives in place for the people who might create and maintain it?</p>
<p>In Rishi Manchanda’s TED Talk about upstream thinking, he tells the story of Veronica, who appeared in his clinic suffering from debilitating migraine headaches and severe allergies. Multiple visits, multiple treatments, nothing could fix what was wrong with her.</p>
<p>Until Dr. Manchanda asked her about where she lived. It turned out that her house was moldy, wet, and roach-infested. Instead of prescribing another medication to treat her symptoms, the doctor referred her to a specialist who could help her improve her housing conditions. As if by magic, once her housing conditions improved, her migraine headaches and allergies disappeared.</p>
<p>If we really want to address the health and security of open source, it’s time to get <em>our</em> house in order.</p>
<p>Let’s pay the maintainers and get a head start on tackling a principal root cause of open source cyber insecurity once and for all.&nbsp;</p>
<p><em><strong>If you're interested in exploring this topic further, <a href="https://upstream.live/">please join us on June 7 for Upstream</a>, a free online one-day celebration of open source, the developers who use it, and the maintainers who create it.</em></strong></p>
<p><em>Photo by <a href="https://unsplash.com/@antipodos?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Michael Niessl</a> on <a href="https://unsplash.com/s/photos/river?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a></em></p>