memcache - chore: defense - block exotic pnpm subdeps - #110
Merged
Conversation
Reject git/file/link/tarball subdependencies so the tree can only come from the registry. Reconcile lifecycle-script blocking as merged in PR #109. Co-authored-by: Jared Wray <me@jaredwray.com>
Co-authored-by: Jared Wray <me@jaredwray.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #110 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 8 8
Lines 1399 1399
Branches 308 308
=========================================
Hits 1399 1399 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
jaredwray
marked this pull request as ready for review
August 17, 2026 23:51
3 tasks
jaredwray
added a commit
that referenced
this pull request
Aug 18, 2026
* chore: defense - install CI dependencies with a frozen lockfile Fail CI if pnpm-lock.yaml would change. Reconcile blockExoticSubdeps as merged in PR #110. Co-authored-by: Jared Wray <me@jaredwray.com> * chore: defense - record PR #111 on frozen-lockfile checklist Co-authored-by: Jared Wray <me@jaredwray.com> * chore: defense - wrap CI installs with Socket Firewall 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> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Block exotic pnpm subdependencies so transitive deps cannot come from git, file, link, or tarball sources.
Status update
DEFENSE_IN_DEPTH.md: § 3blockExoticSubdeps→ (PR #110 pending); lifecycle scripts → PR #109 (merged)Changes
pnpm-workspace.yaml:blockExoticSubdeps: trueVerification
pnpm install --frozen-lockfileReference
defense-in-depth-nodejs § 3