Skip to content

audit: bind signature verification to lockfile integrity instead of current registry metadata #104

Closed
pnpm/pnpm
#16613

Description

@zkochan

Summary

The pnpm audit signatures command previously fell back to current registry metadata when a lockfile entry omitted an integrity hash.

This could result in verifying signatures against registry metadata for artifacts different from the ones actually selected or resolved in the lockfile.

Affected Components

  • pnpm audit signatures implementation

Suggested Fix

Bind signature verification directly to the lockfile-selected package artifact integrity.
(Covered in security batch commit a93449314f398cf4bdf2e28d033c02d37395ad22 in pnpm/pnpm-ghsa-j2hc-m6cf-6jm8).

Context

Originally reported in GHSA-h2q2-q36p-hw9j (CAND-PNPM-032) by mldangelo-oai.

Activity

  1. added
    area: supply chain security
    on Oct 5, 2026
  2. zkochan commented on Oct 5, 2026

    @zkochan
    MemberAuthor

    Opened pnpm/pnpm#16613 to address this task. Verifies registry signatures against the integrity recorded for the selected lockfile artifact. Missing lockfile integrity is reported as invalid, and differing artifacts across lockfile documents are checked independently.


    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: supply chain securitytype: bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions