Skip to content

security: enforce 7-day minimum package age for pnpm installs#1198

Open
lindyalchemy wants to merge 1 commit intomainfrom
security/pnpm-minimum-release-age
Open

security: enforce 7-day minimum package age for pnpm installs#1198
lindyalchemy wants to merge 1 commit intomainfrom
security/pnpm-minimum-release-age

Conversation

@lindyalchemy
Copy link
Copy Markdown

Summary

Sets minimumReleaseAge: 10080 (7 days) in pnpm-workspace.yaml to reduce supply chain attack risk.

This prevents pnpm from installing newly published package versions until they have been available for at least 7 days, giving the community time to identify and flag malicious releases.

Reference

🤖 Generated with Claude Code

@lindyalchemy lindyalchemy requested a review from a team as a code owner April 8, 2026 19:22
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

🔗 Preview Mode

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview Apr 8, 2026, 7:24 PM

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

🔍 Link Check

Status: ⏭️ Skipped (no content changes)

View workflow run

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e2bcbc28a7

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@@ -0,0 +1 @@
minimumReleaseAge: 10080
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Upgrade pnpm before enabling minimumReleaseAge

minimumReleaseAge is configured here, but this repo still runs pnpm 10.9.0 (package.json and .github/actions/setup-pnpm/action.yml both pin 10.9.0), while pnpm’s official settings docs mark minimumReleaseAge as “Added in: v10.16.0”. In current CI/local installs, this policy is therefore not actually enforced, so the commit creates a false sense of supply-chain protection until the pnpm version is bumped to one that supports the setting.

Useful? React with 👍 / 👎.

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