Skip to content

fix(security): run npm ci with --ignore-scripts#143

Open
jcchavezs wants to merge 1 commit into
auth0:mainfrom
jcchavezs:ci_ignore_scripts
Open

fix(security): run npm ci with --ignore-scripts#143
jcchavezs wants to merge 1 commit into
auth0:mainfrom
jcchavezs:ci_ignore_scripts

Conversation

@jcchavezs
Copy link
Copy Markdown

This would avoid malicious scripts in vulnerable packages to be executed on CI

@jcchavezs jcchavezs requested a review from a team as a code owner April 9, 2026 18:08
@kushalshit27
Copy link
Copy Markdown
Contributor

Hi, @jcchavezs ,
All commits should be signed. Please update the commit to make the PR merge-ready. Thanks

- name: Install dependencies
shell: bash
run: npm ci --include=dev
run: npm ci --ignore-scripts --include=dev
Copy link
Copy Markdown
Contributor

@kushalshit27 kushalshit27 Apr 13, 2026

Choose a reason for hiding this comment

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

Suggested change
run: npm ci --ignore-scripts --include=dev
run: npm i --ignore-scripts --include=dev

As the lock file has been removed.

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.

2 participants