Skip to content

[P2][ci] Pin JSR publish CLI to exact version #24

Description

@cevheri

Summary

JSR publish job runs npx --yes jsr publish without pinning the CLI version. A publish-capable OIDC token is exposed to whatever @latest resolves to at run time — supply-chain risk.

Audit ID: Section 2 Med — Wave 2
Note: npm provenance tracked separately in #7.

Root cause

.github/workflows/publish.yml:84:

- run: npx --yes jsr publish

Fix

Pin exact version, e.g.:

- run: npx --yes jsr@0.13.4 publish

Look up current jsr CLI version in lockfile or npm registry at implementation time; document bump process in workflow comment.

Acceptance criteria

  • JSR CLI version pinned in publish.yml.
  • Workflow comment explains how to bump.
  • No changeset (CI only).

Verification

  • Dry-run or review workflow syntax; full verify on next release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions