pnpm

npm

Is pnpm safe to use?

The latest brin safety scan flagged pnpm v10.28.2 with risk indicators that warrant review. 5 known CVE vulnerabilities. Trust score: 75/100. Review the findings below before use. This is an automated assessment and may contain errors.

Install (safety-checked)

pnpm Has Warnings

Warnings detected due to potential concerns

warning
CVEs

5

Threats

0

Install Scripts

0

Risk Indicators

  • Can spawn child processes

pnpm CVE Vulnerabilities (5)

pnpm: Binary ZIP extraction allows arbitrary file write via path traversal (Zip Slip)

Fixed in: 10.28.1

pnpm has Windows-specific tarball Path Traversal

Fixed in: 10.28.1

pnpm scoped bin name Path Traversal allows arbitrary file creation outside node_modules/.bin

Fixed in: 10.28.1

brin Recommendations

  • This package has warnings detected. Evaluate the specific concerns before proceeding.

Install with brin add pnpm to automatically apply these checks before installation.

This is an automated, point-in-time assessment and may contain errors. Findings are risk indicators, not confirmed threats. Security posture may change over time. Maintainers can dispute findings via the brin review process.

pnpm Capabilities & Permissions

What pnpm can access when installed. Review these capabilities before using with AI agents like Cursor, Claude Code, or Codex.

Filesystem Access

Reads and writes to the filesystem.

.env (rw)node_modules (rw)package.json (rw)/usr/ (rw)/usr/ (rw)

Process Spawning

This package can spawn child processes.

Environment Variables

Accesses the following environment variables.

FORCE_COLORGRACEFUL_FS_PLATFORMNODE_DEBUGOSTYPETEST_GRACEFUL_FS_GLOBAL_PATCH

AGENTS.md for pnpm

Good instructions lead to good results. brin adds pnpm documentation to your AGENTS.md so your agent knows how to use it properly—improving both safety and performance.

brin init

Vercel's research: 100% accuracy with AGENTS.md vs 53% without →

pnpm Documentation & Source Code

For the full pnpm README, API documentation, and source code, visit the official package registry.

Frequently asked questions about pnpm safety

Weekly Downloads

46.2M

Version

10.28.2

License

MIT

Last Scanned

Feb 1, 2026

Trust Score

75/100·Legitimacy signals, not safety

CVEs (5)

CVE-2026-23888

pnpm: Binary ZIP extraction allows arbitrary file write via path traversal (Zip Slip)

Fixed in: 10.28.1

CVE-2026-23889

pnpm has Windows-specific tarball Path Traversal

Fixed in: 10.28.1

CVE-2026-23890

pnpm scoped bin name Path Traversal allows arbitrary file creation outside node_modules/.bin

Fixed in: 10.28.1

CVE-2026-24056

pnpm has symlink traversal in file:/git dependencies

Fixed in: 10.28.2

CVE-2026-24131

pnpm has Path Traversal via arbitrary file permission modification

Fixed in: 10.28.2

Capabilities

Filesystem

Reads & Writes files

Process

Spawns child processes

Environment

Accesses: FORCE_COLOR, GRACEFUL_FS_PLATFORM, NODE_DEBUG...