Skip to content

fix: resolve security alerts for GITHUB_TOKEN permissions and upgrade dependencies#48

Merged
VarshaRagavendran merged 3 commits into
mainfrom
v_fixes
Mar 3, 2026
Merged

fix: resolve security alerts for GITHUB_TOKEN permissions and upgrade dependencies#48
VarshaRagavendran merged 3 commits into
mainfrom
v_fixes

Conversation

@VarshaRagavendran
Copy link
Copy Markdown
Contributor

@VarshaRagavendran VarshaRagavendran commented Mar 3, 2026

  • Add permissions: {} to the package workflow to lock down the unused GITHUB_TOKEN. The workflow authenticates entirely via a GitHub App token , so GITHUB_TOKEN needs zero permissions.
  • Update fast-xml-parser override from 5.3.6 to >=5.3.8 to patch a stack overflow
    in XMLBuilder with preserveOrder: true .
  • Update undici override from 6.23.0 to >=6.23.0 so future patches are picked up
    automatically.

  - Add an empty `permissions: {}` block to the package workflow to restrict the default `GITHUB_TOKEN` to zero permissions
  - The workflow authenticates entirely via a GitHub App token (added in #43), so `GITHUB_TOKEN` is unused and should be locked down
  - Resolves code scanning alert #2 (actions/missing-workflow-permissions)
…ble transitive dependencies

  - Update `fast-xml-parser` override from `5.3.6` to `>=5.3.8` to patch a stack overflow
    in XMLBuilder with `preserveOrder: true` (resolves Dependabot alert #7). The AWS SDK's
    `@aws-sdk/xml-builder` still pins `fast-xml-parser` to `5.3.6` upstream, so the override
    remains necessary.
  - Update `undici` override from `6.23.0` to `>=6.23.0` so future patches are picked up
    automatically.
@VarshaRagavendran VarshaRagavendran requested a review from a team March 3, 2026 16:56
@VarshaRagavendran VarshaRagavendran changed the title fix: resolve security alerts for GITHUB_TOKEN permissions and vulnerable transitive dependencies fix: resolve security alerts for GITHUB_TOKEN permissions and upgrade dependencies Mar 3, 2026
@VarshaRagavendran VarshaRagavendran merged commit 7e9a1b3 into main Mar 3, 2026
6 checks passed
@VarshaRagavendran VarshaRagavendran deleted the v_fixes branch March 3, 2026 19:50
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.

2 participants