Harden security before a stable release

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

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github, kubernetes, rust, ubuntu

Direzione di ricerca

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.

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

Descrizione

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.
Lingua principale
Rust
Stelle
3
Fork
2
Merge medio
3g 57m
PR unite (30g)
17

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

Tutte le issue di hyperlight-dev/lampyr

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.