* fix: add security check to createNewFile tool (CWE-22)
The createNewFile tool was missing the throwIfFileIsSecurityConcern()
check that readFile already has, allowing path traversal to write
sensitive file types (e.g. .env, SSH keys) via prompt injection.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: upgrade tar-fs to patch CVE-2024-12905 and CVE-2025-59343
core/vendor had tar-fs@2.1.2 (via prebuild-install) and tar-fs@3.0.8,
both in vulnerable ranges. npm audit fix upgraded them.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>