Skip to content

fix: bump tsx to clear esbuild Self Scan failures#639

Merged
sonukapoor merged 1 commit into
OWASP:mainfrom
Ayush7614:ayush25
Jun 13, 2026
Merged

fix: bump tsx to clear esbuild Self Scan failures#639
sonukapoor merged 1 commit into
OWASP:mainfrom
Ayush7614:ayush25

Conversation

@Ayush7614

Copy link
Copy Markdown
Contributor

Summary

Fixes failing Self Scan / self-scan-action CI jobs caused by new high-severity OSV advisories on esbuild@0.27.4 (transitive via tsx@4.21.0).

Context

Recent advisories (GHSA-g7r4-m6w7-qqqr, GHSA-gv7w-rqvm-qjhr) cause --fail-on high to exit 1 when scanning the root package-lock.json. This affects open docs PRs (e.g. #594) even though they do not touch the root lockfile.

Fix

npm install tsx@4.22.0

Verified locally: node dist/index.js . --fail-on high → exit 0.

Test plan

  • Self Scan workflow passes on this PR
  • npm ci && npm run build unchanged

Made with Cursor

New OSV entries for esbuild@0.27.4 (via tsx) were failing CI jobs that
run cve-lite with --fail-on high against the root package-lock.json.

Co-authored-by: Cursor <cursoragent@cursor.com>

@sonukapoor sonukapoor left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Good catch and good call separating this into its own PR. Self-scan passing confirms the fix works.

@sonukapoor sonukapoor merged commit eb12362 into OWASP:main Jun 13, 2026
6 checks passed
@sonukapoor

Copy link
Copy Markdown
Collaborator

Merged - thank you @Ayush7614!

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