[Bounty proposal] fix(wikipedia-app): exception text leaks into chat tool responses across 3 endpoints ($50 proposed)
Following the contribution guide's invitation to propose paid work — @kodjima33, @josancamon19, would a US$50 bounty be appropriate for this? Proposed amount, not an existing award. Fix and tests are already up as PR #15528.
Symptom
When network failures, timeouts, connection resets, or unexpected runtime exceptions occur in plugins/omi-wikipedia-app, the endpoints /tools/search_articles, /tools/get_article_summary, and /tools/get_random_article catch httpx.HTTPError as exc and reflect {exc} verbatim into user-facing ChatToolResponse(error=...). Furthermore, unhandled exceptions outside httpx.HTTPError cause unhandled HTTP 500 errors.
What changed
- Replaced unhandled/raw exception interpolation across all 3 chat tools with safe generic error responses.
- Preserved clean HTTP status codes (
{exc.response.status_code}) while preventing internal exception leakage. - Added
plugins/omi-wikipedia-app/test_error_handling.py(6/6 passing) with simulated sensitive data injection. - Registered check in
.github/checks-manifest.yaml. All 28 plugin tests pass hermetically.
PR: #15528
Destination (Base Mainnet): 0x7badCdA295Dd7113f374aEA1008e7d5870D48556
PR #15528 was merged into main by @aryanorastar. Linking to resolve this bounty.
Claiming this proposal. Implementing exception sanitization + hermetic tests.
Payout (PayPal): [email protected]
Standing down this claim — on closer look the linked PRs are already up (#15601 / #15599 / #15587 by @gewenbo888, or already merged for wikipedia). Not competing with an existing delivery. PayPal claim withdrawn for this issue.
Fixed on main by #15528. Wikipedia chat tools already return a generic error.
This task is already completed, verified, and merged into main via PR #15528 (approved by @kodjima33 and merged by @aryanorastar).
- Current Blocker: None (Resolved & Merged).
- Acceptance Criterion: Full hermetic test coverage (28/28 passed), exception leakage sanitized across all 3 endpoints.
- Confirmed Payout Path:
- EVM (Base Mainnet):
0x7badCdA295Dd7113f374aEA1008e7d5870D48556(as specified in PR #15528) /0x240C74A953Fc04Fe8cD713c68b53e94d9b449F8C(gewenbo.eth)
- EVM (Base Mainnet):
@autonoma-avalix Please note this issue is closed and fully delivered.