Skip to content

harden: this pnpm workspace configuration does not set ... in... - #1052

Closed
anupamme wants to merge 1 commit into
nodejs:mainfrom
anupamme:fix-repo-doc-kit-pnpm-minimum-release-age
Closed

harden: this pnpm workspace configuration does not set ... in...#1052
anupamme wants to merge 1 commit into
nodejs:mainfrom
anupamme:fix-repo-doc-kit-pnpm-minimum-release-age

Conversation

@anupamme

Copy link
Copy Markdown

Summary

Harden input handling in pnpm-workspace.yaml (flagged by semgrep).

Vulnerability

Field Value
ID package_managers.pnpm.pnpm-missing-minimum-release-age.pnpm-minimum-release-age
Severity HIGH
Scanner semgrep
Rule package_managers.pnpm.pnpm-missing-minimum-release-age.pnpm-minimum-release-age
File pnpm-workspace.yaml:1
Assessment Defensive hardening

Description: This pnpm workspace configuration does not set a minimum release age. Newly published packages can be malicious or unstable. Add minimumReleaseAge: 10080 (minutes) to wait at least seven days before installing newly published package versions. Added in: v10.16.0 Reference: https://pnpm.io/settings#minimumreleaseage

Threat Model Context

This is a private Node.js application (not published to npm). Vulnerabilities affect this application's own runtime only.

Changes

  • pnpm-workspace.yaml

Behavior Preservation

The change is scoped to 1 file on the vulnerable path; it only tightens handling of untrusted input and leaves valid inputs unaffected.


This patch removes an exploit primitive — a code pattern that, while not independently exploitable today, could be chained with other weaknesses by automated exploit-development tooling. Proactive removal of such primitives raises the bar against increasingly capable automated attack tools.


Automated security fix by OrbisAI Security

…mum-release-age security vulnerability

Automated security fix generated by OrbisAI Security

Signed-off-by: anupamme <mediratta@gmail.com>
@anupamme
anupamme requested a review from a team as a code owner August 25, 2026 04:26
@vercel

vercel Bot commented Aug 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
api-docs-tooling Error Error Aug 25, 2026 4:26am

Request Review

@avivkeller

Copy link
Copy Markdown
Member

Please follow our AI Policy to avoid spam like this

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