Repository navigation
fix(security): resolve open code-scanning alerts - #5179
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 42 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5179 +/- ##
=======================================
Coverage 99.90% 99.90%
=======================================
Files 2898 2898
Lines 222590 222590
=======================================
Hits 222371 222371
Misses 219 219
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Resolves the open CodeQL alerts that need a code change. The rest are false positives, dismissed with a reason (listed below).
Fixed in code
py/stack-trace-exposure:services/voxtral-local/main.py,/v1/models/pull. Both the streaming and the non-streaming path returnedstr(e)to the client. The exception now goes to the server log vialogger.exception, and the client getsModel download failed. New regression testtest_model_pull_failure_hides_exception_text: it fails on both paths when the fix is reverted.actions/missing-workflow-permissions:type-check.ymlgetscontents: read.actions/missing-workflow-permissions:flutter-linux-release.ymlgetscontents: write, because it runsgh release create/upload.# codeql[...]inline comments intool/lotti_gym*.pyare removed. GitHub code scanning ignores them, so they only looked like suppressions. The explanatory comments above them stay.Dismissed as false positives
py/clear-text-{storage,logging}-sensitive-data(tool/lotti_gym*.py): CodeQL takes its taint source from functions named*_billing(). Those return per-request model-eval cost figures (EUR, credits, counts), not secrets or personal data.actions/cache-poisoning/poisonable-step(manual.yml): the screenshot job runs only on schedule, workflow_dispatch or a release tag, never onpull_request. It checks out a commit resolved from main or a release tag, and only maintainers can push or dispatch those.Checks
pytest tests/test_endpoints.py -k pullin voxtral-local: 4 passedpython3 -m unittestfor the gym billing, history and main tests: 75 OK