chore(security): resolve flagged Scorecard + Dependabot alerts#591
Merged
Conversation
- graph-ui: bump vite ^6.4.2 -> ^6.4.3 and add overrides pinning the transitive form-data >=4.0.6 and @babel/core >=7.29.6 (all dev-scope build/test deps, not shipped in the binary). Clears the 4 open Dependabot alerts and Scorecard's VulnerabilitiesID. `npm audit` now reports 0 vulnerabilities. - codeql.yml: move `security-events: write` from the workflow top level to the `analyze` job (top level is now `contents: read`), resolving Scorecard's TokenPermissionsID least-privilege finding. CodeQL still uploads results from the job-scoped token. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.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.
What does this PR do?
Resolves the open items in the repo's Security & quality views — 4 Dependabot alerts + 2 OpenSSF Scorecard code-scanning alerts.
Dependabot (graph-ui dev dependencies)
All four are
development-scope build/test deps (not shipped in the binary):vite^6.4.2 → ^6.4.3 (fixesserver.fs.denybypass + launch-editor NTLM disclosure)form-data→ >=4.0.6 viaoverrides(CRLF injection)@babel/core→ >=7.29.6 viaoverrides(sourceMappingURL arbitrary file read)package-lock.jsonregenerated; resolved to vite@6.4.3, form-data@4.0.6, @babel/core@7.29.7.npm audit: 0 vulnerabilities. This also clears Scorecard'sVulnerabilitiesID.Scorecard
TokenPermissionsID(codeql.yml)security-events: writewas granted at the workflow top level. Moved it to theanalyzejob (top level is nowcontents: read), so the default token is least-privilege. CodeQL still uploads results from the job-scoped permission.No production C code changes; no behavior change.