Together sandbox: run the egress Guardian on the controller host (one sandbox per run)
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
- 24/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- javascript, node.js, python
- Lĩnh vực
- infrastructure, networking, security
Hướng nghiên cứu
Start by tracing the Together API sandbox setup, controller relay, and workload bridge (reverse-client); the issue names no file paths or tests. Check how generic_guardian.py and the existing capture journal are started, then map the proposed host proxy, WebSocket egress, and token allowlist onto those entry points. Done means Together runs use one sandbox per run, capture and observed journals retain their stated behavior, and E2B remains unchanged.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
Together API runs allocate two VMs per cell: a Guardian VM (mitmdump + generic_guardian.py + WS bridge server) and the workload VM. The controller relay already sits in the middle of every captured flow, so the Guardian VM adds cost, startup latency and a second resource to dispose.
Proposal
- Run mitmdump +
generic_guardian.pyon the controller host (installed bysetupwith pinned uv / Python / hash-locked mitmproxy). - Workload bridge (
reverse-client) routes all egress over the reverse WebSocket on port 18083; the host relay pipes each flow into the local proxy. - Intercept every host: capture hosts keep the existing journal (substitution, blocking, exchange facts); other hosts are streamed and recorded in a metadata-only observed journal.
- Port 18083 inbound allowlist requires the sandbox token in addition to the per-cell token.
- Bake the workload Node bridge runtime into the snapshot.
- E2B is unchanged.
Future
When Together sandboxes support outbound rules, deny all egress so the only path out is the inbound WebSocket.
- Ngôn ngữ chính
- JavaScript
- Star
- 75
- Fork
- 9
- Merge trung bình
- 2 giờ 16 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của togethercomputer/hurdle
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 32/100
Tất cả issue của togethercomputer/hurdle
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
microlinkhq/metascraper#905 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
-
ISA Builder: the Configuration tab has no tabpanel, so both tabs' aria-controls point at a missing elementCó thể đã có người làm @vikash2006-dot đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 87/100
riscv/riscv-isa-explorer#725 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] 手杀孙茹 火攻 刘理 时触发错误Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày