chore: harden dependency supply chain and add security policy - #263
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Security hardening for the pnpm-based SDK workspace by documenting vulnerability disclosure and tightening dependency/script policies.
Changes:
- Added a
SECURITY.mddescribing DFINITY’s vulnerability disclosure process and bug bounty reference. - Introduced pnpm dependency-update gating with
minimumReleaseAge. - Added install-script restrictions via pnpm configuration and an
.npmrcsetting.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
pnpm-workspace.yaml |
Adds minimumReleaseAge to delay adoption of recently released dependency versions. |
package.json |
Adds pnpm.onlyBuiltDependencies configuration intended to restrict lifecycle scripts. |
SECURITY.md |
Introduces a security policy and reporting instructions. |
.npmrc |
Disables lifecycle scripts globally with ignore-scripts=true. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 7 changed files in this pull request and generated 3 comments.
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
viviveevee
approved these changes
Apr 14, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Apr 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ignore-scripts=trueto.npmrcto block all third-party lifecycle scripts duringpnpm installSECURITY.mdwith DFINITY's vulnerability disclosure policy and bug bounty referenceminimumReleaseAge: 10080topnpm-workspace.yamlto ignore dependency updates released less than 7 days ago.setupscript and CI step (pnpm run setup) to run the postinstall stepspnpm.overridesSDK-2664