Skip to content

fix: validate project chat request bodies before side effects - #283

Merged
willchen96 merged 1 commit into
Open-Legal-Products:mainfrom
snowyukitty:fix/project-chat-request-validation
Aug 4, 2026
Merged

fix: validate project chat request bodies before side effects#283
willchen96 merged 1 commit into
Open-Legal-Products:mainfrom
snowyukitty:fix/project-chat-request-validation

fix(chat): validate project chat requests

3f76761
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Aug 4, 2026 in 3s

No new alerts in code changed by this pull request

Annotations

Check failure on line 18 in backend/src/lib/llm/rawStreamLog.ts

See this annotation in the file changed.

Code scanning / CodeQL

Polynomial regular expression used on uncontrolled data High

This
regular expression
that depends on
a user-provided value
may run slow on strings with many repetitions of '-'.
This
regular expression
that depends on a user-provided value may run slow on strings with many repetitions of '-'.