Skip to content

memcache - chore: defense - set pnpm 7-day cooldown - #108

Merged
jaredwray merged 3 commits into
mainfrom
cursor/defense-pnpm-cooldown-2602
Aug 17, 2026
Merged

memcache - chore: defense - set pnpm 7-day cooldown#108
jaredwray merged 3 commits into
mainfrom
cursor/defense-pnpm-cooldown-2602

Conversation

@jaredwray

@jaredwray jaredwray commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Summary

Raise pnpm's new-version cooldown from 2 days to 7 and fail closed instead of falling back to a too-new release.

Status update

DEFENSE_IN_DEPTH.md: § 3 7-day cooldown → (PR #108 pending); § 2 Safe Chain → PR #107 (merged)

Changes

  • pnpm-workspace.yaml: minimumReleaseAge: 10080, minimumReleaseAgeStrict: true, minimumReleaseAgeIgnoreMissingTime: false
  • Pin wrangler from ^4.122.0 to ~4.120.1 (newest release older than 7 days; 4.122.0 and its workerd/miniflare tree were inside the window)
  • Reconcile Safe Chain after PR memcache - chore: defense - bootstrap Aikido Safe Chain #107

Existing allowBuilds entries are unchanged (lifecycle-script item is next).

Verification

  • pnpm install --frozen-lockfile — lockfile passes the 7-day supply-chain policy
  • Followed the Contributing and Code of Conduct guidelines

Reference

defense-in-depth-nodejs § 3

Open in Web Open in Cursor 

cursoragent and others added 3 commits August 17, 2026 23:24
Raise minimumReleaseAge from 2 days to 7 and fail closed on too-new
versions or missing publish-time metadata. Reconcile Safe Chain as
merged in PR #107.

Co-authored-by: Jared Wray <me@jaredwray.com>
Co-authored-by: Jared Wray <me@jaredwray.com>
wrangler 4.122.0 and its workerd/miniflare tree were published inside the
7-day cooldown. Pin to 4.120.1 so the lockfile satisfies the policy.

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

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedwrangler@​4.120.1981009296100

View full report

@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 (0fbd4e0) to head (f38dbb8).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #108   +/-   ##
=========================================
  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:29
@jaredwray
jaredwray merged commit 3121f16 into main Aug 17, 2026
15 checks passed
@jaredwray
jaredwray deleted the cursor/defense-pnpm-cooldown-2602 branch August 17, 2026 23:34
jaredwray added a commit that referenced this pull request Aug 17, 2026
* chore: defense - block pnpm dependency lifecycle scripts

Fail closed unless a package is on the allowBuilds list. Keep esbuild and
workerd as reviewed native-binary exceptions. Reconcile the 7-day cooldown
as merged in PR #108.

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

* chore: defense - record PR #109 on lifecycle-scripts checklist

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