Go Checksum Database Errata

The Go checksum database (sum.golang.org) is an append-only transparency log of go.sum entries. Because entries are cryptographically committed to an immutable Merkle tree, records cannot be modified or removed once sequenced without invalidating the log. This property upholds the checksum database's security guarantee that two users downloading the same module at the same version cannot unknowingly be served different contents: external monitors of the transparency log will quickly notice when a checksum for a given module version is modified or multiple different checksums for it exist.

This page lists known malformed or anomalous records in the checksum database. For all of these records, we describe the steps we have taken, if any were required, to ensure that Go users are protected.

Records containing extra checksums

Records 70569742, 70602069, and 70614461 contain extra checksums for modules that are not meant to be part of those records. For example, a record for foo.tld/module@v0.0.1 additionally contains injected checksums for bar.tld/module@v0.0.2. Because of this, an untrusted module proxy can potentially serve different contents for bar.tld/module@v0.0.2 to different users: regular users who download bar.tld/module@v0.0.2 are given its actual checksum record, while a victim is given a different bar.tld/module@v0.0.2 whose checksums correspond to the injected ones in the record for foo.tld/module@v0.0.1.

We have fixed the underlying issue that allowed additional checksums to be injected into a record. In all three cases, the injected checksums are for synthetic modules created solely to test for potential vulnerabilities in sum.golang.org's infrastructure, rather than modules that Go projects depend on. Therefore, we believe that the ability to serve divergent content for these modules does not meaningfully affect the security of Go users. As an extra precaution, we have also blocked proxy.golang.org from ingesting or serving these modules.