Harden security before a stable release

未关闭
#33 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 4 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
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 分钟
30 天内合并 PR
17

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

hyperlight-dev/lampyr 的其他 Issue

查看 hyperlight-dev/lampyr 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。