Skip to content

ci: add ignore-scripts to Node package manager config (20260527-153106)#483

Open
securityeng-bot[bot] wants to merge 2 commits into
masterfrom
sec-cli/ignore-scripts-fix-20260527-153106
Open

ci: add ignore-scripts to Node package manager config (20260527-153106)#483
securityeng-bot[bot] wants to merge 2 commits into
masterfrom
sec-cli/ignore-scripts-fix-20260527-153106

Conversation

@securityeng-bot
Copy link
Copy Markdown

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

What changed

Package managers detected: yarn

Created config files:

  • .yarnrc.yml

Dockerfiles updated (COPY added before install step):

  • 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