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

Đang mở
#910 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
20/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
ai-infra-agents, security

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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?
Ngôn ngữ chính
Go
Star
354
Fork
45
Merge trung bình
3 giờ 44 phút
Pull request đã merge (30 ngày)
49

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của MiniMax-AI/OpenAgentCore

Tất cả issue của MiniMax-AI/OpenAgentCore

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.