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

Ouverte
#910 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
20/100
Type d'issue
Fonctionnalité
Clarté
À clarifier
Activité
Active
Stack technique
go

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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?
Langage dominant
Go
Étoiles
354
Forks
45
Merge moyen
3 h 44 min
PR mergées (30 j)
49

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de MiniMax-AI/OpenAgentCore

Toutes les issues de MiniMax-AI/OpenAgentCore

Issues similaires

Plus d'issues Go

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.