Skip to content

Add supply-chain hardened .npmrc (PER-8378)#18

Merged
ninadbstack merged 2 commits into
mainfrom
security/npmrc-hardening
Jun 4, 2026
Merged

Add supply-chain hardened .npmrc (PER-8378)#18
ninadbstack merged 2 commits into
mainfrom
security/npmrc-hardening

Conversation

@pranavz28
Copy link
Copy Markdown
Contributor

@pranavz28 pranavz28 commented Jun 3, 2026

Supply-chain hardening: add .npmrc

Flagged by the weekly supply-chain .npmrc audit (PER-8378, 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 12:32
Copy link
Copy Markdown
Contributor

@ninadbstack ninadbstack left a comment

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)

@ninadbstack ninadbstack merged commit b31346a into main Jun 4, 2026
6 checks passed
@ninadbstack ninadbstack deleted the security/npmrc-hardening branch June 4, 2026 13:50
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