Harden security before a stable release

オープン
#33 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github, kubernetes, rust, ubuntu

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
Rust
スター
3
フォーク
2
平均マージ
3日 57分
マージ済み PR(30日)
17

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

hyperlight-dev/lampyr のほかの issue

hyperlight-dev/lampyr の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。