Skip to content

fix(security): resolve open code-scanning alerts - #5179

Merged
matthiasn merged 1 commit into
mainfrom
fix/code-scanning-alerts
Nov 28, 2026
Merged

matthiasn merged 1 commit into
mainfrom
fix/code-scanning-alerts

Conversation

@matthiasn

Copy link
Copy Markdown
Owner

Resolves the open CodeQL alerts that need a code change. The rest are false positives, dismissed with a reason (listed below).

Fixed in code

  • No obvious way to confirm the creation of saga/story  #26 py/stack-trace-exposure: services/voxtral-local/main.py, /v1/models/pull. Both the streaming and the non-streaming path returned str(e) to the client. The exception now goes to the server log via logger.exception, and the client gets Model download failed. New regression test test_model_pull_failure_hides_exception_text: it fails on both paths when the fix is reverted.
  • Bump electron-updater from 4.2.0 to 4.2.4 #55 actions/missing-workflow-permissions: type-check.yml gets contents: read.
  • Bump screenshot-desktop from 1.10.0 to 1.12.0 #54 actions/missing-workflow-permissions: flutter-linux-release.yml gets contents: write, because it runs gh release create/upload.
  • The four # codeql[...] inline comments in tool/lotti_gym*.py are removed. GitHub code scanning ignores them, so they only looked like suppressions. The explanatory comments above them stay.

Dismissed as false positives

  • Bump screenshot-desktop from 1.10.0 to 1.11.0 #47–50 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.
  • Bump tweetnacl from 1.0.2 to 1.0.3 #40/41 actions/cache-poisoning/poisonable-step (manual.yml): the screenshot job runs only on schedule, workflow_dispatch or a release tag, never on pull_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 pull in voxtral-local: 4 passed
  • python3 -m unittest for the gym billing, history and main tests: 75 OK

@coderabbitai

coderabbitai Bot commented Nov 28, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c897c50d-f00c-4c24-9ae4-abfe7b9f59f2
Commits

Reviewing files that changed from the base of the PR and between 0360609 and 6a1a6ae.

Files selected for processing: 7

  • .github/workflows/flutter-linux-release.yml
  • .github/workflows/type-check.yml
  • services/voxtral-local/main.py
  • services/voxtral-local/tests/test_endpoints.py
  • tool/lotti_gym.py
  • tool/lotti_gym_billing.py
  • tool/lotti_gym_history.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T22:40:05.308550Z 6a1a6ae PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@codecov

codecov Bot commented Nov 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.90%. Comparing base (0360609) to head (6a1a6ae).

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           
Flag Coverage Δ
glados 14.43% <ø> (ø)
standard 99.80% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@matthiasn
matthiasn merged commit b15c039 into main Nov 28, 2026
41 checks passed
@matthiasn
matthiasn deleted the fix/code-scanning-alerts branch November 28, 2026 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant