feat: add npm provenance statements for enhanced supply chain security#5014
feat: add npm provenance statements for enhanced supply chain security#5014
Conversation
- Add publishConfig.provenance: true to all 25 publishable packages - Update GitHub Actions workflows with required permissions: - attestations: write for artifact attestations - id-token: write for OIDC token generation (Sigstore signing) - Enable SLSA-compliant cryptographic proof of package build origin - Enhance supply chain security with verifiable build attestations Affects: All @reown/appkit packages and adapters Testing: Verified with successful pnpm typecheck and build 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
10 Skipped Deployments
|
There was a problem hiding this comment.
Pull Request Overview
This PR implements npm provenance statements across all publishable packages in the AppKit monorepo to enhance supply chain security by adding cryptographic proof that packages were built from this specific GitHub repository.
- Adds
publishConfig.provenance: trueto 25 package.json files for all publishable packages - Updates GitHub Actions workflows with required permissions for provenance generation
- Provides SLSA-compliant attestations using Sigstore signatures without breaking existing workflows
Reviewed Changes
Copilot reviewed 27 out of 27 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/*/package.json | Added provenance configuration to 25 publishable packages |
| .github/workflows/release-publish.yml | Added attestations write permission for provenance |
| .github/workflows/publish-prerelease.yml | Added attestations write permission for provenance |
| .github/workflows/release-canary.yml | Added full permissions block with id-token and attestations write |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
Coverage Report
File CoverageNo changed files found. |
Summary
This PR implements npm provenance statements across all publishable packages in the AppKit monorepo to enhance supply chain security.
Changes Made
✅ 25 package.json files updated with
publishConfig.provenance: true/packages/directory (19 packages)/packages/adapters/(5 packages)@reown/appkitpackage✅ 3 GitHub Actions workflows updated with required permissions:
release-publish.yml- Addedattestations: writepublish-prerelease.yml- Addedattestations: writerelease-canary.yml- Added full permissions block withid-token: writeandattestations: writeSecurity Benefits
Technical Details
Test Plan
pnpm typecheckpnpm buildWhat happens next
When packages are published via GitHub Actions, they will automatically include provenance statements that show exactly where and how they were built, enhancing trust and security for all AppKit consumers.