Skip to content

Harden dependency installs#128

Merged
kvz merged 2 commits into
mainfrom
install-safety
May 12, 2026
Merged

Harden dependency installs#128
kvz merged 2 commits into
mainfrom
install-safety

Conversation

@kvz
Copy link
Copy Markdown
Member

@kvz kvz commented May 12, 2026

Why

Recent npm supply-chain compromises showed that dependency installs and shared CI caches can execute or preserve newly published malicious packages before advisories catch up. This PR reduces that exposure for this repo.

What changed

  • Upgraded Yarn to 4.12.0, added the minimal age gate, made CI installs immutable, and removed dependency caching from the release workflow.

Validation

  • Ran git diff --check across the prepared worktree.
  • Audited this PR set for pull_request_target and release/deploy/CDN cache reuse; patched actionable hits.
  • Did not run the full test suite; this is a workflow/config-only change.

@kvz kvz self-assigned this May 12, 2026
@kvz kvz requested review from tim-kos May 12, 2026 10:16
@kvz kvz merged commit f6541b1 into main May 12, 2026
1 check passed
@kvz kvz deleted the install-safety branch May 12, 2026 12:13
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