Skip to content

fix: exchange GitHub OIDC for npm publishing - #7

Merged
salim4n merged 1 commit into
mainfrom
fix/explicit-npm-oidc-exchange
Jul 14, 2026
Merged

fix: exchange GitHub OIDC for npm publishing#7
salim4n merged 1 commit into
mainfrom
fix/explicit-npm-oidc-exchange

Conversation

@salim4n

@salim4n salim4n commented Jul 14, 2026

Copy link
Copy Markdown
Member

Summary

  • exchange the GitHub Actions OIDC identity through npm's official package-token endpoint
  • validate the repository, workflow, environment, runner, visibility, subject, and audience claims
  • mask the ephemeral package-scoped token and remove its temporary npm configuration
  • keep npm provenance generation enabled

Source

  • private source commit: 763326ae6b5868711a24bb28f1afa21ae0b51b49
  • public commit is SSH-signed and GitHub-verified

Validation

  • public boundary validation
  • 118 SDK tests
  • TypeScript typecheck
  • ESM and CommonJS builds and smoke imports
  • dependency audit: no vulnerabilities
  • npm package dry-run

@salim4n
salim4n merged commit 4adbfcf into main Jul 14, 2026
1 check passed
@salim4n
salim4n deleted the fix/explicit-npm-oidc-exchange branch July 14, 2026 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant