-
Notifications
You must be signed in to change notification settings - Fork 2
fix(security): avoid rendering raw error messages in UI; enforce via ESLint #224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
73junito
wants to merge
98
commits into
main
Choose a base branch
from
chore/storybook-pnpm-retry
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ystems-ase-a5 humanized
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…in permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
- Add test for skipping modules with contentStatus="humanized" - Add test for error handling when call_ollama raises exceptions - Add test for streaming mode with TTFT capture - Add test for modules.json dict format with 'modules' key - Add test for modules.json plain array format - Fix existing test to meet quality guard requirements Co-authored-by: 73junito <86015877+73junito@users.noreply.github.com>
Co-authored-by: 73junito <86015877+73junito@users.noreply.github.com>
Co-authored-by: 73junito <86015877+73junito@users.noreply.github.com>
Fix critical control flow error in orchestrate_content.py retry logic
Fix corrupted orchestrate_content.py: restore missing functions
Fix syntax error in orchestrate_content.py from bad merge
Fix corrupted orchestrate_content.py structure and missing process_module function
…rator/validator to satisfy CI tests
…install and PYTHONPATH
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Short summary
err.message/error.messagewith static user-facing messages, log full errors server-side, and enforce the rule via ESLint.Security
err.messagein UI can leak internal details and is a future XSS footgun (e.g., if codepaths later introducedangerouslySetInnerHTMLor non-JSX rendering contexts).err.messagewith safe static messages and addedconsole.error(err)so full details remain in logs/monitoring.frontend/web/src/app/login/page.tsxfrontend/web/src/app/register/page.tsxfrontend/web/src/app/courses/page.tsxeslint.config.js(newno-restricted-propertiesrule scoped tofrontend/web)err.message/error.messageusage in the web UI; CI lint will catch regressions.Testing & notes
One-line changelog (optional)
Audit note (optional)