Skip to content

🔒 [SECURITY] No authentication + CORS wildcard on HTTP server #204

Closed

Description

@ajianaz

Description

HTTP server has zero authentication and uses CORS wildcard *, making all endpoints (/remember, /recall, /forget, etc.) accessible to anyone on the network.

Affected Files

  • crates/uteke-server/src/main.rs:88 — CORS Access-Control-Allow-Origin: *

Risk

CRITICAL if server exposed to public network. Anyone can read, write, delete all memories.

Recommendation

  • Add API key auth (Authorization: Bearer <key> header)
  • Restrict CORS to configurable origins
  • Add server.auth_token config option

Status

Deferred — Docker/server not yet publicly released. Local-first focus for now. Will fix before public server release.

Activity

  1. added
    scope:core
    scope:integration
    priority:high
    type:feature
    enhancement
    and removed
    type:feature
    on Jun 7, 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

    enhancementpriority:highscope:corescope:integrationsecurity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions