HIGH: Web UI has no authentication or CSRF protection · Issue #378 · shiyu-coder/Kronos · GitHub
Skip to content

HIGH: Web UI has no authentication or CSRF protection #378

Open

Description

@adwaitm1301

The web UI at webui/app.py has zero authentication. Flask-CORS is enabled with default permissive settings. Anyone who can reach the server can load models, scan the filesystem, and run predictions.

Suggested fix: Add authentication (Flask-Login or JWT), restrict CORS origins, add CSRF protection, and rate-limit prediction endpoints.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions