The same go-containerregistry v0.20.4, two different checksums: the maintainer moved the tag after Go's checksum database had recorded it.
In May 2025 the v0.20.4 tag of github.com/google/go-containerregistry was deleted and created again
on a different commit (upstream issue #2107).
proxy.golang.org and sum.golang.org had already recorded the first one.
By default Go downloads through proxy.golang.org, which still serves the first v0.20.4, so nothing looks
wrong. Fetching the moved tag directly from GitHub with checksum checking on fails with
SECURITY ERROR ... checksum mismatch. With GOPRIVATE covering the module path, a common setting in
companies with private repositories, Go fetches directly, skips the checksum database, and takes the moved
tag without a warning.
This example resolves the dependencies of the same one-line program both ways (go mod tidy). The two
go.sum files record different hashes for the same version, and sbomlyze reports it as integrity drift.
With deny_integrity_drift the build fails.
What actually changed between the two v0.20.4 contents is one file, .github/workflows/release.yml (see
the content diff below). Harmless here; the point is that nothing else in the build would have said so. Two more re-tags of this
kind, also reported upstream: MSAL for Go v1.10.0
(#681) and go-swagger
v0.31.0 (#3118).
The second diff is the control: syft 1.55.0 → 1.57.0, where all 262 Go modules that kept their version could be checksum-compared and none drifted.

Generated once with Syft 1.56.0, linux/amd64, and kept unchanged in testdata/showcase in the repository. Every sbomlyze release re-runs the commands below on these exact files.
# go.mod requires github.com/google/go-containerregistry v0.20.4; GOPROXY=https://proxy.golang.org GOSUMDB=sum.golang.org go mod tidy syft scan dir:ggcr-checksum-db -o syft-json=ggcr-checksum-db.syft.json syft scan dir:ggcr-checksum-db -o cyclonedx-json=ggcr-checksum-db.cdx.json syft scan dir:ggcr-checksum-db -o spdx-json=ggcr-checksum-db.spdx.json
# GOPRIVATE='github.com/google/*' go mod tidy syft scan dir:ggcr-goprivate -o syft-json=ggcr-goprivate.syft.json syft scan dir:ggcr-goprivate -o cyclonedx-json=ggcr-goprivate.cdx.json syft scan dir:ggcr-goprivate -o spdx-json=ggcr-goprivate.spdx.json
syft scan registry:index.docker.io/anchore/syft@sha256:b83763ae05df444f7f768655ce2ea6d7c2f8280d58f9bee221a69d2971d98883 -o syft-json=syft-1.55.0.syft.json syft scan registry:index.docker.io/anchore/syft@sha256:b83763ae05df444f7f768655ce2ea6d7c2f8280d58f9bee221a69d2971d98883 -o cyclonedx-json=syft-1.55.0.cdx.json syft scan registry:index.docker.io/anchore/syft@sha256:b83763ae05df444f7f768655ce2ea6d7c2f8280d58f9bee221a69d2971d98883 -o spdx-json=syft-1.55.0.spdx.json
syft scan registry:index.docker.io/anchore/syft@sha256:1fe67f9ac8c4c86cbc0075bda33b97a2a804500ee03d450a88721411e133068a -o syft-json=syft-1.57.0.syft.json syft scan registry:index.docker.io/anchore/syft@sha256:1fe67f9ac8c4c86cbc0075bda33b97a2a804500ee03d450a88721411e133068a -o cyclonedx-json=syft-1.57.0.cdx.json syft scan registry:index.docker.io/anchore/syft@sha256:1fe67f9ac8c4c86cbc0075bda33b97a2a804500ee03d450a88721411e133068a -o spdx-json=syft-1.57.0.spdx.json
Policy files: policy-integrity.json
Key Findings:
🔄 0 version changes among 2 shared packages — no actual upgrades
⚠️ Integrity drift (1 total): 1 golang (review recommended)
~ Changed (1):
~ github.com/google/go-containerregistry @ /go.mod ⚠️ [INTEGRITY]
hash[go-h1]: h1:w/Fdj3ef046SdV/GJU69cCnreaLpqbTo1X9XPyHbkd4= -> h1:wQ614GjDrt6MiV9fwIVBdJqmDuup3Fho6QfltIrnNSw=
SBOM Comparison
======================================================================
Before After
File: ggcr-checksum-db.syft.json ggcr-goprivate.syft.json
File Size: 7 KB 7 KB
Format: Syft JSON 16.1.12 Syft JSON 16.1.12
Generator: syft 1.56.0 syft 1.56.0
OS: (none) (none)
Source: example.com/app example.com/app
Source Type: directory directory
Total Components: 2 2
golang: 2 2
Data Quality:
PURL Coverage: 100.0% 100.0%
License Coverage: 0.0% 0.0%
Hash Coverage: 0.0% 0.0%
CPE Coverage: 100.0% 100.0%
======================================================================
Scan Context:
Schema: 16.1.12 16.1.12
Scan Scope: squashed squashed
Key Findings:
🔄 0 version changes among 2 shared packages — no actual upgrades
⚠️ Integrity drift (1 total): 1 golang (review recommended)
📊 Drift Summary:
⚠️ Integrity drift: 1 components (hash changed without version change!)
~ Changed (1):
~ github.com/google/go-containerregistry @ /go.mod ⚠️ [INTEGRITY]
hash[go-h1]: h1:w/Fdj3ef046SdV/GJU69cCnreaLpqbTo1X9XPyHbkd4= -> h1:wQ614GjDrt6MiV9fwIVBdJqmDuup3Fho6QfltIrnNSw=
text (2 KB) · json (6 KB) · markdown (2 KB) · html (5 KB) · sarif (5 KB) · junit (1 KB) · patch (1 KB) · open the HTML report
Key Findings:
🔄 0 version changes among 2 shared packages — no actual upgrades
⚠️ Integrity drift (1 total): 1 golang (review recommended)
~ Changed (1):
~ github.com/google/go-containerregistry @ /go.mod ⚠️ [INTEGRITY]
hash[go-h1]: h1:w/Fdj3ef046SdV/GJU69cCnreaLpqbTo1X9XPyHbkd4= -> h1:wQ614GjDrt6MiV9fwIVBdJqmDuup3Fho6QfltIrnNSw=
❌ Policy Errors (1):
[deny_integrity_drift] github.com/google/go-containerregistry @ /go.mod: hash changed without version change
SBOM Comparison
======================================================================
Before After
File: ggcr-checksum-db.syft.json ggcr-goprivate.syft.json
File Size: 7 KB 7 KB
Format: Syft JSON 16.1.12 Syft JSON 16.1.12
Generator: syft 1.56.0 syft 1.56.0
OS: (none) (none)
Source: example.com/app example.com/app
Source Type: directory directory
Total Components: 2 2
golang: 2 2
Data Quality:
PURL Coverage: 100.0% 100.0%
License Coverage: 0.0% 0.0%
Hash Coverage: 0.0% 0.0%
CPE Coverage: 100.0% 100.0%
======================================================================
Scan Context:
Schema: 16.1.12 16.1.12
Scan Scope: squashed squashed
Key Findings:
🔄 0 version changes among 2 shared packages — no actual upgrades
⚠️ Integrity drift (1 total): 1 golang (review recommended)
📊 Drift Summary:
⚠️ Integrity drift: 1 components (hash changed without version change!)
~ Changed (1):
~ github.com/google/go-containerregistry @ /go.mod ⚠️ [INTEGRITY]
hash[go-h1]: h1:w/Fdj3ef046SdV/GJU69cCnreaLpqbTo1X9XPyHbkd4= -> h1:wQ614GjDrt6MiV9fwIVBdJqmDuup3Fho6QfltIrnNSw=
❌ Policy Errors (1):
[deny_integrity_drift] github.com/google/go-containerregistry @ /go.mod: hash changed without version change
text (2 KB)
Key Findings: 🔄 Scanned index.docker.io/anchore/syft changed: sha256:b83763ae05df444f7f768655ce2ea6d7c2f8280d58f9bee221a69d2971d98883 → sha256:1fe67f9ac8c4c86cbc0075bda33b97a2a804500ee03d450a88721411e133068a 📈 Inventory: +1 components (0.3%), +1 relationships (0.3%) 🔄 33 version upgrades (1 major, 15 minor, 16 patch, 1 prerelease) among 295 shared packages 📄 1 file entries changed content (not package integrity drift): /syft
SBOM Comparison
======================================================================
Before After
File: syft-1.55.0.syft.json syft-1.57.0.syft.json
File Size: 325 KB 326 KB
Format: Syft JSON 16.1.12 Syft JSON 16.1.12
Generator: syft 1.56.0 syft 1.56.0
OS: (none) (none)
Source: index.docker.io/anchore/syft index.docker.io/anchore/syft
Source Type: image image
Total Components: 296 297
golang: 296 297 +1
Data Quality:
PURL Coverage: 100.0% 100.0%
License Coverage: 0.3% 0.3%
Hash Coverage: 0.0% 0.0%
CPE Coverage: 96.3% 96.3%
======================================================================
Scan Context:
Schema: 16.1.12 16.1.12
Scan Scope: squashed squashed
Key Findings:
🔄 Scanned index.docker.io/anchore/syft changed: sha256:b83763ae05df444f7f768655ce2ea6d7c2f8280d58f9bee221a69d2971d98883 → sha256:1fe67f9ac8c4c86cbc0075bda33b97a2a804500ee03d450a88721411e133068a
📈 Inventory: +1 components (0.3%), +1 relationships (0.3%)
🔄 33 version upgrades (1 major, 15 minor, 16 patch, 1 prerelease) among 295 shared packages
📄 1 file entries changed content (not package integrity drift): /syft
+ Added by type (up to 5 samples each):
golang (2 total):
+ github.com/apparentlymart/go-textseg/v17 v17.0.1
/syft
+ github.com/varlink/go v0.4.1-0.20261015173642-c935be0c53f7
/syft
- Removed by type (up to 5 samples each):
golang (1 total):
- github.com/becheran/wildmatch-go v1.0.0
/syft
📊 Drift Summary:
📦 Version drift: 33 components
📄 File changes: 1 file entries (not package drift)
+ Added (2):
+ github.com/apparentlymart/go-textseg/v17 v17.0.1
+ github.com/varlink/go v0.4.1-0.20261015173642-c935be0c53f7
- Removed (1):
- github.com/becheran/wildmatch-go v1.0.0
📄 File changes (1):
~ /syft
~ Changed (33):
~ github.com/ProtonMail/go-crypto @ /syft
version: v1.4.1 -> v1.5.2
hash[go-h1]: h1:9RfcZHqEQUvP8RzecWEUafnZVtEvrBVL9BiF67IQOfM= -> h1:cucYnvqcY7UOXVD//mSyjeaPY0SSN3v5cDkYPxumINk=
~ github.com/anchore/clio @ /syft
version: v0.1.1 -> v0.1.2
hash[go-h1]: h1:9bkYnaFbpT0J3G0qSHyQqa/lpK5zV0C9Gtgh82H/jj0= -> h1:kCWNUkJsRJ5A103fFSLG+CSqIP9bOIFX2X5GEnup0HM=
~ github.com/anchore/stereoscope @ /syft
version: v0.3.4 -> v0.4.1
hash[go-h1]: h1:dT5AfjCTXUJowMiRIc+VBQVwvwnIEwnxxwA1GwAkMxw= -> h1:7mxw24JCabbJIAcyvQDjBd2pbzo+0HSFVgjYlE8Zm+k=
~ github.com/anchore/syft @ /syft
version: v1.55.0 -> v1.57.0
~ github.com/bmatcuk/doublestar/v4 @ /syft
version: v4.10.2 -> v4.10.3
hash[go-h1]: h1:eF7W7HWKg3z9NrWV9pTLnNeoXaqq3Tq9DNKXVMfoCnw= -> h1:1UIv1+fqH3++ViVkpnaPTB+Pi1UHycnPFAq14zgK+gI=
~ github.com/containerd/containerd/v2 @ /syft
version: v2.4.1 -> v2.4.2
hash[go-h1]: h1:DUx/ZJN7cEu0WuzHClDB+68H/bqMEH5pWoEjf0ae4hc= -> h1:p6Qg+xbEz8lvwdhHDx0U469xENvp4LgGBx+E7djXkGw=
~ github.com/containerd/stargz-snapshotter/estargz @ /syft
version: v0.18.2 -> v0.19.0
hash[go-h1]: h1:yXkZFYIzz3eoLwlTUZKz2iQ4MrckBxJjkmD16ynUTrw= -> h1:tak4qAx648jBAgZmywkd+6kaJ5pqSOVzKYB5DcVSHxk=
~ github.com/deitch/magic @ /syft
version: v0.0.0-20230404182410-1ff89d7342da -> v1.0.0
hash[go-h1]: h1:ZOjWpVsFZ06eIhnh4mkaceTiVoktdU67+M7KDHJ268M= -> h1:Nma1YAj7EB8Mlv4pVhbPpUp0CV1luYj2NOnE2+2xPNE=
~ github.com/docker/cli @ /syft
version: v29.8.2+incompatible -> v29.9.2+incompatible
hash[go-h1]: h1:2zgdFuoFst2T80oS42vhKGxkd0JRo305eIEKTsxR7pQ= -> h1:trup/vUxx5uUo2t+87Cd9AmITR+DvKUe4H2tTtZN8FY=
~ github.com/docker/docker-credential-helpers @ /syft
version: v0.9.8 -> v0.9.10
hash[go-h1]: h1:bIREROb7So6PRlq6KTtdS9MPEjC29OQRkFNlvK2OX8Q= -> h1:LCWwv7UmS7fQVmdKDWeMuureOeY5kkbC5kZfkzxkS6k=
~ github.com/docker/go-connections @ /syft
version: v0.8.1 -> v0.8.2
hash[go-h1]: h1:JibmG5hULs5qXSr/cp/w3Pw5fZuStt4MOHMUExb29/M= -> h1:9d9DEokx5W7qlr0shkFXIxEA7+TTD+llwzcykSlxMNc=
~ github.com/gabriel-vasile/mimetype @ /syft
version: v1.4.15 -> v1.4.16
hash[go-h1]: h1:05iP/CYtZ/w455R/KZM6rZ5ieAdh99UPtd+d3YzLmaI= -> h1:5izNFuvA37st1dDRAcA7TtmngBmRgiIPDmTtiEvjx1E=
~ github.com/github/go-spdx/v2 @ /syft
version: v2.7.1 -> v2.8.0
hash[go-h1]: h1:+siV9wnsncI5pg4otH/sKvqGL8UkcLdPh16TSJYY1V4= -> h1:WKCnF2Ee/x+zwSIEeQdm6+be0H6PiCNLQmSZ5CFmxMI=
~ github.com/go-jose/go-jose/v4 @ /syft
version: v4.1.5 -> v4.1.6
hash[go-h1]: h1:RjgjO2LOtWOJKUC5wpwY9LR3B3vwVAz6JS2YHfYU6eA= -> h1:sNRkftxFJxwsILiQukqp5z83QBSmntVwmgRY7AqBDO4=
~ github.com/google/pprof @ /syft
version: v0.0.0-20260802141513-ef3492d7dac3 -> v0.0.0-20261016150608-1facf8f91b50
hash[go-h1]: h1:LMLX+LgTNWpfvCBdFebv6EsYotImrt/Ppc5cXIriCSo= -> h1:PlNWJRxu5APSV0pWqfIsZ0qt9OOGHSWfZQ4zvx+WgWs=
~ github.com/gookit/color @ /syft
version: v1.6.2 -> v1.6.3
hash[go-h1]: h1:M6TJRJMuDFPYkrWmjOvMj+E0xIjcHq8lMPy7+vv0z1Y= -> h1:m6E49x+KftGaspcLtPLMsyci2ARhWIUW0PUV1owMlhs=
~ github.com/gpustack/gguf-parser-go @ /syft
version: v0.26.4 -> v0.27.0
hash[go-h1]: h1:B9CRrQBcIB7I/MJFZvzPZ+e+cbc1xBzQJcmpi9l/mKU= -> h1:eXFU9pmJEMQHOTL9qI742lXHWSa1CtlMWUU3gFce7nM=
~ github.com/klauspost/compress @ /syft
version: v1.20.1 -> v1.20.3
hash[go-h1]: h1:T7kKElXUMXrUJ2E9QhQhxFtcK5rPyLdsGZvdbLMPdiQ= -> h1:zWNoFqq/lSuYQRim3dUXlXeA0IqwuZGicdG5ZTfY5j4=
~ github.com/klauspost/pgzip @ /syft
version: v1.2.6 -> v1.2.7
hash[go-h1]: h1:8RXeL5crjEUFnR2/Sn6GJNWtSQ3Dk8pq4CL3jvdDyjU= -> h1:02QB3Ttao6zOWDnSsv3bIvjN24bX0eGjWniQ8vuBfkA=
~ github.com/mattn/go-runewidth @ /syft
version: v0.0.27 -> v0.0.31
hash[go-h1]: h1:Feg/Oou5zI/wnpgDF6omIU0OokC9GxLC/WRknhVlIR0= -> h1:1oCV4ReTlosDBc6rYRw5cL8S/4y8iv5oRl4SJ5IBgwo=
~ github.com/mattn/go-sqlite3 @ /syft
version: v1.14.48 -> v1.14.52
hash[go-h1]: h1:7XHIgl0a8HwOaiK4E47ozLkST78rR9+OtNGx27D/TFs= -> h1:wVbm2Qnf4OXkqhBTSPuCRZDRnxfbVrrmiCEroVdog8U=
~ github.com/moby/moby/api @ /syft
version: v1.56.0 -> v1.56.1
hash[go-h1]: h1:GQzua3NA599ASSIICx0iFgiJeO9YkdDARvQsm23ZZuQ= -> h1:PpWkvVPB7Fr/No8w+TfyJ/I6rWZ2YPZhT3JorIg+06c=
~ github.com/moby/moby/client @ /syft
version: v0.6.0 -> v0.6.2
hash[go-h1]: h1:AJjEB21QPbXSXjDsZorFBoDZPhMrfbpaPLgSMAW9Bgs= -> h1:ekSPlMccrZGcw6Scb8T9D39qE0mB+XupU/yS0zNw9N4=
~ github.com/sigstore/fulcio @ /syft
version: v1.8.7 -> v1.8.8
hash[go-h1]: h1:d7QJQxukgXarqPCT9uDNeyzt1Bbt/biw58/VfOnwI/o= -> h1:AtVoVQ4R7YaP6RHIH9puHyB398CHS/9WYc6d+gKf5Y0=
~ github.com/vbauerster/cupwriter @ /syft
version: v0.0.4 -> v0.0.5
hash[go-h1]: h1:9sBPe0uXWLZuWQU5lqVbhyFlxX6c09asST/YfatFAys= -> h1:pxlPgxPLIebXh8lJPOZmn2TmjPE8+PqJIFkKkr7hI9I=
~ github.com/vbauerster/mpb/v8 @ /syft
version: v8.14.0 -> v8.16.2
hash[go-h1]: h1:55SR80dptMfASxIG/oCEkBXgBhxeSu4GrVsjl16oKmA= -> h1:+UH2Nhn6asKkdX58hSgN+5Jqg/JcFSqCcU+8z0IiYYo=
~ go.podman.io/image/v5 @ /syft
version: v5.41.2 -> v5.42.0
hash[go-h1]: h1:YnVaFrGLPWSBmipKfNvlOsGcBtk5bUxlPxQ+A6CS/uo= -> h1:C//Ix0Thj2LYOQO6++NjU3McLFLQbf4czgUyH98R9gc=
~ go.podman.io/storage @ /syft
version: v1.64.1 -> v1.65.0
hash[go-h1]: h1:DqbG8scW/bD3xHiSRzV7O5fzn46qVC+SwmUN6C6Fr5w= -> h1:GgY5VibEw6coVhOGYWuxZ4F7H2AaTfPiwL7E1CJ2dnM=
~ golang.org/x/mod @ /syft
version: v0.41.0 -> v0.42.0
hash[go-h1]: h1:qJmnOUb4YB+FsEuM3HcWucdZASCPGhsX6uljO6pog0c= -> h1:ICeL3t2L30ljSPHHxDnR4fqVcBt/zR2zJAb9juavmQg=
~ golang.org/x/tools @ /syft
version: v0.51.0 -> v0.52.0
hash[go-h1]: h1:k4Xc/1Om9jwkBJBo4NVLMSARBoWtK10mx+W5BnXCeAI= -> h1:ryxg4U63oaUYk7uOLTF37n43f4qgtGvqV4Ioit1BaEs=
~ modernc.org/libc @ /syft
version: v1.77.1 -> v1.79.0
hash[go-h1]: h1:Ct8j47QtiZ1Enj2DtFXQtUqrPCAjdCmPjtCuvrYQ0Hs= -> h1:9Dvvv++bAMSkSuBzuOFAatbTV5OIoq6Y6FohmD3e7q8=
~ modernc.org/sqlite @ /syft
version: v1.60.1 -> v1.61.0
hash[go-h1]: h1:/blz53O951KWFOso4QQvEs/Fq6cDBKLtMVrYNSeJVKw= -> h1:sQi63oLQ9uquAUA4CzOisH35Q3pEszkPBuHM0tFL8CY=
~ stdlib @ /syft
version: go1.26.8 -> go1.27.3
>> Added dependencies:
pkg:golang/github.com/anchore/syft: +[pkg:golang/github.com/apparentlymart/go-textseg/v17 pkg:golang/github.com/varlink/go]
<< Removed dependencies:
pkg:golang/github.com/anchore/syft: -[pkg:golang/github.com/becheran/wildmatch-go]
text (9 KB)
The site is not updated if any of these stop holding for a new sbomlyze release.
| Run | Check |
|---|---|
| diff | diff.drift_summary.integrity_drift = 1 |
| diff | diff.changed[name=github.com/google/go-containerregistry].drift.hash_changes.changed.go-h1.before = "h1:w/Fdj3ef046SdV/GJU69cCnreaLpqbTo1X9XPyHbkd4=" |
| diff | diff.changed[name=github.com/google/go-containerregistry].drift.hash_changes.changed.go-h1.after = "h1:wQ614GjDrt6MiV9fwIVBdJqmDuup3Fho6QfltIrnNSw=" |
| policy | text contains “[deny_integrity_drift] github.com/google/go-containerregistry” |
| control | diff.digest_coverage.comparable = 262 |
| control | diff.digest_coverage.same_version_pairs = 262 |
| control | diff.drift_summary.integrity_drift = 0 |
Captured when the inputs were made and kept with them; the checks above use these files.