Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
There are many scanners for finding known vulnerabilities (CVEs). Typical scanner could be based on e.g. RPM index.
CVEs are reported also about go modules (see example here) but due to static linking it is difficult to recognize if a given binary has known vulnerability.
Go compiler could augment the binaries with metadata about included modules and their versions.