go-licenses VS trophy-case

Compare go-licenses vs trophy-case and see what are their differences.

go-licenses

A lightweight tool to report on the licenses used by a Go package and its dependencies. Highlight! Versioned external URL to licenses can be found at the same time. (by google)

trophy-case

🏆 Collection of bugs uncovered by fuzzing Rust code (by rust-fuzz)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
go-licenses trophy-case
1 14
767 394
1.4% 1.0%
3.4 2.8
14 days ago 28 days ago
Go
Apache License 2.0 Creative Commons Zero v1.0 Universal
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

go-licenses

Posts with mentions or reviews of go-licenses. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-01.
  • Shouldn't have happened: A vulnerability postmortem
    11 projects | news.ycombinator.com | 1 Dec 2021
    > I don't think the exact URL is the problem, it is the fact that it is so easy to include dependencies from external repository that is the problem. In Rust every non-trivial library pulls in 10s or even 100s of dependencies.

    But it's also quite a lot easier to audit those dependencies, even automatically (incidentally, GitHub provides dependency scanning for free for many languages).

    > Then there is the issue of licencing - how to verify that I am not using some library in violation of its licence and what happens if the licence changes down the road and I don't notice it because I am implicitly using 500 dependencies due to my 3 main libraries?

    This is also an automated task. For example, https://github.com/google/go-licenses

    > go-licenses analyzes the dependency tree of a Go package/binary. It can output a report on the libraries used and under what license they can be used. It can also collect all of the license documents, copyright notices and source code into a directory in order to comply with license terms on redistribution.

    > Rust and Go have solved memory safety compared to C and C++ but have introduced dependency hell of yet unknown proportions.

    I mean, it's been a decade and things seem to be going pretty well. Also, I don't think anyone who has actually used these languages seriously has ever characterized their dependency management as "dependency hell"; however, lots of people talk about the "dependency hell" of managing C and C++ dependencies.

    > Python and other dynamically typed languages are in a league of their own in that on top of the dependency hell they also do not provide compiler checks that would allow user to see the problem before the exact conditions occur at runtime.

    I won't argue with you there.

trophy-case

Posts with mentions or reviews of trophy-case. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-16.
  • Rust from a security perspective, where is it vulnerable?
    6 projects | /r/rust | 16 Jan 2023
    You could check cargo-fuzz trophy case, which is a list of issues that have been found via fuzzing.
  • capnproto-rust: out-of-bound memory access bug
    4 projects | /r/rust | 30 Nov 2022
    I've added it to the trophy case.
  • [LWN] A pair of Rust kernel modules
    1 project | /r/linux | 14 Sep 2022
    That said, what's present in what quantities under what circumstances in the Rust fuzzing trophy case does a pretty good job of illustrating how effective the Rust compiler is at ruling out entire classes of bugs.
  • Looking for simple rust programs to crash
    9 projects | /r/rust | 25 Jul 2022
    The same fuzzing techniques applied to Rust yielded a lot of bugs as well. But in Rust's case only 7 out of 340 fuzzer-discovered bugs, or 2%, were memory corruption issues. Naturally, all of the memory corruption bugs were in unsafe code.
  • Everything Is Broken: Shipping rust-minidump at Mozilla, Part 1
    1 project | /r/rust | 15 Jun 2022
    https://github.com/rust-fuzz/trophy-case has like 70 of my issues in it, including the nine minidump bugs
  • Fuzzcheck (a structure-aware Rust fuzzer)
    4 projects | /r/rust | 26 Feb 2022
    If you have found any bugs with this tool, perhaps add them to the Rust fuzz trophy case?
  • Rust is more portable than C for pngquant/libimagequant
    7 projects | /r/rust | 4 Jan 2022
    Source: https://github.com/rust-fuzz/trophy-case (over 40 of those are just from me).
  • Rust takes a major step forward as Linux's second official language
    17 projects | /r/programming | 7 Dec 2021
    But to bring some data, check out the fuzz trophy case. It shows that failures in Rust are most often assertions/panics (equivalent to C++ exception) with memory corruption being relatively rare (it's not never—Rust isn't promising magic—but it's a significant change).
  • Shouldn't have happened: A vulnerability postmortem
    11 projects | news.ycombinator.com | 1 Dec 2021
    You need to read the list more carefully.

    • The list is not for Rust itself, but every program every written in Rust. By itself it doesn't mean much, unless you compare prevalence of issues among Rust programs to prevalence of issues among C programs. For some context, see how memory unsafety is rare compared to assertions and uncaught exceptions: https://github.com/rust-fuzz/trophy-case

    • Many of the memory-unsafety issues are on the C FFI boundary, which is unsafe due to C lacking expressiveness about memory ownership of its APIs (i.e. it shows how dangerous is to program where you don't have the Rust borrow checker checking your code).

    • Many bugs about missing Send/Sync or evil trait implementations are about type-system loopholes that prevented compiler from catching code that was already buggy. C doesn't have these guarantees in the first place, so lack of them is not a CVE for C, but just how C is designed.

  • Safer usage of C++ in Chrome
    1 project | /r/rust | 9 Sep 2021

What are some alternatives?

When comparing go-licenses and trophy-case you can also consider the following projects:

gitgen - Generate license and gitignore files from Go without an internet connection. It also has a convenience CLI, but can be used as a library as well

diem - Diem’s mission is to build a trusted and innovative financial network that empowers people and businesses around the world.

automaxprocs - Automatically set GOMAXPROCS to match Linux container CPU quota.

go-fuzz - Randomized testing for Go

addlicense - A program which ensures source code files have copyright license headers by scanning directory patterns recursively

gccrs - GCC Front-End for Rust

JDK - JDK main-line development https://openjdk.org/projects/jdk

BLAKE3 - the official Rust and C implementations of the BLAKE3 cryptographic hash function

bitwarden_rs - Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs [Moved to: https://github.com/dani-garcia/vaultwarden]

go - The Go programming language

rustc_codegen_gcc - libgccjit AOT codegen for rustc

mrustc - Alternative rust compiler (re-implementation)