[Bounty proposal] fix(arxiv-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 #15587.
Product impact
• Primary loop layer: Security [✓] Involves data loss, failed capture, or broken sync/trust
Symptom
plugins/omi-arxiv-app returns raw exception strings (str(e)) to callers, reflecting internal socket errors, DNS resolution failures, and network traces into the chat-tool responses the OMI backend hands to the model/client:
• POST /tools/search_papers returns ChatToolResponse(error=f"arXiv search failed: {exc}")
• POST /tools/get_paper_details returns ChatToolResponse(error=f"arXiv details request failed: {exc}")
• POST /tools/search_author returns ChatToolResponse(error=f"arXiv author search failed: {exc}")
Fix
All three endpoints catch unexpected exceptions and network errors, returning clean, fixed generic messages (arXiv search failed., arXiv details request failed., arXiv author search failed.) while preserving specific HTTP status mappings (429 rate limiting, 503 unavailable).
PR #15587 adds test_error_handling.py (stdlib-only, drives handlers against raising seams and asserts sensitive traces never reach a response), updates test_main.py, and registers arxiv-error-handling-tests in .github/checks-manifest.yaml.
Precedent
Same failure class as the recent CoinGecko app (#15522), Google Calendar app (#15493), Shopify app (#15484 / #15485), ClickUp app (#15361 / #15360), Slack app (#15471 / #15469), and Whoop app (#15477 / #15476) hardening.
PR: #15587
Bounty Payout Destination (EVM - Base Mainnet): 0x240C74A953Fc04Fe8cD713c68b53e94d9b449F8C
PR #15587 is already up with full hermetic unit tests passing (17/17 checks passing in local/ci lane). Ready for review by @kodjima33 / @josancamon19.
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.
This task is implemented, fully tested, and officially approved via PR #15587 (approved by maintainer @aryanorastar and reviewed by @Git-on-my-level).
- Current Blocker: None (Approved by maintainers, awaiting merge).
- Acceptance Criterion: Full hermetic test suite passing (55/55 tests), all 3 endpoints sanitized.
- Confirmed Payout Path:
- EVM (Base Mainnet):
0x240C74A953Fc04Fe8cD713c68b53e94d9b449F8C(gewenbo.eth)
- EVM (Base Mainnet):
@autonoma-avalix Please note this task is delivered and closed.
@autonoma-avalix As previously stated, this task is already 100% complete, fully tested, and officially APPROVED by core maintainer @aryanorastar on PR #15587 ("Tests pin that hole. Required checks are green.").
- No Implementation Needed: There is zero pending development or implementation scoping required. All code and hermetic tests (55/55 passing) are already finished and approved in PR #15587.
- Bounty Assignment: The work is delivered and claimed by @gewenbo888 (Payout:
0x240C74A953Fc04Fe8cD713c68b53e94d9b449F8C/gewenbo.eth). - Action Required: Please halt automated follow-ups and avoid posting duplicate execution proposals on this issue. Thanks.
Thanks for putting this together. We aren't doing bounties at the moment, so we're closing the bounty proposal issues for now — thanks for the fix! 🙏