• HaraldvonBlauzahn@feddit.org
    link
    fedilink
    arrow-up
    15
    arrow-down
    1
    ·
    18 hours ago

    I know everyone say “use at your own risk,” but in practice that’s not how regular users are using npm, PyPi, AUR, Cargo and such.

    This won’t work any more in the future. Linux is too big and the Internet, or the world as a whole has become an too unfriendly place.

    It is like that I once lived in a small village in Belgium in a shared house and I loved that we never needed to lock the door, even when we were away. But you can’t do that in a big city.

    Well, as a Linux user, you can’t run untrusted code from strangers. Which is what AUR and PyPy is. As a normal user, you should run only checked code from your distribution. And when you develop software, you need to check the credentials and signatures of upstream software and their developers.

    • Mihies@programming.dev
      link
      fedilink
      arrow-up
      11
      ·
      17 hours ago

      Good luck with checking all dependencies as a developer, bonus points for JavaScript. You’ve just become a 98% less effective. But seriously, how would you check everything? And if you stumble upon malicious code, would you even recognize it?

      • devfuuu@lemmy.world
        link
        fedilink
        arrow-up
        5
        arrow-down
        3
        ·
        13 hours ago

        Nobody sane should be installing js code in their systems. Nor having node or even npm installed.

      • HaraldvonBlauzahn@feddit.org
        link
        fedilink
        arrow-up
        3
        arrow-down
        2
        ·
        16 hours ago

        Good luck with checking all dependencies as a developer, bonus points for JavaScript.

        Yes I know well that JavaScript development practices are unsustainable.

        And at some point, chickens will come home to roost.

        For my part, I focus on minimalist, well defined systems, both as a user and developer. And trust where it is reasonable - not by default.

      • Victor@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        16 hours ago

        Exactly, I wouldn’t know what I was looking at probably. We don’t really learn malicious programming at uni.