Skip to content

Add hardened .npmrc for supply-chain security#16

Open
karanshah-browserstack wants to merge 1 commit into
mainfrom
supply-chain-npmrc
Open

Add hardened .npmrc for supply-chain security#16
karanshah-browserstack wants to merge 1 commit into
mainfrom
supply-chain-npmrc

Conversation

@karanshah-browserstack

Copy link
Copy Markdown
Collaborator

Adds a hardened .npmrc enforcing npm supply-chain best practices:

ignore-scripts=true
strict-ssl=true
save-exact=true
engine-strict=true
legacy-peer-deps=false
audit-level=high

Notes:

  • ignore-scripts=true skips Cypress's postinstall binary download. Cloud runs via browserstack-cypress are unaffected; for local Cypress runs, execute npx cypress install once after npm install.
  • Verified: npm ci against the committed package-lock.json on Node 16, 18, and 20 — lockfile unchanged; sample test run verified.

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@karanshah-browserstack karanshah-browserstack requested a review from a team as a code owner June 11, 2026 06:19
@Rohannagariya1

Copy link
Copy Markdown

Closing as not needed — synced with Shabbir (Security EM). The supply-chain .npmrc hardening flagged by the Enigma audit is not required for these repos; dropping per that decision.

@Rohannagariya1

Copy link
Copy Markdown

Closing as not needed — synced with Shabbir (Security EM): the supply-chain .npmrc hardening from the Enigma audit is being dropped for the open-source sample repos.

@Rohannagariya1

Copy link
Copy Markdown

@karanshah-browserstack please close this PR — synced with Shabbir (Security EM): the supply-chain .npmrc hardening from the Enigma audit is not needed for the open-source sample repos. (I don't have close permission on this repo, so flagging for you.)

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.

2 participants