fix(deps): bump jsonparser v1.1.2 (CVE-2026-32285) — needs Bob deploy approval#121
Draft
garfieldstoun wants to merge 1 commit into
Draft
fix(deps): bump jsonparser v1.1.2 (CVE-2026-32285) — needs Bob deploy approval#121garfieldstoun wants to merge 1 commit into
garfieldstoun wants to merge 1 commit into
Conversation
Resolves the first finding from the Trivy gate (HIGH DoS via malformed JSON, fixed in v1.1.2) and removes the temporary .trivyignore entry added in #118. NOTE: this changes go.mod/go.sum -> deploy-backend.yml auto-deploys the backend to prod on merge to main. Merge only with Bob's prod-deploy approval.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR changes
go.mod/go.sum, whichdeploy-backend.ymlauto-deploys to prod (build → rsync to tw-mesh → atomic swap → restart). Per CLAUDE.md, prod deploys are Bob's call. Kept as draft so it isn't merged accidentally — mark ready + merge when you're ready to deploy.What
github.com/buger/jsonparserv1.1.1 → v1.1.2 (indirect dep) — fixes CVE-2026-32285 (HIGH, DoS via malformed JSON), which was the first finding from the new Trivy gate (ci: Trivy dependency scanning (scanner only — no deploy) #118).CVE-2026-32285entry from.trivyignore(the vuln is now actually fixed).Verification
go build ./...passes locally.Heads-up: suspected activation-gap in the deploy pipeline
Per the existing note on
deploy-backend.yml, there's a suspected bug where the pipeline stages the new binary + writes the deploy marker but the restart may boot the old binary (reports "deployed" while running stale code). Recommend confirming/api/v1/healthz/versionreturns this PR's SHA after merge.