Skip to content

ci: add ignore-scripts to Node package manager config (20260527-154904)#254

Merged
rcjsuen merged 1 commit into
mainfrom
sec-cli/ignore-scripts-fix-20260527-154904
May 27, 2026
Merged

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

Conversation

@securityeng-bot
Copy link
Copy Markdown
Contributor

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

What changed

Package managers detected: npm

Created config files:

  • .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:

@rcjsuen rcjsuen merged commit 70dc4c7 into main May 27, 2026
10 of 12 checks passed
@rcjsuen rcjsuen deleted the sec-cli/ignore-scripts-fix-20260527-154904 branch May 27, 2026 17: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.

1 participant