Repository navigation
fix(plugins/omi-twitter-chat-tools-app): escape HTML in OAuth callback error and username templates (#14881) - #14898
Conversation
|
/claim #14881 |
|
Thanks @kaleidoscopeAI — nice, focused security fix. I verified the changes end to end. plugins/omi-twitter-chat-tools-app/main.py
plugins/omi-twitter-chat-tools-app/test_twitter_html_escaping.py
.github/checks-manifest.yaml
Two non-blocking notes:
Since this modifies the OAuth callback and auth-page rendering, it needs maintainer sign-off before merge rather than an automated approval. 🤖 Automated review on behalf of the maintainers. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
…rams in OAuth flows (BasedHardware#14881)
057da42 to
85d2819
Compare
💳 Bounty Disbursement DetailsUpon review and merge, the bounty reward can be disbursed directly via:
Thank you! |
|
Hi @kodjima33 — flagging this one as merge-ready too. @Git-on-my-level verified the fix end-to-end (comment 15:50:54Z): "nice, focused security fix. I verified the changes end to end." PR is |
|
@kodjima33 — requesting maintainer review of this completed Twitter security fix. The current head has been independently verified, including the reflected-error/username escaping and uid URL-encoding coverage. Please review and merge if satisfied; #14882 is also open against the same issue, so a maintainer decision on which implementation lands would be useful. |
|
Hey @kaleidoscopeAI 👋 Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request. After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:
Before your next PR, please skim:
If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing. Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out. Thank you for being part of the Omi community! |
Summary
Resolves #14881.
In
plugins/omi-twitter-chat-tools-app/main.py:errorquery parameter intwitter_callbackOAuth error response.usernamein both the connected homepage (root) andtwitter_callbacksuccess page.uidviaurllib.parse.quote(..., safe="")in redirect and navigation links (/disconnect?uid=...,/?uid=...,/auth/twitter?uid=...).response.textand exception messages defensively against injection.Verification
plugins/omi-twitter-chat-tools-app/test_twitter_html_escaping.py:/disconnectredirect encodesuid.python3 plugins/omi-twitter-chat-tools-app/test_max_results.py(4/4 passed).twitter-chat-tools-escaping-testsin.github/checks-manifest.yaml.python3 .github/scripts/test_run_checks.py(53/53 passed)./claim #14881
Failure-Class: none