`flintai scan`: extend the whitebox lens from agent *code* to agent *configuration* (MCP servers + manifests)

Aperta
#6 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
cli, security

Direzione di ricerca

Inizia con l’analisi whitebox esistente di flintai scan e il relativo punto di ingresso eval, quindi esamina come viene rappresentato claude_desktop_config.json. Definisci le configurazioni MCP supportate e gli input del manifest dell’agente prima di implementare i rilevamenti per concessioni estese sul filesystem, strumenti di esecuzione, segreti di configurazione, server remoti non autenticati e confini mancanti. Il lavoro è completo quando scan segnala questi casi con posizioni utilizzabili e i test coprono configurazioni rappresentative.

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

Descrizione

flintai scan's whitebox read of agent code is excellent, and eval covers runtime behaviour — together that's most of the picture. The piece we'd love to see it reach is the connective tissue in between: an agent's declared capabilities.

Ask: teach flintai scan to statically analyse MCP server configurations (including the mcpServers block of claude_desktop_config.json) and agent manifests, flagging patterns such as:

  • Over-broad grants — a filesystem server scoped to / or $HOME rather than a single working directory.
  • Execution surfaces — tools that can exec/eval/spawn, inherited by any connected agent with no human in the loop by default.
  • Secrets in config — API keys sitting in an env block: unrotatable, and readable by anyone with the file.
  • Remote MCP servers with no declared authentication.
  • Manifests that declare no identity, scope, delegation, or approval boundary.

Why it matters. Increasingly, an agent's real blast radius isn't in its Python — it's in what it's allowed to reach. The MCP config is where "read one file" quietly becomes "read the entire home directory," and it's the part that most often ships unreviewed. It's a natural extension of the whitebox philosophy: scan already reads what the agent is; this reads what it's been given. And it pairs beautifully with eval — static over-privilege findings tell you exactly where to aim the runtime red-team.*


Filed with genuine admiration from the KXCO team (kxco.ai) — building in the same neighbourhood (post-quantum security + AI trust) and rooting for FlintAI.

Lingua principale
Python
Stelle
75
Fork
7
Merge medio
38m
PR unite (30g)
2

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 sandbox-quantum/switch-trust-cli

Tutte le issue di sandbox-quantum/switch-trust-cli

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.