• Lucky
    link
    fedilink
    arrow-up
    7
    ·
    10 months ago

    Another way to mitigate type squatting would be namespacing crates. Much easier to verify who owns the package and related packages

    • Vorpal@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      10 months ago

      Doesn’t really help: what if you typo the namespace instead? Same exact issue. Namespaces are useful for other things though, but not security.