Skip to content

Commit f84a829

Browse files
authored
chore(repo): verify attenstations (#1583)
Add section in README.md
1 parent 87b997b commit f84a829

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,31 @@ npx nx test <package-name> --coverage
161161
- **[Migration Guide](./docs/MIGRATION.md)** - Migrating to the monorepo structure
162162
- **[Security Policy](./docs/SECURITY.md)** - Security guidelines and reporting
163163

164+
## 🔐 Verifying provenance attestations
165+
166+
You can verify registry signatures and provenance attestations for installed packages using the npm CLI:
167+
168+
```bash
169+
npm audit signatures
170+
```
171+
172+
Quick example for a single package install:
173+
174+
```bash
175+
npm install @supabase/auth-js
176+
npm audit signatures
177+
```
178+
179+
Example output:
180+
181+
```text
182+
audited 1 package in 0s
183+
184+
1 package has a verified registry signature
185+
```
186+
187+
Because provenance attestations are a new capability, security features may evolve over time. Ensure you are using the latest npm CLI to verify attestation signatures reliably. This may require updating npm beyond the version bundled with Node.js.
188+
164189
## 🏛️ Architecture
165190

166191
### Monorepo Structure

0 commit comments

Comments
 (0)