Harden security before a stable release

Abierto
#33 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 4 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github, kubernetes, rust, ubuntu

Línea de trabajo

Start with cli/src/build.rs:266-269 and SECURITY.md, then read the linked upstream work in fiberd-k8s-controller#12 and related issue #45 and #42. The issue spans several security changes and dependencies, so first map each gap to its owning component and tests. Done means the listed Pod hardening, audit signing and verification checks, and threat model are addressed before a stable release.

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

Descripción

Lampyr is an early preview. These are known gaps in its security posture that we want closed before calling anything stable.

  • The snapshot-builder Pod is privileged, runs ubuntu:24.04 unpinned, and has a fixed 2Gi memory limit (cli/src/build.rs:266-269). It should get KVM through the device plugin instead of privileged mode, pin its image by digest, and size its memory from resources.memory.
  • Grant Pods run fiberd's privileged hyperlight runtime. Move to unprivileged hyperlight grant Pods with fiberd-k8s-controller (tracked upstream in fiberd-k8s-controller#12); AppArmor on AKS is #45.
  • Check that stock fiberd's grant Pods sign their audit records, and that ly audit verifies them.
  • SECURITY.md only links to Hyperlight's policy. Add a short threat model: what a Fiber can reach (including bindings' reach, #42), the trust boundaries between ingress, fiber-router, grant Pod and Fiber, and the privileged pieces listed above.
Lenguaje dominante
Rust
Estrellas
3
Forks
2
Merge medio
3 d 57 min
PR fusionados (30 d)
17

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 hyperlight-dev/lampyr

Todos los issues de hyperlight-dev/lampyr

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.