• 0 Posts
  • 31 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle




  • I would say this very issue is at the core of the current CVE discussions that leads more and more projects to become their own CNAs.

    Security people and corporate downstream consumers of security feeds want to invest the minimum of effort while pushing as much of the evaluation what is and isn’t a vulnerability on the authors of library authors as possible. However, this does not work. A vulnerability can only ever truly be evaluated by investing significant amounts of effort in the abstract way that is required to do it in an upstream project. On the other hand, at point of use it is often trivial to discard the possibility of an exploit because the potentially vulnerable code is not even used by the project using the library that contains the code.




  • No, I actually meant it as in the traditional meaning of literally. As in

    [lints.clippy]
    unwrap_used = "warn"
    expect_used = "warn"
    

    along with a pre-commit hook that does

    cargo clippy -D warnings

    (deny warnings).

    There are always better ways to write an unwrap, usually via pattern matching and handling the error cases properly, at the very least logging them.





  • taladar@sh.itjust.workstoBrowsers@lemmy.mlFloorp
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    Floorp does not track users and only blocks malicious tracking on websites. With Floorp you can build an internet that benefits both websites and users. Blocking only harmful trackers by listening to the opinions of both website owners who make a living from advertising and users who want to protect their privacy, why not use Floorp in finding a better internet?

    This seems like a big no to me. Advertising these days usually means running scripts in the context of your websites so that inherently makes things less safe.