omi
omi copied to clipboard
[Bounty Proposal] Backend: Gmail tools exception leak & unhandled error prevention
Bounty Proposal: Gmail Tools Exception Leak & Unhandled Error Prevention
- Target Component:
backend/utils/retrieval/tools/gmail_tools.py - Issue:
get_gmail_messages_toolexecuted database/executor access outside exception guards, and returned raw exception strings ({str(e)}) upon failure, risking internal token traces or database path leaks (FC-secret-printed-to-plugin-logs). - Implemented Fix: #15624
- Wrapped
run_blockinginsidetry:block. - Sanitized
access_errconnection error strings. - Sanitized exception returns to generic messages with server-side
exc_info=True. - Added hermetic unit test suite
backend/tests/unit/test_gmail_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! 🙏