Stdout/stderr canary sweep test for credential secret leakage

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

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
68/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
rust

调研方向

找到现有的 resolver_failure_surfaces_as_error 和 isolated_registries_across_sandboxes 测试,然后跟踪 #89 中使用作用域凭据的 guest 设置。添加一个使用哨兵令牌的 guest 测试,扫描 stdout、stderr 和每个错误 payload;完成标准是哨兵令牌不出现在任何 guest 可见的输出中。

由索引模型根据 Issue 内容生成。

描述

enhancement

Follow-up from #89 (Scoped credentials for outgoing HTTP).

Existing tests cover some leakage paths: resolver_failure_surfaces_as_error asserts the failure diagnostic does not leak, and isolated_registries_across_sandboxes proves cross-sandbox isolation.

However, there is no positive test that runs a guest with a known sentinel token value and scans stdout / stderr / every error payload to assert the sentinel string is absent from every guest-visible output. Add such a canary sweep test.

主要语言
Rust
星标
83
派生
8
平均合并
2 天 20 小时
30 天内合并 PR
29

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

hyperlight-dev/hyperlight-sandbox 的其他 Issue

查看 hyperlight-dev/hyperlight-sandbox 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

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