-
Notifications
You must be signed in to change notification settings - Fork 9
SDK-7085 chore(security): add supply-chain hardening .npmrc #153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
pri-gadhiya
wants to merge
6
commits into
main
Choose a base branch
from
security/WI-bd57c06c
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+29
−0
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
0b1bf28
chore(security): add supply-chain hardening .npmrc
pri-gadhiya a4b8685
chore(changeset): auto-generate from PR template (patch)
github-actions[bot] 4883a59
chore(security): add min-release-age cooldown; drop auto changeset
pri-gadhiya 8bffac2
Merge branch 'main' into security/WI-bd57c06c
pri-gadhiya ead57b0
chore(security): suppress npm-missing-minimum-release-age false posit…
pri-gadhiya 013f168
Merge branch 'main' into security/WI-bd57c06c
pri-gadhiya File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # nosemgrep: package_managers.npm.npm-missing-minimum-release-age | ||
| # | ||
| # min-release-age is intentionally not set. The rule wants a 7-day cooldown | ||
| # before resolving newly published versions, but @wdio/browserstack-service ships | ||
| # reactive WDIO ops fixes that cannot wait out a release-age window. This is a | ||
| # false positive for this repo; suppressed per Security Ops book section 6.8 | ||
| # (Fix Semgrep False Positive in SCA). Ref: SDK-7085. | ||
| # | ||
| # Supply-chain hardening directives for npm installs in this repository. | ||
| # | ||
| # access=restricted is intentionally omitted: @wdio/browserstack-service is a | ||
| # public npm package, so publishes must default to public access. | ||
| # | ||
| # ignore-scripts=true is intentionally deferred. The build runs `buf generate` | ||
| # and esbuild, both of which fetch platform binaries via npm lifecycle | ||
| # (postinstall) scripts; enabling ignore-scripts here leaves those binaries | ||
| # unprovisioned and breaks `npm run build` in CI. Re-enable once CI provisions | ||
| # the buf/esbuild binaries explicitly (an npm rebuild or a pinned install step). | ||
| # | ||
| # engine-strict=true is intentionally deferred. engines.node is ">=18.20.0" but | ||
| # transitive dev deps frequently target newer Node, so strict enforcement raises | ||
| # spurious EBADENGINE failures across the multi-Node CI matrix. Re-enable once CI | ||
| # standardises on a single LTS that satisfies all transitive engine fields. | ||
|
|
||
| strict-ssl=true | ||
| save-exact=true | ||
| audit-level=high | ||
|
|
||
| legacy-peer-deps=false | ||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.