[Bounty proposal] fix(task-integrations): exception text leaks across task integration & sync 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 #18735.
Symptom
When network timeouts, API failures, connection resets, or unhandled exceptions occur in backend/routers/task_integrations.py, backend/utils/task_integrations_ops.py, and backend/utils/task_sync.py:
- Workspace, project, team, space, and list endpoints reflect
{str(e)}verbatim into client-facingHTTPException(status_code=500, detail=...). - Token refresh and task creation operations reflect raw exception text and log sensitive details directly into error dictionaries returned to callers.
- Auto-sync endpoints return raw exception strings inside
{"synced": False, "error": str(e)}.
This leaks internal system paths, socket traces, database connection parameters, and third-party error traces to API callers.
Proposed Remediation (Implemented in PR #18735)
- Replaced all raw exception string interpolations across Asana and ClickUp integration endpoints with static, safe error messages (
"Error fetching workspaces","Error fetching projects","Error fetching teams","Error fetching spaces","Error fetching lists"). - Sanitized OAuth token refresh and task creation error paths to return generic error messages while logging only
type(e).__name__server-side. - Sanitized auto-sync error return payloads in
backend/utils/task_sync.py. - Added 9 hermetic unit tests in
backend/tests/unit/test_task_integrations_error_sanitization.pyasserting that sensitive exception strings and IP traces never leak into responses. - Registered
task-integrations-error-sanitization-testsin.github/checks-manifest.yaml.
Bounty Payout Destination (EVM - Base Mainnet):
0x7badCdA295Dd7113f374aEA1008e7d5870D48556
Heads up for maintainers (@kodjima33 / @Git-on-my-level): This issue and PR #18735 duplicate PR #18599, which was submitted ~10 hours earlier (2026-09-24T11:17:43Z), has 100% green checks on all 23 suites, and was already reviewed and approved by @Git-on-my-level. Proposal tracked at #18760.
I’m interested in working on this issue. The scope is clear, and I can prepare a focused implementation with tests. Please confirm the proposed reward is available for the first accepted contribution before I start.