Several big businesses have published source code that incorporates a software package previously hallucinated by generative AI.

Not only that but someone, having spotted this reoccurring hallucination, had turned that made-up dependency into a real one, which was subsequently downloaded and installed thousands of times by developers as a result of the AI’s bad advice, we’ve learned. If the package was laced with actual malware, rather than being a benign test, the results could have been disastrous.

  • penquin@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 months ago

    I asked several AIs to write unit and integration tests for my code, and they all literally failed every single time. Some just straight up garbage, others just come up with shit I don’t even have in my code. AI is really good if you know what you’re doing and can spot what’s right and what’s wrong. Blindly taking its code is just useless, and dangerous, too.

    • anlumo@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 months ago

      It’s a matter of learning how to prompt it properly. It’s not a human and thus needs a different kind of instructions.

  • DingoBilly@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 months ago

    And someone recently told me the Xz exploit doesn’t matter because no developer is stupid enough to install beta releases to prod systems lol.

    Laziness and/or low skills leads to a lot of IT failures.