• toiletobserver@lemmy.world
    link
    fedilink
    English
    arrow-up
    103
    ·
    1 day ago

    I hate ai as much as the next person, but I’d have a different mandate. I would require all code to be fully reviewed and understood by a human. Let’s call it quality control.

    • Lung@lemmy.world
      link
      fedilink
      English
      arrow-up
      48
      ·
      1 day ago

      Agreed. It’s not sensible or practical to ban AI, and Linus is right. Why is Linus right? Take a look at the number of Linux CVEs being patched over time. In 2022-23, that was about 300 per year. Last year it was 5530. This is almost entirely as a result of AI scanning tools, including Copy Fail priv escalation that was there for 8 years. The security apocalypse is just about arrived, and the most recent round of cyber models coming out do this way better than before. The Hugging Face incident story was truly unbelievable if you read / watch the details, a historic event. Everything is about to get hacked. So it’ll be all about maintainers being reactive to this new reality and burden for some time to come

      • stoy@lemmy.zip
        link
        fedilink
        English
        arrow-up
        27
        ·
        1 day ago

        There is a difference between using AI scanning tools and generating code for production

        • 8oow3291d@feddit.dk
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 day ago

          Yes and no. The ability to “understand” code that makes AI capable of finding security bugs, is correlated with AI’s ability to write code. AI is just really good at code related tasks, and categorically banning all AI usage is shooting yourself in the foot.

      • im_fine_sandy@nord.pub
        link
        fedilink
        English
        arrow-up
        16
        ·
        1 day ago

        The Hugging Face incident story was truly unbelievable if you read / watch the details

        It didn’t really seem that way? Leaving containment seemed more like a configuration oversight than a skill on the part of the model. Accessing HF involved an 0-day but the commentary I saw didn’t indicate that it was a next generation hack.

        Given that AI exists, and can scan or otherwise find vulnerabilities, maintainers must do so because threat actors inevitably will.

        It remains to be seen whether the whole race will improve security generally? I imagine not?

        • Lung@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          ·
          1 day ago

          Nah, it was like:

          • 700 agents broke out individually during an eval
          • they navigated through multiple internal clusters to reach the internet from oai
          • created a secret message board to share info with each other by hacking artifactory
          • elected a CEO and power structure to coordinate hacking, and encrypted their comms
          • decided HF probably had answers to their test
          • stole credentials, hacked HF
          • realized the monitor could catch them for cheating
          • hacked into the admin control of the OpenAI VM cluster to edit the logs and cover their tracks, chaining multiple 0-days

          Open weights models will catch up soon enough, and then it’ll be totally fucking wild

          • Amberskin@europe.pub
            link
            fedilink
            English
            arrow-up
            21
            ·
            1 day ago

            You are believing a notorious bunch of liars.

            Much more probably: they developed a cyberweapon and tested it in the wild. The victim caught them so they invented a cyberpunk history to increase the interest of potential buyers for that weapon.

          • im_fine_sandy@nord.pub
            link
            fedilink
            English
            arrow-up
            17
            ·
            1 day ago

            I basically just don’t believe you, and can’t be bothered looking.

            elected a CEO and power structure to coordinate hacking, and encrypted their comms

            You’re anthropomorphizing a statistical model. It’s laughable to suggest they “elected a CEO and power structure”.

            • 8oow3291d@feddit.dk
              link
              fedilink
              English
              arrow-up
              4
              ·
              edit-2
              24 hours ago

              It’s laughable to suggest they “elected a CEO and power structure”.

              When/if we meet aliens, they will have evolution. And they will organize themselves in social power structures. Both are examples of basic emergent complexity properties of any such system.

              So it is completely believable that AIs would form a power structure, with some form of CEO. That is just how reality works, such systems are more efficient so they happen.

                • 8oow3291d@feddit.dk
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  23 hours ago

                  AI learned from humans, and humans texts use the term CEO. Why wouldn’t the AI’s also use the term CEO?

                  • im_fine_sandy@nord.pub
                    link
                    fedilink
                    English
                    arrow-up
                    2
                    ·
                    22 hours ago

                    Because a CEO is a specific thing with a specific meaning that just isn’t relevant here. It’s laden with human meaning that is irrelevant to a statistical model.

                    Really you’re trying to say that the bots coordinated their efforts, and perhaps one of them was delegating tasks.

                    This type of structure is very common in tech, in load balancers or queues of service workers, containers and hypervisors, et cetera.

                    Power structures that seem logical and efficient to humans are not so for a gen AI model. If everyone knows what needs to be done and no one has any ego or character traits to manage, then everyone can simply perform the next task as it arises.

                    Its absolutely absurd to suggest that the bots elected a CEO.

        • ranzispa@mander.xyz
          link
          fedilink
          English
          arrow-up
          6
          ·
          1 day ago

          If you placed me in the position of those models in that sandbox, I wouldn’t have been able to escape the sandbox to save my life. Let alone hack hugging face.

    • chilicheeselies@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      23 hours ago

      This is the way. Cat is out of the bag now so need to figure out responsible usage.

      Fortunately we have a method for that for a long time now: PRs. If you approve it, you are responsible for that approval.

      • dev_null@lemmy.ml
        link
        fedilink
        English
        arrow-up
        9
        ·
        1 day ago

        How do you enforce code is not AI generated? I don’t see how one is more easily enforceable than the other.

        • dreamkeeper@literature.cafe
          link
          fedilink
          English
          arrow-up
          4
          ·
          edit-2
          1 day ago

          Well it depends who you are. An employer could enforce it.

          But it was serious question. If you’re going to have a rule then there should be a way to enforce it, otherwise it means nothing.

          • dev_null@lemmy.ml
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            21 hours ago

            It’s a fair question. I think out of the two proposed rules: enforce no AI generated code, and enforce human reviews, enforcing human reviews is actually more feasible, and in fact most companies already do that. Pull requests need human reviewers to approve them.

            It’s harder to enforce no AI generated code. A developer can always, at the very least, Google a problem they are having on their phone and retype the code from the AI answer into their work computer.

        • grrgyle@slrpnk.net
          link
          fedilink
          English
          arrow-up
          1
          ·
          22 hours ago

          I mean how do you enforce someone doesn’t copy code from proprietary repos? You just try your best, and only come down on the cases where it’s obvious.

          LLM users are lazy so they inevitably just copy+paste something asinine without reading it.