• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kcl-lang / kcl-openapi / 33303408969
64%
main: 64%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/stretchr/testify-1.12.1
DEFAULT BRANCH: main
Ran 30 Aug 2026 09:13AM UTC
Jobs 1
Files 18
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Aug 2026 09:10AM UTC coverage: 64.044%. Remained the same
33303408969

Pull #166

github

claude
fix(deps): bump github.com/getkin/kin-openapi to v0.144.0 (fixes #165)

`go.mod` pinned `github.com/getkin/kin-openapi v0.76.0` which is
vulnerable to GHSA-r277-6w6q-xmqw (rated critical): the
`ValidationHandler` in `openapi3filter` silently replaces a nil
`AuthenticationFunc` with `NoopAuthenticationFunc`, causing all
security requirements to be satisfied without authentication — a
fail-open behaviour that contradicts the expected fail-closed
contract of `ValidateRequest` and lets unauthenticated callers
reach protected routes.

The fix lands in kin-openapi v0.144.0 (released 2026-07-23). Bumping
to that version is the smallest jump that closes the vuln; kin-openapi
has had a steady stream of releases since then (latest is v0.149.0)
but the API surface kcl-openapi actually uses (`openapi3.Load*`,
`openapi3.T`, schema walking for the CRD-to-KCL pipeline) is stable
across the range, and the CLI consumer is already on v0.147.0
without complaints, so v0.144.0 is the right floor.

knock-on changes from the bump:

* `github.com/go-openapi/jsonpointer` v0.19.5 → v0.22.5
* `github.com/ghodss/yaml` is no longer required
* `github.com/go-openapi/swag/jsonname` is now pulled in transitively
* `github.com/oasdiff/yaml`, `oasdiff/yaml3`,
  `github.com/santhosh-tekuri/jsonschema/v6` come along for the ride

kin-openapi v0.144.0 declares `go 1.25` in its own `go.mod`, so the
project's `go` directive (1.24.0 → 1.25) and the linux CI matrix
(`go-version: [ '1.24' ]` → `[ '1.25' ]`) have to move with it.
darwin/windows already key off `go-version-file: 'go.mod'`, so they
pick the new version automatically.

Verified locally: `go build ./...` succeeds and `go test ./...`
passes all three test packages (`pkg/cmds`,
`pkg/kube_resource/generator`, `pkg/swagger/generator`).

Fixes #165
Pull Request #166: fix(deps): bump github.com/getkin/kin-openapi to v0.144.0 (fixes #165)

2670 of 4169 relevant lines covered (64.04%)

0.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33303408969.1 30 Aug 2026 09:13AM UTC 18
64.04
GitHub Action Run
Source Files on build 33303408969
  • Tree
  • List 18
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #166
  • PR Base - main (#33299960536)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc