grype_me
Version updated for https://github.com/TomTonic/grype_me to version v1.3.21-release.
- This action is used across all versions by 0 repositories.
Action Type
This is a Docker action.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
This GitHub Action, grype_me, automates the scanning of dependencies to detect vulnerabilities using Anchore Grype. It provides a quick and efficient way to scan repositories, container images, or directories for known security issues by leveraging pre-downloaded vulnerability data within a Docker image. The action generates detailed reports and shields.io badges, which can be linked directly from Markdown text in the README. Users can configure various options such as scan mode, fail build behavior, and output format to suit their needs.
What’s Changed
v1.3.21-release
Architectural Changes
- Migrated to Go 1.27 (from 1.26.6). Building and testing
grype_menow requires a Go 1.27+ toolchain. - Adopted
encoding/json/v2, newly available in the standard library withoutGOEXPERIMENT=jsonv2as of Go 1.27, acrossgist.go,scanner.go,types.go, and their tests. Streaming JSON now goes throughjson.UnmarshalRead/json.MarshalWriteinstead ofjson.NewDecoder/json.NewEncoder. - Test suite migrated to Go 1.27’s
httptest.NewTestServeringist_test.go: the mock GitHub Gist API server is now bound to the test’s lifecycle (in-memory fake network, auto-closed when the test ends) instead of manually created viahttptest.NewServer+defer server.Close(). - Applied
go fix-driven idiom cleanups: a C-style index loop ingit.go’s tag-version parser becamefor i := range nums; a manualstrings.Index/slice split ingist.go’s URL-stripping helper becamestrings.Cut.
Changed Behavior
- The
db.statusfield in the internalGrypeOutputJSON struct dropped itsomitemptytag as part of thejson/v2migration. This has no observable effect on parsing — struct-typed fields were never treated as “empty” under either JSON implementation — but is a cleanup of a previously ineffective tag.
Source Code Updates
- Go toolchain 1.26.6 → 1.27.0 (major version). Go 1.27 is Go’s regular six-month feature release, not itself billed as a security release; the fixes already backported into 1.26.6 in the previous release cycle (module sum-database/GOSUMDB tile-verification bypass,
encoding/xmlstack exhaustion,net/httpheader-timeout gap,net/urlquadratic path resolution) are included as a baseline. I found no CVEs specific to the 1.27.0 release beyond those already covered. github.com/skeema/knownhosts(indirect, viago-git’s SSH known-hosts handling) 1.3.2 → 1.3.3. I could not find published release notes for this version; treating it as a routine maintenance bump.
CI Updates
- Docker build-stage base image bumped to
golang:1.27.0-bookworm(with a follow-up digest-only refresh of the same tag). github/codeql-actionv4.37.7 → v4.37.9.docker/setup-buildx-actionv4.2.0 → v4.3.0.step-security/harden-runnerv2.20.1 → v2.21.0.- Python tooling:
platformdirs(yamllint CI dependency) 4.11.3 → 4.11.5. - Refreshed the self-referential
TomTonic/grype_meaction digest pin used in this repository’s own dogfooding workflow.
New Features
None — this release is an internal toolchain/idiom modernization; observable action behavior for consumers is unchanged.