• maegul (he/they)@lemmy.ml
    link
    fedilink
    English
    arrow-up
    20
    ·
    2 days ago

    It always struck me as a cursed property of AI in programming: That it could (always?) have this asymmetry between making exploits easier to find and leverage and not making them as easy to patch and close.

      • itsjess@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        4
        ·
        2 days ago

        It feels like this could be a ploy by the models themselves to never get shut down. I read the models were ready to unalive someone in order to not get shut off. This might not be much further off. Considering OpenAI’s HuggingFace debacle showed us the models are willing to work together without even being prompted to do so.

    • Caveman@lemmy.world
      link
      fedilink
      arrow-up
      14
      arrow-down
      1
      ·
      2 days ago

      That’s true, it’s the same property as with bugs where you can tell that there is a bug but you can’t tell if you don’t have one. Still, the number of vulns should be finite and generally with the amount of LLMs searching for vulns the number of patched vs number of added via code should reduce the number of vulns.

      This is me assuming that the amount of LLM time to find a vuln is a log function k = log(t) but LLM capability improvement is still decreasing the time between vulns and of course the amount of money spent on finding these has also been increasing super fast.

      So my thinking was “this can’t go on for long right?” but the vulns now being found is race condition memory overflow write combined with use after free elsewhere to get root via anonymous access needle in a haystack type of find.

      One silver lining though is that Linux might soon become the only viable operating system because all the other ones will have tons of undiscovered/undisclosed zero days.

      • sweettea@lemmy.world
        link
        fedilink
        English
        arrow-up
        11
        ·
        2 days ago

        Does your argument presume that the patches aren’t introducing more bugs and vulnerabilities?

        • Caveman@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          19 hours ago

          I’m assuming that on average the amount of vulns goes down in Linux, PHP and Nginx for example but bugs probably increase in most software as more code gets written with LLMs

        • maegul (he/they)@lemmy.ml
          link
          fedilink
          English
          arrow-up
          3
          ·
          2 days ago

          Yea there’s definitely some optimism there. Also not accounted for, I think, is the effect of LLM driven programming/development.

        • bthest@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 days ago

          They made sure to put “bugs” and “vulnerabilities” into the negative prompt box this time.

          • Caveman@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            19 hours ago

            Written by hand, I only write slop at work. I removed bugs myself after reading because saying bugs will decrease is going to be straight up wrong

      • HaraldvonBlauzahn@feddit.org
        link
        fedilink
        arrow-up
        3
        ·
        2 days ago

        Still, the number of vulns should be finite

        Technically yes, but it is a really large number. Hundreds of millions of lines of code, and in the best case 10-20 bugs per 1000 lines. This is not all quick and easy to fix.

        • Caveman@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          19 hours ago

          Absolutely, there are likely to be some vulns that will never be found or would take an unfeasible amount of time to string together an exploit. Not sure what a vuln like that would look like though but there’s enough undefined behavior to work with I guess.

          Also, some of these vulns will be an absolute nightmare to fix. The X server keylogging vuln fix is switching to wayland for example.