omi
omi copied to clipboard
[Bounty Proposal] Backend: Action item tools exception leak & unhandled crash prevention
Bounty Proposal: Action Item Tools Exception Leak & Crash Prevention
- Target Component:
backend/utils/retrieval/tools/action_item_tools.py - Issue:
update_action_item_toolperformed 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_toolinside exception handlers. - Sanitized date format validation errors across all 3 tools without raw
ValueErrordetail 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.
- Protected item lookup in
- 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! 🙏