We relies on golangci-lint version1.61.0 since https://github.com/mlflow/mlflow-go/pull/72, which currently includes gosec version 2.21.2. In gosec version 2.21.4, a significant improvement was introduced for detecting integer overflows in rule G115 through bound checks. This enhancement, documented in gosec Issue #1187, would help us catch potential overflow vulnerabilities more effectively once available in golangci-lint.
We relies on
golangci-lint
version1.61.0
since https://github.com/mlflow/mlflow-go/pull/72, which currently includesgosec
version2.21.2
. Ingosec
version2.21.4
, a significant improvement was introduced for detecting integer overflows in rule G115 through bound checks. This enhancement, documented in gosec Issue #1187, would help us catch potential overflow vulnerabilities more effectively once available in golangci-lint.References: gosec Issue #1187 - Details the addition of bound checks for G115. gosec Release Notes - Overview of recent gosec updates.