Skip to content

Bind registry audits to version tags - #165

Merged
Ismail-elkorchi merged 1 commit into
mainfrom
fix/version-tag-provenance
Jul 21, 2026
Merged

Bind registry audits to version tags#165
Ismail-elkorchi merged 1 commit into
mainfrom
fix/version-tag-provenance

Conversation

@Ismail-elkorchi

Copy link
Copy Markdown
Owner

Summary

  • verify npm provenance against the peeled commit of the manifest version tag
  • resolve the tag only when npm metadata exists, so unreleased version audits can still report absence
  • fetch complete history and tags in the scheduled release audit
  • add regression coverage that prohibits binding published provenance to current HEAD

Cause

A published package version is immutable, but main advances after release. Comparing npm provenance with checkout HEAD therefore rejects a correct package after the first post-release merge. The version tag is the stable source identity for that artifact.

Validation

  • live npm and JSR registry checks both report identical from post-release main
  • decoded npm SLSA provenance resolves to the peeled v0.2.0 commit
  • focused registry tooling tests
  • npm run check:fast
  • ESLint
  • actionlint
  • diff whitespace validation

@Ismail-elkorchi
Ismail-elkorchi merged commit 0c96174 into main Jul 21, 2026
10 checks passed
@Ismail-elkorchi
Ismail-elkorchi deleted the fix/version-tag-provenance branch July 21, 2026 23:00
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