Skip to content

memcache - chore: defense - freeze CI installs behind sfw - #111

Merged
jaredwray merged 3 commits into
mainfrom
cursor/defense-pnpm-frozen-lockfile-2602
Aug 18, 2026
Merged

memcache - chore: defense - freeze CI installs behind sfw#111
jaredwray merged 3 commits into
mainfrom
cursor/defense-pnpm-frozen-lockfile-2602

Conversation

@jaredwray

@jaredwray jaredwray commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Summary

Install Socket Firewall on every CI job and run sfw pnpm install --frozen-lockfile so dependency installs cannot bypass the wrapper.

Status update

DEFENSE_IN_DEPTH.md: § 3 frozen lockfile → (PR #111 pending); § 4 Socket Firewall → (PR #111 pending); blockExoticSubdeps → PR #110 (merged)

Changes

  • tests.yaml, code-coverage.yaml, release.yaml, deploy-site.yaml, codeql.yaml: SHA-pinned SocketDev/action (v1.3.2, firewall-version: 1.15.0) immediately after checkout
  • Every pnpm install is now sfw pnpm install --frozen-lockfile

Verification

  • Every CI pnpm install is sfw pnpm install --frozen-lockfile
  • Every workflow job installs Socket Firewall after checkout
  • Followed the Contributing and Code of Conduct guidelines

Reference

defense-in-depth-nodejs § 3 and § 4

Open in Web Open in Cursor 

cursoragent and others added 2 commits August 17, 2026 23:54
Fail CI if pnpm-lock.yaml would change. Reconcile blockExoticSubdeps as
merged in PR #110.

Co-authored-by: Jared Wray <me@jaredwray.com>
Co-authored-by: Jared Wray <me@jaredwray.com>
@codecov

codecov Bot commented Aug 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (56d201b) to head (8ef6cab).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #111   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines         1399      1399           
  Branches       308       303    -5     
=========================================
  Hits          1399      1399           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jaredwray
jaredwray marked this pull request as ready for review August 17, 2026 23:57
Install SHA-pinned SocketDev/action on every job and run
`sfw pnpm install --frozen-lockfile` so installs cannot bypass the wrapper.

Co-authored-by: Jared Wray <me@jaredwray.com>
@cursor cursor Bot changed the title memcache - chore: defense - freeze CI lockfile installs memcache - chore: defense - freeze CI installs behind sfw Aug 18, 2026
@jaredwray
jaredwray merged commit 8b4058b into main Aug 18, 2026
15 checks passed
@jaredwray
jaredwray deleted the cursor/defense-pnpm-frozen-lockfile-2602 branch August 18, 2026 00:10
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