Can the Harness loop and its Environment be separated so that no credential enters the sandbox?

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
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

  1. Is a placement with these two roles separated something the protocol is intended to express, now or later?
  2. If it is out of scope, which mechanism is meant to satisfy a requirement that no credential may enter untrusted compute — self_hosted with caller-provided isolation, a deployment-side proxy in front of model_provider.base_url, or something else?
  3. Is there an authored threat-model statement covering "any process in an Environment can read this Session's model key, MCP bearers and env values"? If not, which document would own it?
  4. 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?
  5. Is environment: none a terminal state or the beginning of a "trusted loop host plus external sandbox" placement? Its service MCP origin and its deferred built-in tools read like that shape.
  6. Would a model endpoint in front of model_provider.base_url that injects the provider credential be considered a supported deployment pattern, or does it conflict with Core not qualifying anything on a provider's behalf?
  7. 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分
マージ済み PR(30日)
49

環境構築

はじめの一歩

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

MiniMax-AI/OpenAgentCore のほかの issue

MiniMax-AI/OpenAgentCore の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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