Feature: GoModel onboarding / bootstrapping - openning the dashboard for the first time

Aperta
#867 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
go

Direzione di ricerca

Start by reading the onboarding and security behavior described in the issue, then inspect internal/server/http.go and internal/server/admin_access_test.go; config/config.go is also cited for default admin and MCP settings. Determine how first-time setup should behave when credentials or providers are missing, and update the related tests to verify admin access is no longer anonymous while preserving an explicit recovery path.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Is your feature request related to a problem? Please describe.
Right now, GoModel by default is accessible without any credentials. There should be some onboarding process / bootstrapping when the credentials OR providers are not set by default.

Below more wordy security related issue reported by AI agent:

  1. Anonymous admin control plane when no master key is configured

The entire /admin/* API skips authentication whenever MasterKey is empty and no extension request authenticator exists—even if
managed API keys are configured through the ordinary Authenticator. This behavior is explicitly tested as a “lockout recovery”
path.

Evidence: internal/server/http.go:247, internal/server/admin_access_test.go:95. Admin endpoints and MCP are enabled by
default: config/config.go:186.

Impact:

  • Anonymous audit-log access, including prompts and responses.
  • Creation/deactivation of managed keys.
  • Modification of workflows, budgets, rate limits, provider configuration, guardrails and runtime settings.
  • Registration of arbitrary HTTP MCP endpoints, enabling SSRF/internal service access and malicious routing.
  • Managed keys cannot secure the admin API unless a master key is also configured.

I verified that admin-managed MCP entries cannot use stdio, so I did not find a direct RCE chain: internal/mcpgateway/
store.go:29.

Lingua principale
Go
Stelle
1.2k
Fork
111
Merge medio
20h 53m
PR unite (30g)
142

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ENTERPILOT/GoModel

Tutte le issue di ENTERPILOT/GoModel

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.