Skip to content
This repository was archived by the owner on Jun 5, 2026. It is now read-only.

Add supply-chain hardened .npmrc (PER-8331) - #703

Open
pranavz28 wants to merge 2 commits into
masterfrom
security/npmrc-hardening
Open

Add supply-chain hardened .npmrc (PER-8331)#703
pranavz28 wants to merge 2 commits into
masterfrom
security/npmrc-hardening

Conversation

@pranavz28

@pranavz28 pranavz28 commented Jun 3, 2026

Copy link
Copy Markdown

Supply-chain hardening: add .npmrc

Flagged by the weekly supply-chain .npmrc audit (PER-8331, parent SC-12282) with status missing_file.

Adds an .npmrc with the required hardening directives: ignore-scripts, strict-ssl, save-exact, audit-level=high, engine-strict, legacy-peer-deps=false. Public repo, so access=restricted is intentionally omitted (private-repo only).

⚠️ Reviewers: confirm CI npm install still passes — ignore-scripts/engine-strict/legacy-peer-deps can change install behavior.

Ref: Supply Chain Security Enhancements Tech Spec

@pranavz28
pranavz28 requested a review from a team as a code owner June 3, 2026 11:41
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@ninadbstack ninadbstack left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Supply-chain hardening .npmrc (npmrc_audit / SC-12282)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants