Skip to content

ci: add ignore-scripts to Node package manager config (20260527-155505)#72

Merged
vallieres merged 2 commits into
mainfrom
sec-cli/ignore-scripts-fix-20260527-155505
Jun 5, 2026
Merged

ci: add ignore-scripts to Node package manager config (20260527-155505)#72
vallieres merged 2 commits into
mainfrom
sec-cli/ignore-scripts-fix-20260527-155505

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:

@vallieres vallieres enabled auto-merge (rebase) June 4, 2026 16:34
Pins actions/checkout, actions/upload-artifact, actions/download-artifact,
actions/setup-node, and ncipollo/release-action to full commit SHAs in
ci.yml and release.yml to satisfy the repo's action allow-list policy.
@vallieres vallieres merged commit ff79eb6 into main Jun 5, 2026
10 checks passed
@vallieres vallieres deleted the sec-cli/ignore-scripts-fix-20260527-155505 branch June 5, 2026 13:25
Copy link
Copy Markdown

@vallieres vallieres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving security hardening PR. Fixed pre-existing unpinned actions CI failures in repo workflows (unrelated to this PR's .npmrc change).

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