chore(deps): clear postcss + kin-openapi advisories

Closed
JE
4mo ago
+36-43

Clear the two advisory-scanner findings

Surfaced by CI security scanners on other PRs (e.g. #402); neither was introduced by any feature work and no issue tracked them. Both are transitive / build-time dependencies, not in the shipped SDK's runtime graph.

postcss 8.5.16 → 8.5.23 (npm Audit, high)

  • GHSA-r28c-9q8g-f849 — PostCSS path traversal in source-map auto-loading (sourceMappingURL), affects <=8.5.17.
  • Transitive dev/build dependency. Fixed via npm audit fix (package-lock only). npm audit now reports 0 vulnerabilities; TS build + full suite (736 tests) green.

getkin/kin-openapi 0.135.0 → 0.144.0 (Trivy, critical)

  • Build-time-only dependency, pulled by the oapi-codegen generator via the tool directive — not in the SDK's runtime dependency graph. govulncheck (reachability-based) reports no vulnerabilities in the shipped SDK.
  • Bumped surgically with go get kin-openapi@v0.144.0, keeping oapi-codegen at v2.7.1 (compatible). Deliberately not a generator upgrade: the generated client.gen.go is byte-identical (0 churn), and the newer kin-openapi drops several transitive deps. Go build/tests + drift checks green.

Note: bumping the generator itself (oapi-codegen v2.7.1 → v2.8.0) would pull a patched kin-openapi too, but it rewrites ~11k lines of generated output — that belongs in a dedicated generator-upgrade PR, not a security bump.

Verification

make check green end-to-end (all languages, drift, conformance, api-gaps).


Summary by cubic

Resolve CI security advisories by upgrading build-time deps postcss to 8.5.23 and github.com/getkin/kin-openapi to 0.144.0. No runtime impact; builds, tests, and codegen remain unchanged.

  • Dependencies
    • postcss: bump to 8.5.23 to address GHSA-r28c-9q8g-f849. Lockfile-only update via npm audit fix; audit now clean.
    • github.com/getkin/kin-openapi: bump to 0.144.0 to clear Trivy critical finding. Used only by the oapi-codegen tool; kept oapi-codegen at v2.7.1; generated client is byte-identical.