Skip to content

chore(security): resolve flagged Scorecard + Dependabot alerts#591

Merged
DeusData merged 1 commit into
mainfrom
fix/security-alerts
Jun 23, 2026
Merged

chore(security): resolve flagged Scorecard + Dependabot alerts#591
DeusData merged 1 commit into
mainfrom
fix/security-alerts

Conversation

@DeusData

Copy link
Copy Markdown
Owner

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 (fixes server.fs.deny bypass + launch-editor NTLM disclosure)
  • form-data>=4.0.6 via overrides (CRLF injection)
  • @babel/core>=7.29.6 via overrides (sourceMappingURL arbitrary file read)

package-lock.json regenerated; resolved to vite@6.4.3, form-data@4.0.6, @babel/core@7.29.7. npm audit: 0 vulnerabilities. This also clears Scorecard's VulnerabilitiesID.

Scorecard TokenPermissionsID (codeql.yml)

security-events: write was granted at the workflow top level. Moved it to the analyze job (top level is now contents: 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.

- 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>
@DeusData DeusData merged commit 5352d52 into main Jun 23, 2026
13 checks passed
@DeusData DeusData deleted the fix/security-alerts branch June 23, 2026 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant