Skip to content

fix(security): add .npmrc with ignore-scripts=true#897

Merged
yogeshchoudhary147 merged 1 commit intomainfrom
fix/add-ignore-scripts-npmrc
Apr 10, 2026
Merged

fix(security): add .npmrc with ignore-scripts=true#897
yogeshchoudhary147 merged 1 commit intomainfrom
fix/add-ignore-scripts-npmrc

Conversation

@yogeshchoudhary147
Copy link
Copy Markdown
Contributor

This prevents malicious postinstall scripts from running during npm install, both in CI and locally.

Changes

  • Added .npmrc with ignore-scripts=true

@yogeshchoudhary147 yogeshchoudhary147 force-pushed the fix/add-ignore-scripts-npmrc branch from 894c8c8 to 5e3d9b1 Compare April 10, 2026 13:57
@yogeshchoudhary147 yogeshchoudhary147 merged commit 3d306ae into main Apr 10, 2026
9 checks passed
@yogeshchoudhary147 yogeshchoudhary147 deleted the fix/add-ignore-scripts-npmrc branch April 10, 2026 14:07
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