10 Commits
Author SHA1 Message Date
ReSerendipity 9fd3c3da1b security(narrow): confine folder_path to input/, log_folder to user/, output_folder to output/
- _confine_to_base now uses dedicated base dirs (input/user/output) instead of ComfyUI root
- _strip_legacy_prefix keeps old input/... user/... output/... values working
- add tooltips to the three path widgets
- update defaults and README path-constraint section (v2.1.2)
- verified with test_path_confine.py (21/21) and test_smoke_narrowed.py
2026-09-02 09:16:58 +00:00
ReSerendipity e1791e322e security: confine user-supplied paths to ComfyUI root; localize node UI to English
Addresses maintainer review feedback on Comfy-Org/ComfyUI-Manager#3183.

Path traversal:
- Add _confine_to_base(), which resolves the real path (following symlinks)
  and verifies it stays inside the ComfyUI root directory. Applied to
  folder_path, log_folder and output_folder.
- Previously an absolute path was trusted verbatim and relative paths could
  escape via '..', allowing a graph to read arbitrary files and to write or
  delete .json files anywhere the server could reach.
- Log clearing now only removes JSON files previously written by this node
  (validated by the 'prompt_file' key) instead of every .json in the folder.

UI localization:
- Node display name and all widget labels are now English.
2026-09-02 08:46:18 +00:00
ReSerendipity 8e15cad4fc feat(v2.1): 实现外置日志记录功能 - 自动跳过已处理的提示词文件 2026-08-25 15:12:46 +00:00
ReSerendipity 284837c2d5 完整汉化所有参数标签 2026-08-23 15:28:49 +00:00
ReSerendipity 2c71982efc Revert: Remove broken Chinese labels to fix UNKNOWN parameter issue 2026-08-23 15:23:28 +00:00
ReSerendipity 362f9badd9 汉化节点参数名称 (中文用户友好) 2026-08-23 15:19:30 +00:00
ReSerendipity d00406411a v2.0: Add wildcard filter, skip-exists, metadata output, enhanced errors, preview 2026-08-23 15:11:27 +00:00
ReSerendipity 86127e4851 Add recursive and reverse_order switches for file scanning 2026-08-22 12:07:08 +00:00
ReSerendipity 9b209ff310 Add recursive folder scanning; remove unused web upload code 2026-08-21 12:03:46 +00:00
ReSerendipity 52fdf7553b Initial commit: BatchPromptLoader ComfyUI custom node - load and encode prompts from TXT files with fixed/increment/decrement/random modes 2026-08-21 11:57:11 +00:00