Skip to content

ci: validate npm OIDC publisher identities - #22

Merged
routeplane-ops merged 1 commit into
mainfrom
ci/npm-oidc-audit
Aug 13, 2026
Merged

ci: validate npm OIDC publisher identities#22
routeplane-ops merged 1 commit into
mainfrom
ci/npm-oidc-audit

Conversation

@routeplane-ops

Copy link
Copy Markdown
Collaborator

Summary

Replace the token-based publisher audit with a direct OIDC exchange preflight for all three packages. The job prints the non-secret GitHub identity claims and npm response messages, then fails unless every package accepts the publisher identity.

Security

  • no checkout, package installation, or repository code execution
  • no npm credential or GitHub contents permission
  • OIDC token sent only to fixed GitHub/npm HTTPS endpoints
  • redirects disabled; success tokens are removed before output

Validation

  • actionlint .github/workflows/npm-trust-audit.yml
  • zizmor .github/workflows/npm-trust-audit.yml
  • git diff --check

@routeplane-ops
routeplane-ops merged commit 5970be4 into main Aug 13, 2026
1 check passed
@routeplane-ops
routeplane-ops deleted the ci/npm-oidc-audit branch August 13, 2026 17:44
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.

2 participants