Skip to content

[codex] migrate to pnpm security defaults#1512

Open
svarlamov wants to merge 1 commit into
mainfrom
codex/pnpm-strict-security-20260606
Open

[codex] migrate to pnpm security defaults#1512
svarlamov wants to merge 1 commit into
mainfrom
codex/pnpm-strict-security-20260606

Conversation

@svarlamov

Copy link
Copy Markdown
Member

Summary

  • migrate VS Code and OpenCode package workspaces from npm lockfiles to a pnpm 11.5.2 workspace lock
  • add strict pnpm supply-chain security policy: one-week minimum package age, exact current-version age exceptions where existing selected packages were newer than the gate, strict lockfile policy checks, trust downgrade protection, exotic dependency blocking, strict peer/engine checks, and explicit build-script allowlists
  • update GitHub Actions, release flows, global registry tooling, and docs to use pnpm

Why

This hardens dependency installation against common supply-chain risks: freshly published malicious packages, lockfile-only trust drift, unreviewed install scripts, npm/yarn fallback, and undeclared package-manager drift.

Validation

  • pnpm install --frozen-lockfile
  • pnpm install --frozen-lockfile --config.node-version=20.18.1
  • (agent-support/opencode) pnpm install --frozen-lockfile && pnpm run type-check
  • (agent-support/vscode) pnpm install --frozen-lockfile && pnpm run compile && pnpm run lint

@svarlamov
svarlamov marked this pull request as ready for review June 6, 2026 16:21
devin-ai-integration[bot]

This comment was marked as resolved.

@svarlamov
svarlamov force-pushed the codex/pnpm-strict-security-20260606 branch from fb45db7 to 798086f Compare June 6, 2026 19:10
devin-ai-integration[bot]

This comment was marked as resolved.

@svarlamov
svarlamov force-pushed the codex/pnpm-strict-security-20260606 branch from 798086f to c4cd017 Compare June 6, 2026 19:23
@svarlamov
svarlamov force-pushed the codex/pnpm-strict-security-20260606 branch from c4cd017 to 6a4f8a1 Compare June 8, 2026 19:38
@svarlamov
svarlamov requested a review from acunniffe as a code owner June 24, 2026 13:36
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