Skip to content

chore(security): replace CRA toolchain and pin actions - #40

Merged
sebin-gg merged 1 commit into
mainfrom
fix/security-alerts-actions-policy
Oct 24, 2026
Merged

sebin-gg merged 1 commit into
mainfrom
fix/security-alerts-actions-policy

Conversation

@sebin-gg

Copy link
Copy Markdown
Contributor

Summary

  • Replace the vulnerable Create React App toolchain with Vite and Vitest; this removes the full react-scripts dependency tree and leaves npm audit clean.
  • Pin every GitHub Action to an immutable commit, limit this repository to the four actions it uses, require SHA pinning, and keep the default workflow token read-only.
  • Preserve the existing Dependabot check gate while queueing merges through GitHub auto-merge.

Verification

  • sfw npm test — 1 test passed.
  • sfw npm run build — passed.
  • sfw npm audit --audit-level=low — 0 vulnerabilities.
  • Vite preview smoke check — HTML and production JS both returned HTTP 200.
  • actionlint and git diff --check — passed.

@sebin-gg
sebin-gg merged commit cde4d1d into main Oct 24, 2026
2 checks passed
@sebin-gg
sebin-gg deleted the fix/security-alerts-actions-policy branch October 24, 2026 05:33
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