[Bounty proposal] fix(coingecko-app): exception text leaks into chat tool responses across 4 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 #15522.
Symptom
All 4 chat tool endpoints and the central HTTP fetch helper in plugins/omi-coingecko-crypto-app return or raise raw exception strings ({exc}) directly to client callers and the LLM context:
_fetch_coingeckoraisedValueError(f"CoinGecko network error: {exc}")which was reflected verbatim by tool handlers/tools/get_crypto_pricereturnedChatToolResponse(error=f"Unexpected error fetching crypto prices: {exc}")/tools/search_crypto_coinsreturnedChatToolResponse(error=f"Unexpected error searching crypto coins: {exc}")/tools/get_trending_cryptoreturnedChatToolResponse(error=f"Unexpected error retrieving trending crypto: {exc}")/tools/get_crypto_market_overviewreturnedChatToolResponse(error=f"Unexpected error retrieving market overview: {exc}")
Whatever internal socket failure, DNS error, network timeout, or host path occurred in these paths was leaked back to the HTTP client or LLM context.
Fix
- Sanitized
_fetch_coingeckonetwork error raising to use clean generic messages. - Sanitized all 4 tool endpoints to return fixed, generic error messages on unexpected exceptions.
- Added comprehensive hermetic unit tests in
test_error_handling.py(5/5 passing) verifying no sensitive trace or exception text leaks into responses across all endpoints. - Registered
coingecko-error-handling-testsin.github/checks-manifest.yaml.
Precedent
Same failure class as Slack app (#15469 - merged), Whoop app (#15476), Google Calendar app (#15493), Dropbox app (#15497), Twitter Chat Tools app (#15517), Public Holidays app (#15520), ClickUp app (#15361 / #15360), and GitHub app (#13912) exception leakage hardening.
PR: #15522
Proposed Bounty Reward: $50.00 USD
Bounty Payout Destination (Base Mainnet / EVM): 0x7badCdA295Dd7113f374aEA1008e7d5870D48556
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! 🙏