Can the Harness loop and its Environment be separated so that no credential enters the sandbox?
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- go
- Domain
- ai-infra-agents, security
Research direction
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.
Written by the indexing model from the issue text.
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
- 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?
- Dominant language
- Go
- Stars
- 354
- Forks
- 45
- Avg merge
- 3h 44m
- Merged PRs (30d)
- 49
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MiniMax-AI/OpenAgentCore
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
MiniMax-AI/OpenAgentCore#418 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
MiniMax-AI/OpenAgentCore#397 · 1 comment ·
Maintainers usually reply within 1 day
All issues in MiniMax-AI/OpenAgentCore
Similar issues
-
gui: a narrow window's gateway key row with a line under it wraps its faded badges onto blank linesOpen
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
contribution macOS 主机
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Lee-xeo/Claude-Cage#1386 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
prime-radiant-inc/evener#8264 ·
Maintainers usually reply within 1 day
-
Add a list commandOpenbackup-operator
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
platform-mesh/platform-mesh#819 ·
Maintainers usually reply within 1 day