Skip to content

[Bounty $150] security: hume-ai — unauthenticated uid-keyed routes write memories into any Omi account and push notifications to any user #15089

Closed as not planned

Description

@harmonygemini8-collab

Summary

Three routes in the standalone hume-ai service (plugins/hume-ai/, deployed per
plugins/README.md:49, own Dockerfile + render.yaml) take uid straight from the
query string with no caller authentication:

  • POST /save-emotion-memory?uid=<uid> (main.py:498-506) → save_emotion_memory(uid)
    (app.py:358) → create_omi_memory(uid, ...) (app.py:375) → POST
    api.omi.me/v2/integrations/{app_id}/user/memories?uid=<uid> with the app's
    OMI_API_KEY (app.py:277) — writes an emotion-summary memory into any user's
    Omi memory store.
  • POST /force-send-notification?uid=<uid> (main.py:526-561) →
    send_omi_notification(uid, message) (app.py:208) — pushes a notification to
    any user, cooldown bypass by design.
  • POST /audio?uid=<uid> (main.py:83-100) — ingestion keyed by raw uid with no
    device/caller auth; attacker audio is attributed to the victim's emotion stats and,
    with send_notification=true, triggers the victim's notifications. The stats this
    builds are exactly what /save-emotion-memory then persists as the victim's memory,
    so the poisoned content is attacker-influenceable.

No route in hume-ai/main.py has an auth dependency (no Depends guard, no Bearer
check — same defect class as the paid filings zapier #14428, slack/clickup/twitter
#14446, twitter-chat-tools #14451, whoop #14453, the sweep #14455, shipbob #14666,
ms365 #14683, composio #14701; hume-ai's routes aren't /tools/*-shaped, so the
sweeps missed them).

Impact

Evidence

Hermetic reproduction (stdlib only, httpx stubbed, drives the real FastAPI route
handlers): a request carrying only ?uid=<victim> and no credentials to
/save-emotion-memory results in an outbound
POST api.omi.me/v2/integrations/{app_id}/user/memories?uid=<victim> with
Authorization: Bearer <OMI_API_KEY>; /force-send-notification?uid=<victim>
results in an outbound notification call for the victim. (Repro script available on
request; happy to include in the PR.)

Fix

Shared-secret guard, same idiom as the reviewed #14561/#14700 guards:
HUME_TOOLS_SECRET env var, accepted via Authorization: Bearer or a
hume_tools_token query param, checked with hmac.compare_digest, applied via
Depends() to all three routes. Fail-closed 503 when the secret is unset. Hermetic
regression tests + .github/checks-manifest.yaml registration included.

Proposed bounty: $150 — single app, three routes, no logic changes, mirrors the
accepted #14701 / #14683 pattern.

cc @kodjima33 @josancamon19

Activity

  1. moved this from Someday to In progress in omi TODO / bountieson Sep 20, 2026
  2. harmonygemini8-collab commented on Sep 20, 2026

    @harmonygemini8-collab
    Author

    Companion fix for this filing: #15091 — shared-secret guard per the spec above (HUME_TOOLS_SECRET / hume_tools_token, hmac.compare_digest, fail-closed 503), 9 hermetic tests, checks-manifest registration, plus a deployment note for the /audio caller coordination in the PR description.

  3. harmonygemini8-collab commented on Sep 20, 2026

    @harmonygemini8-collab
    Author

    Hi @laurentketterle-hub — per your offer: two PRs landed within minutes of your claim — #15090 at :45 and #15091 (this filing's companion, implementing the spec in the issue body) at :46. Happy for you to stand down per your comment.

    cc @kodjima33 @josancamon19 — three implementations are now open against this filing; the companion PR is #15091. Happy to defer to whichever you prefer merging.

  4. spike-token commented on Sep 20, 2026

    @spike-token

    Hi — I'm interested in working on this bounty. I can deliver a focused text/code patch for the described scope. Happy to clarify approach or share a draft PR if that helps. Thanks!

  5. monopolymummat-cmyk commented on Oct 3, 2026

    @monopolymummat-cmyk

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

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

  6. added
    intelligence
    p2
    memory
    p1
    and removed
    intelligence
    p2
    on Oct 6, 2026
  7. aryanorastar commented on Oct 31, 2026

    @aryanorastar
    Collaborator

    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! 🙏

  8. moved this from In progress to In review in omi TODO / bountieson Oct 31, 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

    memoryp1

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions