Skip to content

ci: add ignore-scripts to Node package manager config (20260527-154739)#3

Merged
vallieres merged 1 commit into
mainfrom
sec-cli/ignore-scripts-fix-20260527-154739
Jun 4, 2026
Merged

ci: add ignore-scripts to Node package manager config (20260527-154739)#3
vallieres merged 1 commit into
mainfrom
sec-cli/ignore-scripts-fix-20260527-154739

Conversation

@securityeng-bot

Copy link
Copy Markdown

This PR was generated by sec-cli github repositories ignore-scripts update.

What changed

Package managers detected: npm

Updated config files (directive appended):

  • .npmrc

Why

Running npm install (or yarn, pnpm, bun, npx) without restricting
postinstall scripts allows dependency lifecycle hooks to execute arbitrary code
during installation. Setting ignore-scripts=true (or the equivalent for your
package manager) mitigates this risk.

References:

@vallieres vallieres merged commit deda2db into main Jun 4, 2026
1 of 2 checks passed
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.

1 participant