Skip to content

ci: add ignore-scripts to Node package manager config (20260527-153815)#73

Open
securityeng-bot[bot] wants to merge 3 commits into
mainfrom
sec-cli/ignore-scripts-fix-20260527-153815
Open

ci: add ignore-scripts to Node package manager config (20260527-153815)#73
securityeng-bot[bot] wants to merge 3 commits into
mainfrom
sec-cli/ignore-scripts-fix-20260527-153815

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

Created config files:

  • .npmrc

Dockerfiles updated (COPY added before install step):

  • app/Dockerfile

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:

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.

0 participants