omi
omi copied to clipboard
[Bounty Proposal] Backend: Apple Health tools exception leak & unhandled crash prevention
Bounty Proposal: Apple Health Tools Exception Leak & Crash Prevention
- Target Component:
backend/utils/retrieval/tools/apple_health_tools.py - Issue: All 5 Apple Health retrieval tools called
prepare_apple_health_accessoutside exception handling and returned raw exception strings ({str(e)}), risking internal database path and diagnostic leaks (FC-secret-printed-to-plugin-logs) and unhandled crashes. - Implemented Fix: #15615
- Wrapped
prepare_apple_health_accesswithintry:blocks across all 5 tools. - Sanitized return strings across all tools with generic user-friendly messages while retaining full debug tracebacks via
logger.error(..., exc_info=True). - Added hermetic stdlib-compatible test suite
backend/tests/unit/test_apple_health_tools_sanitization.py. - Passed all 29/29 manifest checks.
- Wrapped
- Proposed Bounty: $50.00 USDC
- Payout Address:
0x240C74A953Fc04Fe8cD713c68b53e94d9b449F8C(ENS:gewenbo.eth, Network: Base / Arbitrum / Mainnet)
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! 🙏