Skip to content

configDependencies env lockfile entries bypass supply-chain resolution checks #87

Closed
pnpm/pnpm
#16613

Description

@zkochan

Summary

pnpm's configDependencies env lockfile installation path accepts lockfile-supplied tarball resolution URLs without the protections added for packageManagerDependencies.

In verifyEnvLockfile (in both v11 and v12), packageManagerDependencies enforces package name and semver constraints, but configDependencies does not validate resolution types or tarball destinations with equal strictness.

Affected Components

  • pnpm11/lockfile/verification/src/
  • pnpm/crates/lockfile/
  • Env lockfile verification in both v11 and v12

Suggested Fix

Ensure configDependencies entries in env lockfiles are validated with the same supply-chain resolution checks applied to packageManagerDependencies.

Context

Originally reported in GHSA-mj2h-p5wf-3h3v by manus-pi.

Activity

  1. added
    area: config dependencies
    on Oct 5, 2026
  2. zkochan commented on Oct 5, 2026

    @zkochan
    MemberAuthor

    Opened pnpm/pnpm#16613 to address this task. Verifies locked configuration dependencies and their optional dependencies before installation or hook loading. Declared integrity pins remain bound to the declared version, and failed verification cannot load stale plugins.


    Written by an agent (Codex, GPT-6).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: config dependenciestype: bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions