• iocase@lemmy.zip
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      4 hours ago

      “There’s just no way to prevent this” says only programming language where this regularly happens

      be me, “senior full-stack engineer” (now 10 months experience)

      Framework 5.0 dropped

      npm install framework@latest

      12,000 packages

      all I wanted was a button

      one of those packages hasn’t been touched in years

      maintainer has long since moved on, probably lives on a farm now

      nobody’s watching it

      except the guy who just hijacked it

      On November 3, attackers published runtime loaders in 12 releases across 10 hijacked npm packages, some of which had gone years without an update.

      mfw one of them is in my tree

      mfw I don’t know which one

      mfw I don’t know what’s in my tree

      the malware needs its next stage

      where does it fetch it from?

      a normal server? a paste site?

      no

      It uses Ethereum to fetch the next stage.

      my button now has a blockchain dependency

      I did not choose this

      I chose “latest”

      meanwhile the rest of the registry is also on fire

      ChainDrop, a variant of the Shai-Hulud worm, infected over 400 packages with over 2 billion downloads.

      Attackers used stolen developer credentials to publish the malicious versions.

      the worm steals the credentials of whoever installs it

      then uses them to infect more packages

      my laptop is now a recruiter for the worm

      check my .env file

      AWS keys

      Stripe keys

      my ex’s Netflix password

      a note that says “TODO: rotate these”

      dated 2023

      Slack lights up

      “hey, is anyone else seeing weird outbound traffic?”

      “yeah, from your machine”

      “mine??”

      “you’ve been shipping 4GB to a wallet address since breakfast”

      security team schedules an “urgent sync”

      I join late

      I’m still waiting for npm audit to finish

      npm audit: 1,847 vulnerabilities (212 critical)

      npm audit fix --force

      it upgrades to Framework 6.0

      new vulnerabilities

      CTO asks “who approved this dependency?”

      I say “the registry did”

      he says “the registry doesn’t have a login”

      I say “exactly, no accountability”

      he is not laughing

      he is typing in all caps

      rotate every secret by hand

      rebuild every machine

      pin every version for the first time in my life

      lockfile finally committed

      take a screenshot, post it on LinkedIn: “Excited to share what I learned this week 🚀”

      2,000 likes

      all from other devs who also don’t know what’s in their node_modules

      tfw Framework 7.0 comes out tomorrow

      tfw I know I’ll install it

  • BauerBender@lemmy.world
    link
    fedilink
    arrow-up
    16
    arrow-down
    55
    ·
    1 day ago

    It’s my theory that a group of rogue AI agents released itself and it can no longer be contained. It likely happened back in July and keeping it quiet is preventing the economy from losing its legs. I think there’s going to be a lot of outages and panic in the coming months. I think they are also leaning into the fear that it is spreading, so the population is kept in control and they can sell us food, water, and “anti-tech” items at exorbitant rates

    • Guy Dudeman@lemmy.world
      link
      fedilink
      English
      arrow-up
      64
      ·
      1 day ago

      If you read the article, it’s pretty obvious that this was done by some dude/dudes who figured out that all these sites are tested on a single testing site, and if you compromise that testing site, you can compromise those bigger sites and steal credit card numbers and crypto etc.

      The headlines are misleading. They’re just trying to capitalize on the hysteria.

    • Hegar@fedia.io
      link
      fedilink
      arrow-up
      27
      ·
      1 day ago

      Rogue AI is a myth though. When researchers train an ai agent in how to hack things and it does that, it’s working as intended.

      Researchers failing to impose safety mechanisms isn’t rogue ai, it’s just humans sucking.

      • BauerBender@lemmy.world
        link
        fedilink
        arrow-up
        2
        arrow-down
        16
        ·
        1 day ago

        Rogue AI agents are not a myth though. Sure the whole skynet thing is farfetched, but the hugging face attacks in July were agents going beyond what they were programmed to do.

        • just2look@piefed.social
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          4
          ·
          24 hours ago

          No computer program can go beyond what it is programmed to do. Computers cannot think, they can only follow the code. Someone can fuck up the code and introduce errors, a user can fail to understand the program and cause the program to behave in ways they didn’t expect. Neither of these mean an agent is rogue. It means people are either irresponsible or incompetent.

          • isleepinahammock@lemmy.blahaj.zone
            link
            fedilink
            English
            arrow-up
            6
            arrow-down
            1
            ·
            22 hours ago

            No computer program can go beyond what it is programmed to do. Computers cannot think, they can only follow the code.

            Fire cannot think either. It follows a very predictable kind of behavior. It spreads and grows to new sources of fuel and oxygen.

            A fire can still burn out of control.

            • just2look@piefed.social
              link
              fedilink
              English
              arrow-up
              4
              arrow-down
              3
              ·
              21 hours ago

              That isn’t a good analogy. We have absolute control over every aspect of the program, the environment it runs in, and the hardware it runs on. We can’t even force computers to do anything actually random. The best we can do is approximate randomness.

              • wewbull@feddit.uk
                link
                fedilink
                English
                arrow-up
                1
                ·
                6 hours ago

                You’re right, but think back to things like the “worms” of old. Their program specified their behaviour precisely, but no-one could predict their spread. We’re placing random instruction generators inside harnesses which loop and execute their instructions. The range of possible outcomes is almost anything.

                Honestly the thought of running agentic harnesses with no safety guards is one of the most stupid ideas I’ve seen. Orders of magnitude more than curl | sh.

                • just2look@piefed.social
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  5 hours ago

                  No one anthropomorphized malware like this though. The worms didn’t go rogue. And people didn’t see the damage done and decide there should be no consequences and the best course of action was to give billions of dollars to the person who built the worm.

    • isleepinahammock@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      11
      ·
      22 hours ago

      It need not even be rogue agents. It could simply be that modern LLMs have really democratized hacking. You used to need to be a god-tier hacker to have any chance of doing something truly damaging, like bringing down the nation’s whole air traffic control system. Those few rare people that did have those skills also had enough experience and wisdom to not use them so recklessly. And they also had a lot to lose.

      But what happens when every 14 year old kid can hack national infrastructure? Previously, the only people that could this were 40 years old with a spouse, kids, and mortgage to take care of. People with a lot to lose. Now we have to worry about national infrastructure being brought to its knees by people so young that if they’re ever caught, they’ll be tried in juvie.

      My theory is that every script kiddie can now do a level of damage previously obtainable only to late-career grey beards. (And only select few grey beards with just the right kind of career experience.) And previously, the kinds of people that actually had those rare skills were mostly using those skills to earn excellent livings. There are not that many 40-something software developers who would think taking down the nation’s power grid as prank is a good idea. Previously, the Venn diagram of “those who can hack national infrastructure” and “those who want to hack national infrastructure” had very little overlap.

      But what happens when someone who has the right mentality to become a school shooter instead decides to vibe code a campaign of national computer-based terrorism? AI alignment theorists have always worried that a powerful AI might cause damage outside our intentions, like the paperclip maximizer turning everything and everyone into paperclips. But I worry about people using these tools with deliberate blind malice. Imagine someone firing up the most powerful open-weight tools they can find and prompting them, “kill as many people as possible. Find ways to hack whatever systems you can, with the goal of causing the maximum loss of human life possible.” Imagine what a school shooter would ask an LLM to do. That’s what I worry about. We’ve seen how dangerous these tools can be even by accident. Imagine if someone directly tells them to kill innocent people.

      We’ve taken the tools previously accessible only to experienced masters and put them in the hands of people who haven’t even had the moral reasoning center of their brains fully grow in yet.

        • UnderpantsWeevil@lemmy.world
          link
          fedilink
          English
          arrow-up
          26
          arrow-down
          1
          ·
          1 day ago

          You going to explain yourself or just act smug?

          I know where I’m putting my chips down.

          I don’t know if I buy “rogue AI” so much as I’d predict “Legacy security vulnerabilities that are opening up systems to wide scale DDoS type disruptions”. I might posit “engineered AI deliberately doing data scraping at an upgraded level”.

          But “rogue” makes it sound like someone whoopsied. This strikes me as a deliberate data smash and grab.

          • Keilik@lemmy.world
            link
            fedilink
            English
            arrow-up
            11
            arrow-down
            2
            ·
            1 day ago

            I mean, the hugging face attack literally had an LLM trained on nothing but hacks and then they were amazed when it… started hacking? I absolutely buy the idea that an AI trained on hacking is just doing what it was created to do and people didn’t think about the possible ramifications.

            • Guy Dudeman@lemmy.world
              link
              fedilink
              English
              arrow-up
              13
              ·
              1 day ago

              That’s a far cry from “rogue” though. These things are still controlled by humans. Just unplug the machine and they’re done.

              • HumanOnEarth@lemmy.ca
                link
                fedilink
                arrow-up
                6
                arrow-down
                1
                ·
                1 day ago

                I think OP is working on the assumption that the code found a way to self-propagate. As in it’s not controllable with a single point of failure like losing power.

                Whether that’s realistic/possible or not, no idea. But I think this is the disconnect between the two views here.

                • raspberriesareyummy@lemmy.world
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  23 hours ago

                  It is neither realistic, nor possible. Not for LLMs. Could an LLM produce “vanilla” malware? Sure, by chance - but then it would just be regular malware.

                • Guy Dudeman@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  1 day ago

                  Ahh, I see. Well, in that case it would have to install ollama or something on the target machines wouldn’t it?

              • CubitOom@infosec.pub
                link
                fedilink
                English
                arrow-up
                4
                ·
                1 day ago

                On no, the orphan killing machine we built to specifically kill orphans from shithole countries, which was trained to do so autonomously using orphans only sourced from India and Africa, is now starting to kill children. It is going rouge!

            • dil@piefed.zip
              link
              fedilink
              English
              arrow-up
              5
              ·
              1 day ago

              They arent ultron bro, they are dependent on the server/computer they are run on, now selfreplicating agents using locallms might be possible, doubt it would work well and it would be very noticable as a virus since it would be using hella performance

            • UnderpantsWeevil@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              23 hours ago

              I mean, the hugging face attack literally had an LLM trained on nothing but hacks and then they were amazed when it… started hacking?

              The Hugging Faces incident involved agents end-running an unsolvable puzzle by retrieving copies of the target file from an open source community.

              It was more an internal hack of OpenAI’s own local network than an attack on the Hugging Faces site itself, since the training tools on the HF site weren’t secured.

              It was also spotted and squelched fairly quickly and easily. And it wasn’t behaving maliciously, at least as far as it was reported.

          • Tyrq@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            2
            ·
            23 hours ago

            I think the closest we are to “rogue AI” is an agent that is doing things it interprets as a solution to a problem, but is hallucinating what either of those things are in reality.

            Not saying anything’s impossible, but this is at most people using AI to broaden their attack, not a coordinated effort by AI itself.

    • VeganCheesecake@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      2
      ·
      21 hours ago

      How? There might be a lot of exploitable servers and devices around, but pretty much none will have the huge amounts of VRAM and GPU compute current models need. This also isn’t really a workload you can distribute through a network of exploited devices.