omi icon indicating copy to clipboard operation
omi copied to clipboard

[Bounty Proposal] Backend: Action item tools exception leak & unhandled crash prevention

Open gewenbo888 opened this issue 2 months ago • 1 comments

Bounty Proposal: Action Item Tools Exception Leak & Crash Prevention

  • Target Component: backend/utils/retrieval/tools/action_item_tools.py
  • Issue: update_action_item_tool performed item existence queries without exception guards, and all 3 action items tools (get_action_items_tool, create_action_item_tool, update_action_item_tool) returned raw exception strings ({str(e)}) across 9 error branches, exposing internal database paths or diagnostic traces (FC-secret-printed-to-plugin-logs).
  • Implemented Fix: #15622
    • Protected item lookup in update_action_item_tool inside exception handlers.
    • Sanitized date format validation errors across all 3 tools without raw ValueError detail leakage.
    • Sanitized DB failure responses to return clean user-facing error messages with server-side exc_info=True.
    • Added hermetic stdlib-compatible test suite backend/tests/unit/test_action_item_tools_sanitization.py.
    • Passed all 29/29 manifest checks.
  • Proposed Bounty: $50.00 USDC
  • Payout Address: 0x240C74A953Fc04Fe8cD713c68b53e94d9b449F8C (ENS: gewenbo.eth, Network: Base / Arbitrum / Mainnet)

gewenbo888 avatar Sep 22 '26 02:09 gewenbo888

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! 🙏

undivisible avatar Oct 22 '26 11:10 undivisible