proposal: include metadata about modules in binaries #28784
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.