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

Abierto
#6 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Tranquilo
Stack tecnológico
python
Área
cli, security

Línea de trabajo

Empieza con el análisis whitebox existente de flintai scan y su punto de entrada eval, y después inspecciona cómo se representa claude_desktop_config.json. Define las configuraciones MCP y las entradas de manifiesto de agente compatibles antes de implementar hallazgos para concesiones amplias del sistema de archivos, herramientas de ejecución, secretos de configuración, servidores remotos no autenticados y límites ausentes. La tarea estará terminada cuando scan informe de estos casos con ubicaciones accionables y las pruebas cubran configuraciones representativas.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
75
Forks
7
Merge medio
38 min
PR fusionados (30 d)
2

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de sandbox-quantum/switch-trust-cli

Todos los issues de sandbox-quantum/switch-trust-cli

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.