Skip to content

[Bounty] security: zapier routes trust client-supplied uid — unauthenticated transcript read, account write, and exfiltration subscription #14428

Description

@hridaya423

Proposing a paid bounty per the contribution docs (@josancamon19 @kodjima33). Same vulnerability class as the merged mentor session fix (#13665), but broader impact.

plugins/zapier/conversation_created.py mounts six data-plane routes keyed only by a client-supplied uid query/form field — no authentication anywhere:

  • GET /zapier/trigger/memory/sample?uid=X returns that user's latest conversation — title, overview, and full transcript — to any anonymous caller (transcript PII disclosure).
  • POST /zapier/action/memories?uid=X creates a conversation with arbitrary text in the victim's Omi account via the integrations API (cross-account write / memory injection).
  • POST|DELETE /zapier/trigger/subscribe?uid=X stores/removes a target_url for the victim, gated only by the enable flag — which POST /zapier/connect sets unauthenticated (the code itself carries # Should validate uid is valid user on Omi backend before insert).
  • POST /zapier/memories?uid=X accepts conversation webhooks with no caller binding.
  • GET /zapier/me?uid=X probes integration status anonymously.

Attack chain: know a victim uid → connect enables them → trigger/subscribe points your Zapier URL at their uid → every conversation forwards transcript to you; or skip all that and just GET memory/sample for the latest transcript directly.

Fix ready in PR (linked below): require_zapier_webhook_auth mirrors the merged mentor pattern — ZAPIER_WEBHOOK_SECRET env, bearer or zapier_webhook_token query param, hmac.compare_digest, fail-closed 503 unconfigured — wired onto all six routes.

Residual (documented, needs backend capability-link work): the browser control plane (/setup-zapier, /zapier/connect, /zapier/disconnect, /setup/zapier) stays uid-keyed since the Omi app opens those pages without a credential; with the data plane closed, flipping enabled state grants no data access. Full binding = capability token in the app-issued URL (the #13463 direction).

Deployment requirement: set ZAPIER_WEBHOOK_SECRET and configure the Zapier app + Omi webhook caller to send it — same deployment story as the mentor fix.

Suggesting US$200 — security boundary, transcript disclosure + account write, six routes, regression tests included.

Activity

  1. moved this from Someday to In progress in omi TODO / bountieson Sep 17, 2026
  2. hridaya423 commented on Sep 17, 2026

    @hridaya423
    ContributorAuthor

    Fix ready in #14429 — require_zapier_webhook_auth on all six data-plane routes (fail-closed ZAPIER_WEBHOOK_SECRET, same pattern as the mentor fix). 10 new auth-boundary tests + 18/18 existing zapier tests pass.

  3. hridaya423 commented on Sep 17, 2026

    @hridaya423
    ContributorAuthor

    @josancamon19 @kodjima33 — fix is up and verified; if this qualifies under the paid-bounty program I would be glad to take it on.

  4. monopolymummat-cmyk commented on Oct 3, 2026

    @monopolymummat-cmyk

    Hi — I've opened #20507 (#20507).

    Disclosed: authored with AI assistance (Z.ai).

  5. added
    capture
    p1
    p2
    retrieval-action
    and removed
    p1
    capture
    on Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    p2retrieval-action

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions