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 }}
[Bounty $150] security: composio backend routes trust client-supplied uid — write memories into any Omi account, read any Notion workspace #14701
Four backend routes in plugins/composio trust a client-supplied uid with no caller authentication:
POST /api/omi/facts?uid=<uid> + POST /api/omi/facts/batch: create facts/memories in Omi for any uid using the app's integration key (OMI_APP_ID/OMI_API_KEY).
POST /api/notion/blocks/{block_id} (uid in body) + GET /api/notion/page/{page_id}?uid=: read the user's Notion workspace with the user's stored OAuth token.
Impact
Memory poisoning: anyone can write arbitrary facts into an arbitrary user's Omi memory store via the app's integration key.
Horizontal data access: anyone can read the private Notion content of any user who connected the integration (page metadata + blocks) using that user's stored token.
Same class as the filings for slack/clickup/twitter (#14446), whoop (#14453), twitter-chat-tools (#14451), the seven apps in #14455, and shipbob/ms365 (#14666/#14683); composio's routes aren't /tools/*-shaped so they were missed.
Fix
PR #14700: shared-secret guard (COMPOSIO_TOOLS_SECRET via Authorization: Bearer or composio_tools_token, hmac.compare_digest, fail-closed 503 when unset) applied via Depends() to the four routes, same idiom as the reviewed #14561 guards. 7 hermetic tests + checks-manifest registration included.
Proposed bounty: $150 — single app, four routes, no logic changes.
Activity
aryanorastar commentedon Sep 20, 2026
Closing as already fixed on current main.
Merged #14700 added plugins/composio/src/tools_auth.py; current main Depends(require_composio_tools_auth) on facts/notion routes