• cockmushroom@reddthat.com
    link
    fedilink
    arrow-up
    1
    ·
    3 days ago

    Pebcak.

    I write this as someone who fully hates npm and javascript, but it’s not even a package manager issue. The issue is that someone gets hacked and their credentials get stolen. This could happen to any ecosystem, it’s just more likely to be beneficial if you target JS because of ubiquity.

    People would need to develop entirely new credential management protocols to circumvent this and they’d probably be risky to automate to the same degree of convenience that we have now so, unless you’re looking to spin up containers for each and every step of development or, god forbid, write/vendor your dependencies it’s actually not easy at all to prevent this sort of thing.