beadboard/src
openhands 05357580ae Fix path traversal validation and mutation sanitization
- Fix isValidProjectRoot() in 4 API routes to properly prevent path traversal
  by using path.relative() to ensure paths stay within allowed base directory
  (replaces ineffective normalized.includes('..') check)

- Fix readiness-report.mjs to remove misleading path traversal validation
  that was ineffective after path.resolve() removes '..' segments

- Fix asNonEmptyString() in mutations.ts to only remove control characters
  while preserving backslashes (for Windows paths) and punctuation (for user text)

These changes address security review comments about ineffective path traversal
checks and mutation input corruption.
2026-02-14 17:57:12 +00:00
..
app Fix path traversal validation and mutation sanitization 2026-02-14 17:57:12 +00:00
components fix: address PR bot review comments 2026-02-14 09:34:10 +00:00
hooks fix: remove noisy console logs from useBeadsSubscription hook 2026-02-14 09:43:31 +00:00
lib Fix path traversal validation and mutation sanitization 2026-02-14 17:57:12 +00:00