opencode
|
7680fea98e
|
fix: prevent path traversal in file operations (issue #2, #4)
- Add _validate_path() using os.path.realpath() to resolve symlinks
- Enforce working directory chroot (CLOVER_PROJECT_ROOT env var)
- All file ops (read, create, update, delete, list) now validated
- Block access to files outside project directory
|
2026-07-05 07:01:13 +00:00 |
|