You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bounty $400] security: seven more plugins — 39 /tools/* routes trust body uid and act with stored third-party credentials #14455
The uid-as-auth defect (zapier #14428, mentor #13685, slack/clickup/twitter #14446, twitter-chat-tools #14451, whoop #14453) exists in five more plugin apps — every /tools/* route takes uid from the JSON body and acts with that user's stored OAuth token/API credentials, no caller authentication:
App
Routes
Exposure
omi-google-calendar-app
6
list/create/get/update/delete events, list calendars
31 routes total. Anyone with a uid can create calendar events, file Linear issues, write Notion pages, or create Shopify orders/customers under the victim's connected accounts. omi-dropbox-app and omi-github-app are already covered by the #13463 umbrella; these five are not in its file list.
Fix
Per-app <mod>_tools_auth.py shared-secret guard (Authorization: Bearer or <mod>_tools_token query param → <APP>_TOOLS_SECRET env, hmac.compare_digest), applied via Depends() to all 31 routes. Fail-closed 503 unconfigured, 401 bad token. Same mechanism as the merged mentor precedent and #14447/#14452/#14454.
changed the title [-][Bounty $400] security: five more plugins — 31 /tools/* routes trust body uid and act with stored third-party credentials[/-][+][Bounty $400] security: seven more plugins — 39 /tools/* routes trust body uid and act with stored third-party credentials[/+]on Sep 18, 2026
Submitted fix in PR #14561 with complete shared-secret guards across all 7 plugins and 276+ passing unit tests. Ready for review! @josancamon19@kodjima33
Landing note for the tracking issue: fix/tools-uid-auth-six-apps → #15102 now requires a shared secret on every chat-tool route in all six chat-tool plugin apps, then fails closed (503) when unconfigured and rejects (401) any missing/wrong/non-Bearer secret.
Hermetic regression evidence (verbatim from the 6 suites in this PR, all hermetic — no network/credentials/live services, exercising the real production app routes):
=== omi-google-calendar-app/test_gcal_tools_auth.py ===
Ran 11 tests in 0.208s OK
=== omi-hive-app/test_hive_tools_auth.py ===
Ran 11 tests in 0.300s OK
=== omi-linear-app/test_linear_tools_auth.py ===
Ran 11 tests in 0.201s OK
=== omi-notch-app/test_notion_tools_auth.py ===
Ran 11 tests in 0.192s OK
=== omi-shopify-app/test_shopify_tools_auth.py ===
Ran 11 tests in 0.245s OK
=== omi-ms365-app/test_ms365_tools_auth.py ===
Ran 11 tests in 0.221s OK
66 tests, 6 hermetic suites, all green. Six entries registered in .github/checks-manifest.yaml (all present + exempt, manifest parses —
258 checks). Same hermetic guard pattern already merged for composio +
shipbob chat-tool routes.
Activity
hridaya423 commentedon Sep 18, 2026
Fix + regression tests: #14456
extend tools auth fix to ms365 and shipbob (39 routes, 7 apps)
[-][Bounty $400] security: five more plugins — 31 /tools/* routes trust body uid and act with stored third-party credentials[/-][+][Bounty $400] security: seven more plugins — 39 /tools/* routes trust body uid and act with stored third-party credentials[/+]hridaya423 commentedon Sep 18, 2026
@josancamon19 @kodjima33 — fix is up and verified with regression tests; if this qualifies under the paid-bounty program I would be glad to take it on.
meanusarcanus commentedon Sep 18, 2026
Submitted fix in PR #14561 with complete shared-secret guards across all 7 plugins and 276+ passing unit tests. Ready for review! @josancamon19 @kodjima33
fix(plugins): require auth on /tools/* routes acting on uid-keyed cre…
fix(plugins): require auth on /tools/* routes acting on uid-keyed cre…
kaleidoscopeAI commentedon Sep 20, 2026
Landing note for the tracking issue: fix/tools-uid-auth-six-apps → #15102 now requires a shared secret on every chat-tool route in all six chat-tool plugin apps, then fails closed (503) when unconfigured and rejects (401) any missing/wrong/non-Bearer secret.
Hermetic regression evidence (verbatim from the 6 suites in this PR, all hermetic — no network/credentials/live services, exercising the real production app routes):
66 tests, 6 hermetic suites, all green. Six entries registered in
.github/checks-manifest.yaml(all present +exempt, manifest parses —258 checks). Same hermetic guard pattern already merged for composio +
shipbob chat-tool routes.
monopolymummat-cmyk commentedon Oct 3, 2026
Hi — I've opened #20501 (#20501).
Disclosed: authored with AI assistance (Z.ai).
aryanorastar commentedon Oct 31, 2026
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! 🙏