fix(security): CVE and Scorecard alert remediation - #61
Merged
Merged
Conversation
Override remaining lockfile CVEs and tighten workflow token permissions so Scorecard TokenPermissions and PinnedDependencies alerts can close. Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Summary
node:22-alpineandpostgres:16-alpineto resolved registry digests; move GitHub token writes onto the jobs that need them.Closes Dependabot alerts:
Closes code-scanning alerts:
codeql.yml: defaultcontents: read;security-events: writeon the analyze job)release.yml: defaultcontents: read;packages: writeonly onpublish-docker)Dockerfilenode:22-alpine@sha256:c610fcdfb1d5b4740dd70c284ed3cb16bb857e0f7166196e36a5501df7a3aa32)Skipped (org/process Scorecard; not in-repo):
Already patched on main (no churn): next-auth 5.0.0-beta.32, @auth/core 0.41.3, js-yaml 4.3.2.
Test plan
scripts/harness/verify.sh— exit 0 (lint, typecheck, 12 files / 55 tests, boundaries, prisma validate, threat-model)Made with Cursor