• delirious_owl
    link
    fedilink
    arrow-up
    1
    arrow-down
    3
    ·
    edit-2
    9 months ago

    Crates is insecure and, as pointed out above, so is piping curl to bash for installing rust Dev tools

    • asudox@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      9 months ago

      Crates is insecure

      And? You are literally installing someone else’s code. The compiler isn’t an AV. This is true for all langs.

      piping curl to bash for installing rust Dev tools

      How is it any different than installing binaries from the site and just pulling the binary via curl? The bash script is also visible to anyone, feel free to check it for anything that might be malicious.

      • delirious_owl
        link
        fedilink
        arrow-up
        1
        ·
        8 months ago

        Trust is a thing. We should trust the person writing our dependencies and be able to verify that it was published by them, and not somebody in the middle maliciously altering the code.

        You should not be installing unsigned binaries from a website. Either use a package manager that checks for signatures or manually check the signatures yourself. If the project doesn’t sign their releases, open a bug report.