The Register Home Page

back to article It's looking like a hot, messy summer for security teams as AI finds countless previously hidden vulns

It's going to be a "messy" summer for security folks, especially when it comes to fixing the open source code that underpins their organizations. That's according to Dan Lorenc, CEO and co-founder of Chainguard, a software supply-chain security company leading Athena, a newly formed coalition of about two dozen companies that …

  1. Jou (Mxyzptlk) Silver badge

    Its called technical debt...

    "It compiles! Ship it!"

    Of course it includes Schadenfreude against big name companies, since they tend to skip important QA for quick money.

    And Mitleid for the open source community.

    1. FIA Silver badge

      Re: Its called technical debt...

      Of course it includes Schadenfreude against big name companies, since they tend to skip important QA for quick money.

      I'm not sure that's true. I think it's fairly consistent.

      There are startups that just want to get something out the door before the initial cash runs out just as there are big companies with apathy and too many layers of procedure.

      I think it's genuinely just this stuff is a bit boring. People like to work on the interesting problems, not look for bugs.

      In small companies that translates to a 'We'll sort it later when we have time' attitude, in larger companies it's test suites that produce lovely looking coverage reports, but no one's ever really found the time to go back and look at what's actually being tested.

      1. Claptrap314 Silver badge

        Re: Its called technical debt...

        I LOVE hunting bugs. Finding a company willing to pay be an appropriate wage to do it? 20 months & counting, this time.

  2. fg_swe Silver badge

    With Enough Eyeballs...

    Any FOSS bug was supposedly quick to be found.

    We now learn there were either few eyeballs or tired owners of these balls.

    But we already knew that from Heartbleed.

    1. steelpillow Silver badge

      Re: With Enough Eyeballs...

      The good thing about F/LOSS is that the White Hat eyeballs scanning the code rival or exceed the Black ones.

      Not so if your proprietary source gets exposed.

      1. HereIAmJH Silver badge

        Re: With Enough Eyeballs...

        The good thing about F/LOSS is that the White Hat eyeballs scanning the code rival or exceed the Black ones.

        Keep telling yourself that. There never seems to be a shortage of criminals or state sponsored actors. Many open source products have a shortage of skilled volunteers. In fact, that is why many of those projects die.

        1. Anonymous Coward
          Anonymous Coward

          Re: With Enough Eyeballs...

          Midnight Cluster does exist you know...

  3. steelpillow Silver badge

    Closed source

    The implication is that closed source products contain at least as many vulns, but they are still sleeping. Reporting such a code vuln will get you sued for breach of licensing terms.

    Leak your codebase just once, and you will be flooded with AI-discovered attacks that yo have neither budget nor staffers not organisation to address.

    I almost want to ask OpenClaw what leaks it can dig up for me.

    [wot no timebomb icon/?]

    1. Anonymous Coward
      Anonymous Coward

      Re: Closed source

      Don't even necessarily need to leak the codebase, decompiler outputs can also be AI analysed

    2. heyrick Silver badge

      Re: Closed source

      Leak your codebase just once and the bad people will have loads of bug fodder and you'll be in the blind because the good people learned the hard way not to touch you with a bargepole because you'd rather scream legal than say "good find, we'll fix that".

  4. nijam Silver badge

    > if you just keep running scans on the same libraries and same code, it just keeps finding more...

    Am I the only one who thinks it suspicious that repeating scans on the same code keep giving different answers?

    1. MonkeyJuice Silver badge

      Why? Decoder models conventionally have a 'temperature' setting and sample the possible top-k next tokens stochastically unless it's set to 0. Committing to generating a specific token early in the output drastically affects the subsequent ones.

      I do wonder though if after shotgun patching multiple vulnerabilities the process isn't introducing new issues, and also about the quality of the particular code that is under discussion in this quote. Of course, this remains outside of actual peer reviewed assessment because conveniently ai is munitions now, so who can say if there's actually any truth to this anyway.

      1. elsergiovolador Silver badge

        It's not just temperature. Your prompt might be processed by different grade model than you think. These companies constantly tweak the APsI. One hour it will find vulnerabilities you didn't think about, another it will talk nonsense on par with what small local model would have produced.

        1. werdsmith Silver badge

          One human does a code review and finds problems. Fixed

          Another human looks at the same code and finds more problems. Fixed

          We test and find vulnerabilities with human testers.

          Our developers fix them and our testers find more.

          Then we release to production and end users become testers and they report more.

    2. steelpillow Silver badge
      Holmes

      suspicious that repeating scans on the same code keep giving different answers

      AIs are:

      a) Non-deterministic

      b) Flawed

      Draw your own conclusions, Sherlock.

  5. elsergiovolador Silver badge

    Hidden in plain sight

    Hidden. Lovely word. Conjures up cunning little bugs lurking behind a false bookcase, waiting for Athena to descend from Olympus and smite them.

    They weren't hidden. Nobody had any reason to go looking. Different thing entirely.

    Here's the bit the article tiptoes around: the people writing this code have no stake whatsoever in the businesses running it. Why would a maintainer sweat over whether his parser falls apart under a malformed packet? It's not his server. When JPMorganChase's infrastructure folds because of a memory leak that's been sitting there since the Clinton era, the maintainer isn't on a bridge call at 3am. He's halfway through a GTA V heist thinking "huh, weird." Oopsie daisy. Anyway, back to Los Santos.

    And it's not malice, it's the complete absence of incentive. Secure software is tedious, unglamorous, unpaid work, and the downside of getting it wrong lands entirely on someone else's balance sheet. You don't fix what doesn't cost you anything. Look at who's actually holding the keyboard: the genuinely talented who couldn't be bothered with a job, the comfortable basement aristocracy with infinite free time, the hobbyist patching a critical library between shifts, and the corporate drone shoved into "open source contribution" for PR reasons who commits whatever keeps the mortgage paid. None of them carry the risk. So none of them price it in.

    Now a coalition of two dozen firms has discovered, to its collective horror, that the free thing it took for free was made by people with zero exposure to the consequences. Astonishing.

    Here's a wild thought, no Glasswing access required: the way you get someone to care about your server is you give them a reason to. Pay them, give them shares. Fund the projects you've made billions on top of. But no, far easier to stand up Athena, Akrites, and presumably Hephaestus-as-a-Service next quarter than to admit you've been outsourcing your security to people who, quite reasonably, have a heist to get back to.

    1. amanfromMars 1 Silver badge

      Nothing really strange to see here. It is just more of the same and no different ‽ ‽ :-)

      And it's not malice, it's the complete absence of incentive. ..... elsergiovolador

      The lack of a complete set of necessary future skills .... and the totally unexpected emergence and piratical/parasitical/entrepreneurial third party recognition of lucrative exploitable vulnerabilities in a no longer safe and secure product ...... is just the cost to be borne by businesses at risk of serial frisking and ill suited for defence against a whole host of novel attack vectors and sectors rewarding 0Day Commissions and Postmodern Greater IntelAIgent GamesPlay.

    2. Anonymous Coward
      Anonymous Coward

      Re: Hidden in plain sight

      I've watched this happen in real time.

      Mid-sized open-source library project, definitely used by every player in a specific industry.

      One maintainer "A", doing this in their spare time.

      Some brand-new user B drops in a large PR that's written in an obfuscated style. At best, they think the style makes them look clever.

      It contains several obvious race conditions that will corrupt data in a host application. Professional developers C and D who use the library spot these, and ask for them to be fixed before merging. B starts screaming about it.

      A merges the code. They either didn't review it or are trying to "keep the peace" and hoping for fixes later.

      C creates a PR that attempts to work around some of the issues. D says it's an incomplete and fragile fix, C agrees. A merges it anyway because it's "better than nothing", and this time asks B to fix the remaining obvious issues.

      B is never seen again.

      The project now has a large block of very dodgy, obfuscated code.

      C and D probably have internal patches to remove it, but it rolls out to every other application in that industry. After a while those internal patches stop working, C & D have moved on and now every application has the vulnerabilities.

      The original merge should have never happened, but the maintainer has very little incentive not to accept everything.

      1. DoctorNine Silver badge

        Re: Hidden in plain sight

        This proves the Elsergio observation above. There must be incentive to maintain secure code. Even the most ethical amongst us requires both access and ability in order to parse problems as they are identified. If AI starts generating code en masse that contains unidentified structural security issues, where is the incentive for a human overseer to debug it? Further, if the programming community accedes to the financial imperative of using AI code with this known theoretical risk, how can we effectively deal with Black Hats who use AI to discover vulnerabilities in AI generated code? It's a mathematically impossible task. AI can generate code faster than it can be reviewed. And AI can uncover those vulnerabilities faster than they can be patched.

        It makes me wonder if there should be some kind of mandated 'hardening' exercises performed on all AI generated code before it is released into the wild? Or at least a recommended standard that we advocate for in this regard? Sort of like how we do radiation testing on circuit boards that have to endure space flight. After forging AI code, three or four passes through Black Hat testing could be recommended to harden the product.

        This would at least incentivize programmers to create effective Black Hat programs to check the newly forged AI code structures. A new sort of IT career path.

        1. doublelayer Silver badge

          Re: Hidden in plain sight

          There are existing standards, some mandatory, out there. The EU's CRA requirements are pretty good for what they cover. The problem is that they tell you what good things you must do, not what stupid things not to do. It's really tricky to legislate the latter, since there are a very large number of possible stupid things, most people would never think of doing most of them so going through the list is pointless, and the people who do them wouldn't understand or care about the list.

          The suggestion to subject everything to testing is possible and does match good practice in other areas. However, thorough security testing tends to be expensive in itself and more so when all the fixes have to be implemented and the testing repeated to check anything that got in during the fixing. I've seen security scanners whose main purpose appears to be running just enough scans that you can claim to have tested without risking finding anything too costly to fix. I have a theory that these include a bunch of people who don't know about security rather than having planned that, but either way the outcome is the same. Therefore, anyone building a product gets to choose between proper, but lengthy and costly security testing, or quick but bad security testing, but if their competitors choose the bad version, the competitors get to launch first. I'm afraid that will lead companies to also do bad testing and tell themselves they'll fix it later.

  6. Anonymous Coward
    Anonymous Coward

    ... vulnerabilities in open source code that you can't fix for yourself...

    Why not? Its called Open Source Software for a good reason.

    1. Jou (Mxyzptlk) Silver badge

      Hey AC, why didn't you fix every open source bug out there yet? Just talk doesn't do anything.

      1. Anonymous Coward
        Anonymous Coward

        You don't want me trying to fix code. I can do simple stuff in bash but its been over 30 years since i wrote code regularly for use by others.

        1. Jou (Mxyzptlk) Silver badge

          Hey AC! So you can't fix it, but smart-ass "why can't fix yourself, it is called open source for a reason!"

          1. Anonymous Coward
            Anonymous Coward

            Different AC here, but the fix it yourself ideal behind open source is similar to hardware reparability. Not that everyone must know how to debug software and hardware, but to promote competition and reduce waste by making it possible to pay a third party to fix it.

            The way I see it, Claude, Gemini, Grok and ChatGPT are just another set of eyeballs looking at the code. Previous rounds of bugs were found by fuzzers and static analysis, just in those cases vulture capital didn't buy up all the RAM.

          2. This post has been deleted by its author

          3. Anonymous Coward
            Anonymous Coward

            Another different AC here.

            Sure I could fix it. Just have to take a course in c++ or whatever and get stuck in.

            Can't be arsed.

        2. doublelayer Silver badge

          And that is the core of why the "can't fix it themselves" comment was used. It's not literally true, it is possible for someone other than the author to fix it, but when they say it, they usually mean they don't have the experience needed to do it, they don't have the bandwidth to do it to everything they found, they don't have the history to quickly upstream the fix to the project so it would need to be retrofitted into every subsequent version until they got that (which takes more dev time to try to manage), and sometimes also that they don't have the programming skill required to modify the library, only that needed to use it. Whether you consider these arguments valid will probably depend on what they're using, how heavily, and what resources they have, because most of them probably can fix some things that they're choosing not to. But, in the same way, you could pick up some programming guides, learn what's changed, and get to work too, but you probably have some reasons why you don't think that's the best option.

      2. iron

        Because I don't use every open source software package out there, let alone know all the different languages they are written in. I do however know the languages used by open source packages I use in my applications and if there's a bug I fix it and send the fix upstream.

        Closed source packages on the other hand are usually a case of yelling at the supplier who claims there is no bug, yelling at them some more and eventually coming up with a mitigation for their exceedingly shitty code. And, paying them thousands of pounds for the privilege. Looking at you Syncfusion.

        But, you wouldn't understand any of that because you're a moron who has never written a line of code.

  7. Anonymous Coward
    Anonymous Coward

    Existing code vulns vs AI found....

    In jmy workplace, we use one of the ordinary vuln hunters.

    Already you can't keep on top of the tradinaial scanning, so god help us all when the AI stuff starts finding.

    In fact, we get a lot of noise.. not noise that isn't a real ivuln, but noise that is libraries that the OS providers - I'm looking at you MS - have tweaked, and not fixed.

    MS dist of SQL Lite for example.

  8. Sproggit Silver badge

    Patterns in the Noise

    The fact that in many/most cases, the vulnerabilities now being found by AI coding agents have been present in code for long periods of time should be an opportunity that we seize and try to learn from. For example, some of the questions that I'd like to ask the Athena Community outlined in the article to which we're responding are:-

    1. Programming Languages

    Are you finding the distribution of vulnerabilities between programming languages to be regular or irregular, using a vulnerability-density scale - e.g. vulnerabilities per MLOC (millions of lines of code)? In other words, are these hard-to-find vulnerabilities distributed evenly across all languages, or concentrated in a smaller sub-set? This would tell me if any languages out there are more or less likely to contain vulnerabilities than others. In turn, that should be something that all developers/organizations treat as a critical factor when it comes to selecting their technology architecture. And maybe it's an opportunity to give some honest feedback to the language maintainers/platforms concerned...

    2. Programming Operations

    When you look at the purpose of the underlying code that contains the vulnerability, are you able to classify or categorize the code purpose down to defined activities that might be "more vulnerable than other code"? For example, are the defects showing up in: input validation; session management; authentication and authorization actions; data layer interactions? Which surface contains the vulnerability? (User-facing code; inter-function code; calling down to service code)?

    3. Anticipated Detection Mechanism

    Hopefully most code written today is subject to at least some kind of testing or review... which in turn suggests that the vulnerabilities being found were missed by traditional mechanisms - whether that was peer review, source code analysis, binary testing, or something else. If possible, it would be helpful to look at the vulnerabilities and try and figure out how the underlying code was originally tested, because that would tell us whether the issue was simply "not enough proper testing done" or whether it was, "our testing methodology and/or tooling was insufficient" - and from that it should be possible to start turning a lens in the direction of the more traditional [and less expensive] methods of preventing bugs from occurring.

    4. Genuine Bug or Obfuscated "Back Door"

    This is likely going to be the hardest question to answer with confidence, but as a cybersecurity professional, I'm particularly interested in getting insight if it is possible to distinguish between, "OK, that's just a coding error" or "No, this has been carefully written to be vulnerable but to not fail with common use-cases"... It's one of the hardest things that a SOC has to do - determine motive. But if it was possible to learn something from the nature of the vulnerabilities, then there is an entire "higher level" of learning that might be possible.

    A while back the YT channel, "Veritasium" produced a video discussing the way a malicious actor very nearly managed to push a major vulnerability in to most current Linux distributions by poisoning a test file for a compression algorithm... It occurs to me that a deeper analysis across all vulnerabilities might throw up possible patterns. If it were possible to automate analysis of things like patch submission histories on Git repos, this work might even be used to find connections between different vulnerabilities in different projects, which in turn could tell us a lot about the malicious actors who we know try to secrete vulnerabilities in to open source projects. That, in turn, might help us protect all open source projects from similar attacks going forward.

    As with almost all technology issues, there are wheels within wheels here - we can take the information from Athena and fix the bugs, pat everyone on the back and move on... or we could take the information from Athena and mine it, learn from it, try to prevent the introduction of future bugs by introducing or enhancing preventative controls to cut off the vectors by which the issues were introduced in the first place.

    We can't stop with fixing these vulnerabilities.

    We have to fix the tools and practices [and, if necessary, languages] that made them possible in the first place.

    Like many large organizations, my employer has very robust Incident and Problem Management functions. (Incident manages this issue when it is present in our technology environment; Problem conducts the forensic triage after-the-fact and aims to learn lessons and put in place corrections to eliminate repeat incidents).

    It would be really, really nice if the Athena community could try and apply those Problem Management disciplines to this exercise at a sort-of meta level; to look horizontally across all the low-level noise that is being surfaced from the application of these tools and to try and drive more permanent change.

    I'm not sure if it really was Einstein, but he's often attributed as the source of one definition of insanity: repeating the same experiment over and over and expecting different results. In this context, the "experiment" that we are repeating is the act of writing software. The AI models are now telling us - loud and clear - that our existing processes for developing code are unreliable. If we want to get a different result when we run the experiment, we're going to need to embrace some [possibly difficult] change.

    1. amanfromMars 1 Silver badge

      Re: Patterns in the Noise

      The heavenly gift and diabological grift and almighty gaff that just keeps on giving, Sproggit, and which now is more in evidence than was ever able to be noticed and specifically targeted to be milked and bilked before, is humanity’s monumental arrogance and epic ignorance which ignores and doggedly so apparently denies the possibility and emerging disturbing evidence of the existence of the fact that it is not they who are in practical and universal remote command and virtual control of matter and matters generating and unfurling future events and 0day exploits servicing alien applications in and for otherworldly derivative future operation[s] ...... which it is quite surprisingly something you may be suspecting yourself ..... given the 881 words in your post .... Patterns in the Noise .....referenced above.

      That’s the sort of unusual start which very quickly opens up biblical flood gates and builds movements with power and momentum all of their own. And it’s to be enjoyed and employed whenever and wherever it ever be discovered/uncovered/floated :-) ....... How to start a movement

      1. Tail Up

        Re: Patterns in the Noise

        @"How to start a movement" -

        the concept of which is vary, thousands of them. Another great inspiring post of yours, amfM.

        Some men wear blue, some wear green, and some just also have common sense:

        https://youtu.be/997YDX-VVGc

        BMG and such.

        Just Say Start. No Nikes)

    2. Richard 12 Silver badge
      Boffin

      Re: Patterns in the Noise

      Such things will be highly misleading.

      LLMs are effective at finding the things they're effective at finding, in the places they're effective at searching. Yes, that is a tautology - which is the point.

      That means most of what you're actually measuring is the LLM. You're learning a lot about what's in the training dataset, and rather less about reality than you might think.

      To take a trivial example, LLMs will obviously be poor at finding issues in languages that are under-represented in the training dataset compared to those that are more common. They will also be most effective at finding the "most common" mistakes, and poor at finding rarer ones.

      For a more complex example, I've had LLMs suggesting Javascript-isms for C++ projects. This did compile, but it didn't actually work. It happens because they're pattern matchers, and don't actually understand any of the slips of paper in the "chinese room".

      1. Sproggit Silver badge

        Re: Patterns in the Noise

        "For a more complex example, I've had LLMs suggesting Javascript-isms for C++ projects."

        This sounds like a much more interesting example than just "complex". Can you give some context here please?

        Which model made that suggestion? Which version? How recently did this happen? Did you get any response when you raised that as an issue with the authors?

        I'm happy to accept that LLMs are not expert at everything, but the general consensus *seems* to be that they have become extremely good working with e.g. software, scripting languages and technology [product] configurations, in large part because the people developing the models have plentiful examples of that material to hand. So it would be really helpful to get a clear idea of how you hit this problem.

        Thanks in advance.

        1. doublelayer Silver badge

          Re: Patterns in the Noise

          "the general consensus *seems* to be that they have become extremely good working with e.g. software, scripting languages and technology [product] configurations"

          No, that's your consensus. You've said that in many ways on a lot of topics recently, but as many times as you say they're great at something, it doesn't make them any greater or remove the situations where they're wrong. Talk to other people and you'll find that consensus isn't as general as you think.

          While the context would provide a bit of data, one of your questions makes it clear you don't understand how these things work in practice: "Did you get any response when you raised that as an issue with the authors?". What happened was they couldn't raise that as an issue with the authors. The authors were one of a few model makers who do not ask for or accept reports of buggy LLM output from any random person online, partly because there's so many people using it somehow and partly because LLM output does all sorts of weird things for any number of hard-to-debug reasons. Small changes in prompts can radically change whether the LLM's answer is correct or not or whether its answer looks like it answers the question or goes off on a strange tangent and doesn't come back.

          Maybe they got non-working JS-style C++ because there was some JavaScript code that interacted. Or because the StackOverflow post it was getting some training data from was related to a similar one containing JS examples, or any number of other random things. The LLM authors couldn't really debug or fix that, and the user definitely couldn't. The only thing is to try a different prompt or a different model and hope something different happens the next time, which it probably will though no promises whether that new thing is useful or not.

    3. Daniel Pfeiffer

      Re: Patterns in the Noise

      1. obviously not! Squidbleed-like bugs can exist in C++ and are more likely in C. Java just prevents you from doing that kind of thing, which comes at a potential performance cost. Rust gives you more low level control, but will still also prevent this. Unless, in extreme situations, you use `unsafe`, by which you release the compiler of its vigilance duties, and take full responsibility for that normally only very short snippet. The whole rest of your code does not lose its safety guarantees through that.

    4. doublelayer Silver badge

      Re: Patterns in the Noise

      Some of what you want is not what you'd get.

      Bugs by language wouldn't tell you that one programming language is just bad and you need to stop using it. It's not that simple, both because the LLM will be crap at finding bugs in languages it has little information for and because vulns-per-LOC is not a great metric. Some languages use fewer lines to express the same thing, and some vulns will be pointed out on multiple lines.

      The logic of the code is a bit more promising, but you mostly already know that. If the problem's at user input sanitization or validation, it is in user-facing code, but if there's a useful lesson about where that's more likely, you'd have to subdivide that into much more tenuous categories which would get into pointless definitional questions rather quickly.

      The general approach is a good one, but it's just as annoying and painstaking as it always is on far more findings. Analyzing each found vulnerability to try to learn why people didn't find it from the start is great, but people often decide to stop doing it the eighth time the answer is "XSS vulnerability slipped through because the creator wasn't thinking about XSS at all and the reviewer thought the output thing was doing autoescaping but it wasn't" or "buffer overflow because there's twelve functions that directly manipulate this memory and one of them reset one of the values incorrectly and the other one assumed it was correct and used it". You have to be willing to keep doing the same thing until you get results that tell you something, then apply those results. A lot of people do this some of the time, and I often help them do it, but I wouldn't expect it to become much more common.

  9. Crypto Monad

    "According to Lorenc, 95 percent of the code in any of these codebases is open source."

    Don't forget the obligatory XKCD

  10. sabroni Silver badge

    infinite bugs

    I'm not sure I get the doom and gloom. Sounds like people think software has infinite bugs that are just waiting to be found. No matter how many we fix there will always be more.

    I don't think that's the case.

    1. Michael Strorm Silver badge

      Re: infinite bugs

      Purely from an academic point of view, if we assume that a specific program has to have finite length, but is capable of accepting infinite and/or arbitrarily large (*) inputs under some circumstances, is it theoretically possible for it to have an infinite number of bugs?

      (*) Of finite length for any given example, but where we are able to find at least one input for any length we choose, with no upper limit on that choice.

      1. Claptrap314 Silver badge

        Re: infinite bugs

        If we define a "bug" as a "failure of some subset of the code to perform as expected", then a finite-sized code has a finite number of subsets. If we require that the expectations be specified in advance, these will be finite, then there are only a finite number of fails available for any fixed codeset.

        "99 bugs in the codebase, 99 bugs in the code!. Write one down, send fix around, 100 bugs in the codebase!"

        Experientially, we'll run out of money long before the bugs are all fixed in many, many codebases.

        And BB(432) is unprovable in ZF & ZFC.

    2. doublelayer Silver badge

      Re: infinite bugs

      It probably has a finite number of bugs, but as you fix the old ones, you can make new ones, so the number of possibilities is almost unlimited. That's more true if the solution to people not having the time to fix all of these becomes to have the LLM fix the bugs. I'm not sure I get your point; a finite but large number of bugs that a lot of people need to fix and patch right now when there aren't many fixers and patchers doing it is still a problem.

  11. Anonymous Coward
    Anonymous Coward

    Here's a stupid question

    If we had spent those gazillions simply on salaries, would we not have had enough people to discover these bugs already?

    1. Sproggit Silver badge

      Re: Here's a stupid question

      It is highly unlikely, for perhaps a couple of reasons...

      First, we should note that quite a significant amount of open source code is written by professional developers. Large companies such as IBM, JPMorganChase, Amazon and others employ developers to create, support and maintain open source projects. These companies not only have pockets deep enough to hire extremely competent developers, but they have budgets to enable them to use a wide range of quality management tools.

      Just a qualification on the above: when you have an extremely talented developer, keeping them working in your organization isn't simply a question of paying them enough money, but of giving them work that they enjoy. We can think of well-known Open Source luminaries - Linus worked for Transmeta, Greg Kroah-Hartmen used to work for Novell in SuSE Labs; Jono Bacon worked for Canonical (Ubuntu) before setting up his own business... I can only speak from my own personal experience, but where we have colleagues who have worked or still work, all or part time on Open Source projects, the company has enabled this working practice because the software project concerned has been critically important to the business. Sometimes there's altruism involved, but it's just as often a case of the fact that the company sponsoring the developer(s) would like to see particular functionality included, so provides employment to the project developer(s) in order to get it done.

      Second - and perhaps more importantly - is the fact that even if it were true that paying twice as much for a developer got you one with twice the abilities, the narrow statement simply *does not scale*. If $50,000 a year gets me a competent developer, paying $200,000 a year won't get me a coding super-being and paying $500,000 certainly won't get me some Godlike developer. I might be able to find someone with a bit more relevant experience, but ultimately it's a "law of diminishing returns" situation.

      Third - and this may not have been true when comparing with AI until quite recently - has been what I'll have to describe as the "mental capacity" of the developer. As a rule I like to write small, modular pieces of code - I think the longest single program file I've written myself is likely to be in the 3,000-5,000 lines range [mainframe COBOL]... When I write PHP code, I like to keep scripts down to a few hundred lines max. I do this because of the amount of ability/effort it takes to maintain and extend a codebase in a time-effective way. There is a practical limit to the amount of deep understanding that a human developer can hold in their head that enables them to understand the code they are working on. As they hit that limit, it becomes necessary to spend more time cross-checking in order to write reliable code. An LLM optimized for coding doesn't have the same limitations. It *does* have limits - for example system RAM - but it can tokenize up code and hold an entire codebase in memory far more easily than a human can.

      Fourth and last, there's the obvious point that AI/LLM development is simply the "the computerization" of a process previously done manually. There are sound reasons that we employ computers to replace humans. They are more consistently reliable. But they are much, much faster. If you've ever worked with e.g. Claude Opus in "Cowork Mode" on a development project, I think you would be surprised at the speed with which it can modify code, smoke test it, then offer it back to you for "UAT". We're talking seconds. Not even the best developers are that good.

      So my sense is that yes, there will be a small but measurable improvement if you were to hire in the very best experts you could find... but also that those improvements will hit limits much, much sooner.

    2. doublelayer Silver badge

      Re: Here's a stupid question

      Probably not for a few reasons of capacity and practice. Let's start with the more boring but bigger practice ones. The theory is we hire all these people then tell them to improve things, they look for security problems, find them, and fix them. In practice, what most developers are hired to do is to add features. Please be secure while you do that, please maintain while you do that, if you spot anything during your work toss it on the task board to work on, but still, more software is one of the major things they consider. It's only a short trip from that to deprioritizing the maintenance tasks on the board because we've got an important thing to get done, we can pay down the tech debt after that. Salaries could prevent situations where something a business is relying heavily on is about to get dropped by its solo volunteer maintainer, but the maintainer probably wouldn't have had the chance to work on any maintenance task they thought best if they were being paid.

      But leaving practice, what if that's how it went? Perhaps instead of salaries, we called it sponsorship? The maintainer gets paid to maintain and decides on their own how to do that. This probably still wouldn't fix the problem unless that maintainer was focused on finding and squashing any vulnerability they could. This is rarely people's top priority, and it takes more than just having some more time. You have to know what's real and you have to sift through lots of reports from a variety of tools to find the problems. LLMs both help and hurt with this process since they can eliminate some obviously invalid reports but will also generate more detailed incorrect noise for you to search through. This is rarely people's favorite type of maintenance, which is why it's often easier to get a known vulnerability fixed than a new one proactively discovered. You would likely only get what you described if there was a concerted effort to find people who would do it and pay them to do it, and I think you'd find that you need quite a lot of gazillions to do that.

  12. Lanta

    Why not make software like every other product?

    Software somehow has magiced itself to a position that you 'buy' it but the seller has no responsibility for it doing what it says it will. Licences, get out clauses, limited liability, 'as is'... all these things mean that there is no incentive for software sellers to make it work well, because they don't bear the cost if it doesn't (generally). EVERY OTHER PRODUCT I buy has the requirement to be fit for purpose, which includes doing what it says it will.

    I bought it from YOU, YOU bear the responsibility that it does what you promised it does, irrespective of how that code was produced.

    For example: Windows has always promised wonderful things, with T&Cs stating that none of it is true. The should HAVE to say 'well we tried our best, given the constraints of time and interest, and its a bit shit, lots of things won't work the same way 3 times in a row, and we've no idea if it's at all secure' in the spirit of being honest.

    To be clear, I'm not talking about the FOSS bits, because they aren't bought, I'm talking about the things that people actually pay for.

    1. doublelayer Silver badge

      Re: Why not make software like every other product?

      Those liability-limiting provisions are probably not as legally binding as they look, but there are still problems trying to do that which are more directly applicable to the comparison to other products. Software, especially complex software, has so many functions and methods of it not going right that it's difficult to define what it's supposed to be fit for and how you're supposed to use it, and both of those things will come up in any complaint, whether or not the contract is allowed to limit liability or whether it means anything if it says that. There are cases demonstrating that serious gaps in functionality or security do result in liability regardless of contracts and that companies do have it held against them, but it's all the smaller cases that don't work as well.

      Let's compare Windows to a shovel. A weird case, but I think it will make a couple points. Windows has limitations on what it can do, and there are use cases where it will fail. The same applies to the shovel; if you bought a normal kind which was built to deal with leaves or snow, but tried to move wet cement with it, the shovel would probably fail and you would be unlikely to successfully claim the shovel was unfit, even if they didn't warn about that. How does Windows successfully explain what it is fit for when it is a very generic piece of software which can do thousands of things and can't do thousands of other things?

      There's also the problem of operating procedure. If I use the shovel as a hammer and it breaks something I hit with it, the manufacturer will get out of the complaint by saying that was not how it was supposed to be used. If you made liability stricter on software, that's also what Microsoft would say with Windows, but they have far more ways to claim that it wasn't their software going wrong, it was you using it wrong. Since there are hundreds of interacting components in Windows, there are far more ways for them to claim that, whether because you actually used it wrong (and many complaints I've seen are exactly that) or Microsoft wanting you to lose even though they were at fault. It's not simple, which is why problems generally have to be large to be guaranteed of victory.

      1. This post has been deleted by its author

    2. iron

      Re: Why not make software like every other product?

      > I'm talking about the things that people actually pay for.

      When did you last buy a copy of Windows? Every recent version has been free afaik.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon