Skip to content

ci(release): move npm publishing to trusted publishing and scope workflow permissions #161

Open

Description

@Bccorb

.github/workflows/release.yml:66 publishes with a long-lived NPM_TOKEN, and grants workflow-wide write permissions to the lint, test and build jobs.

  • Configure the npm trusted publisher and publish with id-token: write and --provenance.
  • Delete the NPM_TOKEN secret.
  • Set permissions: contents: read at the workflow level and grant write only to the publish job.

Same change in seamless-auth-oidc-provider and seamless-auth-messaging. Related: fells-code/seamless-auth-api#438.

Source

Internal security review of 2026-11-09 (L-OPS-2), read at 6fbb9cd. Found by reading code; nothing was executed. Status: Reported.

Activity

  1. added this to the v0.24 milestone on Nov 10, 2026
  2. added
    P2Soon
    secureServes the most-secure promise
    v0.24Release v0.24: security release and stabilization
    on Nov 10, 2026
  3. Bccorb commented on Nov 10, 2026

    @Bccorb
    ContributorAuthor
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

    P2SoonsecureServes the most-secure promisev0.24Release v0.24: security release and stabilization

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions