Can the Harness loop and its Environment be separated so that no credential enters the sandbox?
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 20/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 活跃
- 技术栈
- go
调研方向
Start with the linked placement, runtime isolation, model execution, vault, checkpoint, egress, MCP, execution tools, and workspace protocol documents to understand the current boundaries. The issue asks seven open design questions and does not identify an implementation entry point or settled requirements. Done would require maintainers to decide the intended security model and supported placement before implementation can be scoped.
由索引模型根据 Issue 内容生成。
描述
Summary
Today the Harness, its tools and the workspace run inside one Environment, so the Session's model credential, MCP bearers and Environment env values are readable by anything running there. I would like to ask whether a placement that separates the Harness loop from the sandbox is in scope, and how the documented rule about credentials in an Environment is meant to be applied.
Current behavior, as documented
| Fact | Where |
|---|---|
| The daemon, Harness, native tools and workspace run together on one machine | Placements |
| The daemon adds no filesystem, permission or network isolation; tools run as the launching account | Runtime and outer isolation |
The model provider bundle, including api_key, is delivered to the Runtime at dispatch |
Model execution |
| Provider keys and MCP bearers enter the model-loop or MCP child process environment | Codex Runtime, Vaults |
| Workspace project settings and hooks run with the Session's provider key | Claude SDK adapter |
| Checkpoints are full guest memory and root-disk snapshots | Checkpoint lifecycle |
| Egress allows Core and the model endpoint, plus declared domains | Network egress |
MCP connection_origin: service is admitted only on environment: none |
Public MCP connection origin |
environment: none has no workspace and no built-in tools |
Execution tools |
The two roles, as I understand them
- Loop side: agent loop, model calls, session history, MCP HTTP connections, credentials. No model-authored code execution.
- Environment side: workspace, every tool, no long-lived credential. Each effect crosses a capability boundary.
Questions
- Is a placement with these two roles separated something the protocol is intended to express, now or later?
- If it is out of scope, which mechanism is meant to satisfy a requirement that no credential may enter untrusted compute —
self_hostedwith caller-provided isolation, a deployment-side proxy in front ofmodel_provider.base_url, or something else? - Is there an authored threat-model statement covering "any process in an Environment can read this Session's model key, MCP bearers and
envvalues"? If not, which document would own it? - If such a placement existed, must the workspace live entirely in the Environment, given the single-writer attachment rule in the workspace filesystem protocol? Would that be compatible with the workspace-bound native history in the Harness protocol?
- Is
environment: nonea terminal state or the beginning of a "trusted loop host plus external sandbox" placement? ItsserviceMCP origin and its deferred built-in tools read like that shape. - Would a model endpoint in front of
model_provider.base_urlthat injects the provider credential be considered a supported deployment pattern, or does it conflict with Core not qualifying anything on a provider's behalf? - If this were to be supported, would it be a new Environment placement or a field on the Environment, and would it be a protocol upgrade against the pinned public API?
- 主要语言
- Go
- 星标
- 354
- 派生
- 45
- 平均合并
- 3 小时 44 分钟
- 30 天内合并 PR
- 49
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
MiniMax-AI/OpenAgentCore 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
MiniMax-AI/OpenAgentCore#418 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 20/100
MiniMax-AI/OpenAgentCore#397 · 1 条评论 ·
维护者通常 1 天内回复
查看 MiniMax-AI/OpenAgentCore 的全部 Issue
相似的 Issue
-
gui: a narrow window's gateway key row with a line under it wraps its faded badges onto blank lines未关闭
难度 2/5 1-3 小时 新手友好度 74/100
-
难度 2/5 1-3 小时 新手友好度 72/100
-
Scope: a trailing dot on the host or root host breaks rdn, dn and fqdn scope checks可能已有人在做 @hakarrr 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 67/100
projectdiscovery/katana#2068 ·
维护者通常 1 天内回复
-
priority: low
难度 2/5 1-3 小时 新手友好度 88/100
rossoctl/context-guru#1625 ·
维护者通常 1 天内回复
-
Fixed
难度 2/5 1-3 小时 新手友好度 80/100
router-for-me/CLIProxyAPI#8683 ·
维护者通常 8 天内回复