Skip to content

memcache - chore: defense - block exotic pnpm subdeps - #110

Merged
jaredwray merged 2 commits into
mainfrom
cursor/defense-pnpm-block-exotic-subdeps-2602
Aug 17, 2026
Merged

memcache - chore: defense - block exotic pnpm subdeps#110
jaredwray merged 2 commits into
mainfrom
cursor/defense-pnpm-block-exotic-subdeps-2602

Conversation

@jaredwray

@jaredwray jaredwray commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Summary

Block exotic pnpm subdependencies so transitive deps cannot come from git, file, link, or tarball sources.

Status update

DEFENSE_IN_DEPTH.md: § 3 blockExoticSubdeps → (PR #110 pending); lifecycle scripts → PR #109 (merged)

Changes

Verification

Reference

defense-in-depth-nodejs § 3

Open in Web Open in Cursor 

cursoragent and others added 2 commits August 17, 2026 23:46
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

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 (367c832) to head (993a990).

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.
📢 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:51
@jaredwray
jaredwray merged commit 56d201b into main Aug 17, 2026
15 checks passed
@jaredwray
jaredwray deleted the cursor/defense-pnpm-block-exotic-subdeps-2602 branch August 17, 2026 23:53
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>
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