You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use exclusive file creation for chroot-hosts to address CWE-377
Use fs.openSync with O_CREAT|O_EXCL instead of copyFileSync/writeFileSync
to securely create the chroot-hosts temp file. This prevents symlink and
TOCTOU attacks flagged by CodeQL's js/insecure-temporary-file rule.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments