continue-custom/core/vendor
Nate Sesti faca87bbc8
fix: add security check to createNewFile tool (CWE-22) (#11238)
* 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>
2026-03-09 12:27:47 -07:00
..
modules fix: upgrade @huggingface/jinja from 0.1.3 to 0.5.3 2026-01-24 07:46:52 +00:00
.gitignore Updated @openapitools/openapi-generator-cli /binary/axios /core/vendor/tar-fs and added nodemodules gitignore in core/vendors 2025-05-20 13:32:22 -04:00
package-lock.json fix: add security check to createNewFile tool (CWE-22) (#11238) 2026-03-09 12:27:47 -07:00
package.json Update Node.js LTS to v20.19.0 2025-04-22 02:01:03 +08:00
README.md Nate/atwoods law (#753) 2024-01-16 00:33:02 -08:00
tree-sitter.wasm ✅ checkpoint with web-tree-sitter working 2024-02-29 09:45:35 -05:00

Vendored node_modules

  • transformers.js: to avoid the sharp dependency, which isn't used and has native dependencies