Skip to content

fix(server): bound provider usage profile errors - #430

Merged
Codename-11 merged 1 commit into
devfrom
release/coordinated-2026-08-25
Aug 25, 2026
Merged

fix(server): bound provider usage profile errors#430
Codename-11 merged 1 commit into
devfrom
release/coordinated-2026-08-25

Conversation

@Codename-11

Copy link
Copy Markdown
Owner

Summary

Return one fixed public error for invalid provider-usage profile selectors instead of serializing an exception message across the HTTP boundary.

Security validation

The selector is regex-gated and the current ValueError messages are constants, so the CodeQL finding did not expose a stack trace in the observed implementation. This patch removes the brittle exception-string sink entirely and proves malicious profile text is not reflected.

Test Plan

  • Provider usage suite: 13 passed
  • python -m py_compile plugin/relay/server.py

Release note

This changes the frozen release tree. Android Play preflight will be rerun after merge. PR #419 remains excluded.

@Codename-11
Codename-11 merged commit e791c64 into dev Aug 25, 2026
10 checks passed
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