# grype catalogues installed packages through the Syft library, which reads
# the dpkg database by design; that is what a vulnerability scanner is for.
grype: uses-dpkg-database-directly [usr/bin/grype]

# Upstream's go.mod says "go 1.26.3", so a build with Go 1.27 keeps the 1.26
# defaults for the two settings that changed in 1.27. Neither is a security
# setting on Linux: crypto/x509 reads x509sslcertoverrideplatform only when
# GOOS is windows, darwin or ios (crypto/x509/root.go, loadSystemRoots), and
# tracebacklabels only decides whether goroutine labels are printed in a
# traceback (runtime/traceback.go).
grype: binary-contains-insecure-defaultgodebug-settings tracebacklabels=0,x509sslcertoverrideplatform=0 [usr/bin/grype]
