Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
Open Source

Should Companies Audit Their Software Stacks for Critical Open Source Dependencies? (technologyreview.com) 52

Thoughtworks is a technology consultancy/distributed agile software design company. The principle technologist in its CTO's office warns that managers of IT assets "need to keep up" with the changing economics of open source: Early 2022 has brought with it an unusually high level of commotion in the open-source community, largely focused on the economics of who — and how we — should pay for "free" software. But this isn't just some geeky flame war. What's at stake is critical for vast swaths of the business world....

We know of many open-source enthusiasts who maintain their software personally while leading busy professional lives — the last thing they want is the responsibility of a service-level agreement because someone paid them for their creation. So, is this the end of the road for the open-source dream? Certainly, many of the open-source naysayers will view the recent upheavals as proof of a failed approach. They couldn't be more wrong. What we're seeing today is a direct result of the success of open-source software. That success means there isn't a one-size-fits-all description to define open-source software, nor one economic model for how it can succeed.

For internet giants like Facebook or Netflix, the popularity, or otherwise, of their respective JavaScript library and software tool — React and Chaos Monkey — is beside the point. For such companies, open-source releases are almost a matter of employer branding — a way to show off their engineering chops to potential employees. The likelihood of them altering licensing models to create new revenue streams is small enough that most enterprises need not lose sleep over it. Nonetheless, if these open-source tools form a critical part of your software stack or development process, you might want some form of contingency plan — you're likely to have very little sway over future developments, so understanding your risks helps.

For companies that have built platforms containing open-source software, the risks are more uncertain. This is in line with Thoughtworks' view that all businesses can benefit from a greater awareness of what software is running in their various systems. In such cases, we advise companies to consider the extent to which they're reliant on that piece of software: are there viable alternatives? In extreme circumstances, could you fork the code and maintain it internally?

Once you start looking at crucial parts of your software stack where you're reliant on hobbyists, your choices begin to dwindle. But if Log4J's case has taught us anything, it's this: auditing what goes into the software that runs your business puts you in a better place than being completely caught by surprise.

This discussion has been archived. No new comments can be posted.

Should Companies Audit Their Software Stacks for Critical Open Source Dependencies?

Comments Filter:
  • by saloomy ( 2817221 ) on Saturday April 23, 2022 @07:56PM (#62472734)
    'nuff said.
    • Re:Yes. (Score:5, Insightful)

      by saloomy ( 2817221 ) on Saturday April 23, 2022 @07:57PM (#62472740)
      And when they find issues, they can submit patches. Viola! The brilliance of open source. Nothing about the dream is dead. This is how it is supposed to work. Collective improvement.
      • Re:Yes. (Score:4, Insightful)

        by ranton ( 36917 ) on Sunday April 24, 2022 @09:57AM (#62473776)

        And when they find issues [when auditing their software stacks for critical open source dependencies], they can submit patches. Viola! The brilliance of open source. Nothing about the dream is dead. This is how it is supposed to work. Collective improvement.

        I don't think auditing their software stack means what you think it means. It doesn't mean a code review with the goal of detecting security vulnerabilities to patch. It is cataloguing a list of the open source applications and modules used. This is then used for two primary purposes: evaluate each module to determine if the company is comfortable with its use, and provide means to identify all applications which need to be modified / patched if a vulnerability is reported in that module (like with the Log4j incident).

        The summary even mentions the two most common courses of action when reviewing these open source applications:

        1. Find an alternative
        2. Fork the application and maintain it internally

        While assigning internal developers to help maintain an open source project does happen, that is not the most likely scenario when a company does this kind of audit. Any work companies are doing to contribute to open source for the most part will be done on their more critical modules, which they didn't need an audit to notice its use.

        • Most package managers will update whatever libraries or dependencies. Of course companies should maintain and keep their software up to date. that is a stupid question to ask. They should be auditing the open source code. That is the MAIN APPEAL of open source code
    • Re: Yes. (Score:5, Insightful)

      by TuballoyThunder ( 534063 ) on Saturday April 23, 2022 @08:05PM (#62472768)
      The scary part is that the question implies some companies aren't doing it. I'm very diligent whenever I bring in a dependency--it's just common sense.
      • It's incredibly difficult to do at times. Ie, most of the third party libraries incorporated have years of tweaks added to them. This means you can't just plop a newer copy down in its place. And the original people who did this are long gone, with not enough people remaining to devote 6 to 12 months to update them all. The source is scanned for updated libraries and "vulnerabilities" (some of which seem dubious), so if the company insists they be updated then we'll insist that they hire someone to do i

      • I'm under the strong opinion that they look and internally acknowledge. Since to do any more? Will trigger a mass contribution event downstream(feeders). All kinds of vectors. In other words many, many highjackings.

      • by Lik ( 56729 )

        Dang, Every little application and repository at our company is being constantly hit with violations if there are known issues with dependencies.
        Releases will get blocked in the pipelines if the scans show dependency issues.
        Is this not a thing everywhere?

      • A lot of companies aren't even aware of it. Someone needs something to do X, finds an open-source tool or library somewhere that does the job, and it gets slotted temporarily into place with the intention of sorting it out later on.

        Ten years later the company discovers it's got two dozen OSS libraries permanently wired into various places they didn't even know existed, no-one involved in the work is still at the company, and they don't know how to handle the situation.

        • An MBA always knows what to do in situations like this. He develops a plan that will take 2 years to fully implement, and transitions to a new company in 18 months.

          Sometimes the hardest part of programming is the realization that you're in this situation because your company did not do long term planning in the first place, and won't ever do long term planning. You can play code-janitor for a while, but eventually you'll have to move on to another company.

    • Sorry, but you're not allowed to contradict Betteridge. Please turn in your geek card at the door.

    • by jmccue ( 834797 )

      And not only this, these Companies should donate funds to the projects they steal^H^H^H^H^H download the software from.

      For an example, look a OpenSSH, due to the number of large companies using OpenSSH, OpenBSD should have enough funds to develop they own chip fab.

    • by gweihir ( 88907 )

      Actually, they should have been doing it all along. Those not doing it need to fix their incompetence right away.

    • by tbuskey ( 135499 )

      You should know where all the code in your applications comes from.
      1. code your company wrote
      2. code your company did not write

      If your company did not write the code, there is a license for it and you must comply with its terms.

      If it's commercial/closed source, you probably have to pay $$ and track it.
      If it's open source, you usually need to publish its inclusion and its license.
      Some open source may require you to distribute your code as well.

      If you don't know what is in there, how do you:


      • comply wit
    • "should anyone be auditing their dependencies?" lmao. guess should not be surprised, this is a war i am constantly waging against devs who just duct tape everything together and pretend they made something other than a mess.
  • No (Score:2, Funny)

    by zenlessyank ( 748553 )

    What a stupid question.

  • by scrib ( 1277042 ) on Saturday April 23, 2022 @08:12PM (#62472790)

    This reads like FUD. Commercial software providers can and do change the terms of their licenses, too. With open source, the worst that can happen is they go closed and you won't get new features or updates until you find a good fork. If Oracle changes their terms on you, good luck.

    • by AuMatar ( 183847 ) on Saturday April 23, 2022 @11:27PM (#62473094)

      No, the worst that can happen is that they purposely push a version with a bug. Or an incompatibility. This is why you need to audit them- depend only on well known libraries (not random github projects). Depend on a specific version and update regularly, but not automatically. Audit the code of any library you use, to make sure it does what it says, the code is decent quality, and that it doesn't have malware or obvious security flaws in it.

      You should do that with closed source as well. It's not about closed vs open, its about being smart in what you trust.

      • And how exactly are we supposed to do the same thing with closed source code? Watch the system calls in the tracer? Or are we supposed to disassemble every closed source platform/app thats part of the chain and check for spurious ports being bound? Or hidden time bombs that might kick off ransomware? In hundreds of thousands of pages of op codes?

      • by ranton ( 36917 )

        This reads like FUD. Commercial software providers can and do change the terms of their licenses, too. With open source, the worst that can happen is they go closed and you won't get new features or updates until you find a good fork. If Oracle changes their terms on you, good luck.

        The licensing part is even mentioned in the summary as not the primary concern. It is maintenance of applications. I believe the latest round of open source concerns stem from the Log4j incident and when Marak brought down the "faker" and "colors" libraries which were used in over 20,000 other open source projects. Log4j reminded company leadership how pervasive (and easily unnoticed) open source libraries can be in their software stacks. And Marak's vandalism (of his own libraries) reminded them that there

        • As far as liability goes, the push would need to be very blatantly malicious to incur liability. Generally speaking, the plaintiff has to prove that either you knew the change would cause the damage (not just in a general sense, but that you knew about that specific case) or that you acted recklessly (you had good reason to know it'd inevitably cause damage to someone and you went ahead with it anyway). Even in the Marak case that might be a difficult bar to clear.

          Commercial code is actually worse in that r

          • by ranton ( 36917 )

            Generally speaking, the plaintiff has to prove that [...] you acted recklessly (you had good reason to know it'd inevitably cause damage to someone and you went ahead with it anyway). Even in the Marak case that might be a difficult bar to clear.

            That shouldn't be too hard of a bar to clear for Marak (although I assume I don't understand the legal nuance). Even something as minor as the cost of a few developers patching code would be financial damage. Marak would have known with 100% certainty that someone somewhere was going to incur financial damages when over 20,000 open source projects had dependencies to his libraries.

            • Just patching things wouldn't count as damages in the legal sense. Marak has every legal right to make changes to his code that would result in people using that code to have to do work to accommodate those changes. That same thing makes it hard to clear the recklessness bar because breaking changes are always a possibility users are expected to be prepared for and his changes were obvious enough that even the simplest test would've detected them.

        • by tlhIngan ( 30335 )

          I'm actually curious what the legal ramifications for intentionally causing damage with a code push to your own open source library. I mean what would have happened if a healthcare company used the library in some insulin pump that ended up killing someone (an extreme example I know). The fact that you own something shouldn't really matter if your intent was to cause damage to others, at least in my opinion. I couldn't find any articles online discussion the legal standing any affected parties could have in

      • "No, the worst that can happen is that they purposely push a version with a bug. Or an incompatibility."
        Or malware, or a worm, a virus, a ransomer, a ....

    • Should you use closed source software for your company infrastructure?

      I guess you have never had any dealings with Sun or Oracle or Microsoft, or any other purveyor of hideous crap.

      If your company depends on it, you SHOULD ALWAYS USE OPEN SOURCE IF IT WILL DO THE JOB. Anything else is like putting a noose over your own head. The closed source supplier will change the licencing agreement and/or multiply the price by 10 when you can least afford it. As for support - well, you can be on hold for several day

  • by fahrbot-bot ( 874524 ) on Saturday April 23, 2022 @08:12PM (#62472792)

    ... the last thing they want is the responsibility of a service-level agreement because someone paid them for their creation.

    Then the software creator wouldn't agree to a SLA for that payment. Pretty sure the latter doesn't require offering the former -- and the former isn't guaranteed by the latter. It's negotiated in the licensing and purchase agreement. To think otherwise requires a pretty big leap. At least *I* don't remember a SLA offered on my receipt for [insert name of purchased software] ... anyone get an SLA with your consumer purchase of, say, Windows?

  • by Gravis Zero ( 934156 ) on Saturday April 23, 2022 @09:10PM (#62472916)

    What they need to be doing is investing in proper risk management. It doesn't matter who wrote your software, if the source code hasn't had a full security audit then you are running a big risk.

    Furthermore, companies should be looking to modify monolithic software packages (*cough*Apache*cough*) to be vulnerability tolerant. This means that instead of having a monolithic software stack where a single vulnerability can result in a root level compromise, the software should be divided into a pipeline of programs/daemons running in total isolation. In addition to enabling easier testing/fuzzing, faster total throughput, and easier ability to scale, doing so allows you to restricts the possible communication routes to just the programs that it was given sockets for communication and the specific system calls each requires. What this means is if one of those isolated processes is compromised (e.g. bad parser) then it is much more difficult to exploit the flaw.

    Open source shouldn't be considered a total solution for your company, it should be considered a very large head start toward having secure software for your business. Open source software is a diamond in the rough and not having ironclad security is a failing of the people who choose to use it.

    • Bugs can be just a situation you fix at the point of contact, until something else upstream, downstream, looking familiar, i don't know,...is addressed. If the off library is touched for the found bug in the first then ANOTHER bug is almost sure to be added if not an outright breakage. So monolithic tends to be a result of doing most things in one shop with limited time and personnel. Things get pulled closer and closer together until it all looks like one big bag of nuts, bolts and screws to the outside ob

  • by Hizonner ( 38491 ) on Saturday April 23, 2022 @10:37PM (#62473030)

    You should do a risk evaluation on any upstream project. You should have a contingency plan for losing any upstream dependency, or for bugs in it, or for its development direction changing, or for its licensing changing, or whatever...

    "Open source" is not a particularly useful category. Commercial projects can also be buggy and unreliable. ... and you should start by not having so much third party shit in the first place...

    • by Tom ( 822 )

      "Open source" is not a particularly useful category. Commercial projects can also be buggy and unreliable.

      It is a VERY useful category.

      When you rely on a proprietary software, your risk assessment must include the possibility that it disappears over night. Either the owners shut it down, or it goes bancrupt, or it cancels your contract or it sells out / is bought out - whatever. If and when it goes away, that's it, you're done. No more updates, not more fixes, no more nothing.

      With an Open Source software, you always have the option of forking it and keeping it updated yourself, or hiring someone to do so. It wi

  • by oldgraybeard ( 2939809 ) on Saturday April 23, 2022 @10:58PM (#62473054)
    The companies business is doing audits and paperwork and such. And this is just a Advertising and Marketing release pretending to be an article.
  • by znrt ( 2424692 ) on Saturday April 23, 2022 @11:12PM (#62473070)

    Thoughtworks is a technology consultancy/distributed agile software design company.

    bullshit company that sells bullshit also publishes free bullshit articles. how interesting. lets see:

    yes, if you produce software you are responsible for each and every dependency you introduce, opensource or not.
    no, this has nothing to do with opensource.

    What's at stake is critical for vast swaths of the business world....

    again, no, this is just bullshit. leave opensource alone. do your job and try to do something useful.

  • I have been in the industry for 30 plus years and have used open-source software on all sorts of commercial software. There have always been organisations telling us the sky will fall if we continue to use open source but of course it never happens --- these companies are simply trying to make money. Usually, they take a "racketeering"-like approach; they use FUD to invent a non-existent problem and then try to convince non IT executives to spend money on fruitless but costly audits; "obviously" requirin
  • This is a big reason why SBOMs (Software Bill of Materials) is going to become mandatory for all major firms. Get a piece of software, the SBOM that describes the software in the package. SBOMs are a mandatory part of EO 14028. We've already had a few customers ask for SBOMs and more will follow.

  • They should make strategic decisions about their IT technologies and manage those dependencies.

    But that off course would require management to meet the requirements of basic brain functions. That's the tricky part. If you're to dumb to be aware of the strategic significance of IT tech decisions and the commitment they demand and entail to add true value to a business, auditing external dependencies and any usefulness that night have in fringe cases is most definitely out of their league.

  • I think that each company should invest in software development. For my company, I chose a company that helps with customer portal software for construction [intellectsoft.net]. Their solution allows to share project updates, and important information, provide technical support and communicate in a secure environment.
  • There are obvious advantages of having an efficient master group. Nonetheless, frequently, the powers of fate ought to arrange in perfect order to take into account every one of the experts to live in one city. In this way, the moving methodology of re-appropriating advancement groups and full-administration project improvement groups streams consistently from the necessities of organizations. It shows up more helpful to work with a designer that finds anyplace all over the planet than attempting to fabrica

New York... when civilization falls apart, remember, we were way ahead of you. - David Letterman

Working...