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

Aperta
#910 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
go

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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?
Lingua principale
Go
Stelle
354
Fork
45
Merge medio
3h 44m
PR unite (30g)
49

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di MiniMax-AI/OpenAgentCore

Tutte le issue di MiniMax-AI/OpenAgentCore

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.