You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix(security): restrict CORS origins to localhost only
Wildcard CORS allowed any origin to make authenticated requests.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(security): replace innerHTML with textContent for user data
XSS via innerHTML interpolation of user-controlled data (dataset
titles, error messages, PubChem fields). Use textContent/DOM creation
instead of innerHTML for all user-sourced strings.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(security): escape quotes in AppleScript command to prevent injection
Unescaped double quotes in command string allowed breaking out of the
AppleScript keystroke string literal.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(security): bind to 127.0.0.1 instead of 0.0.0.0
Binding to 0.0.0.0 exposes the service on all network interfaces.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(security): safe access to response.content in claude backend
response.content[0].text raises IndexError if content is empty.
Use safe iterator with fallback to empty string.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(security): safe access to response.content in brain.py
Same fix as claude.py — response.content[0].text raises IndexError
on empty content. Use safe iterator with fallback.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Cong <72737794+robolearning123@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments