RFC: Deterministic execution guardrails for unattended sessions (secrets + shared App tokens in sandbox)
Maintainer thường phản hồi trong vòng 1 ngà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
- 32/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github, typescript
- Lĩnh vực
- security
Hướng nghiên cứu
Start with the README security model and the automations feature, then inspect sandbox-runtime; SECURITY.md describes where sensitive reports belong. The scope is not settled: maintainers must choose between a sandbox-runtime policy layer and sandbox-infrastructure networking. Done would be an accepted optional implementation with tests and documentation.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The gap
The README's security model is refreshingly honest, but reading it against the automations feature, there's a gap I'd love maintainer thoughts on:
- Secrets are decrypted and injected as env vars at spawn (encrypted at rest, plaintext in-sandbox).
- The git credential helper brokers short-lived shared GitHub App installation tokens into the sandbox.
- Automations (webhooks, Sentry alerts, cron) start sessions with no human in the loop, and inbound payload content reaches the agent as prompt context.
So a malicious webhook/Sentry/Linear payload = indirect prompt injection into a sandbox holding (a) decrypted org secrets and (b) git credentials valid for every repo the App is installed on — with port tunnels and browser automation as exfil channels.
The single-tenant trust assumption covers users, but not content arriving at users' agents.
Proposal (optional, default-off)
A deterministic pre-execution policy layer in sandbox-runtime:
- Secret denial — block command args/env reads targeting injected secrets + credential helper.
- Egress allowlist — fail-closed, subdomain-aware; curl/wget/tunnels restricted to known infra domains.
- Git remote allowlist — push/fetch only to configured SCM hosts.
- Per-session spend cap — including child-session fan-out.
- Signed block receipts — emitted to the session event stream for audit.
Shadow mode by default, hard blocks via flag. Zero behavior change when off.
Question for maintainers
Interest in this as an optional hardening layer? Happy to contribute the implementation (tests + docs included) if the direction is welcome — or open to pointers if you'd rather solve it at the sandbox-infra network level instead.
(Hardening proposal, not a vuln disclosure — anything sensitive routes via SECURITY.md.)
- Ngôn ngữ chính
- TypeScript
- Star
- 3.3k
- Fork
- 477
- Merge trung bình
- 20 giờ 5 phút
- Pull request đã merge (30 ngày)
- 290
Chuẩn bị môi trường
- Có Dockerfile hoặc 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 ColeMurray/background-agents
-
Known-actor email claim race drops the subject_email_collision warningCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ColeMurray/background-agents#2334 ·
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 62/100
ColeMurray/background-agents#806 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Existing users get a second account on their first Slack channel mentionCó thể đã có người làm @ankitkr đã nhận hôm nay. Đang mở
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 45/100
ColeMurray/background-agents#2435 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Support Opencode v2Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
ColeMurray/background-agents#2428 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 8/100
ColeMurray/background-agents#2427 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ColeMurray/background-agents
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
chaitin/MonkeyCode#1437 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
rtdb-info-connected-order test: unhandled 'connection is closed' rejection fails the CLI suiteĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/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 69/100
carbon-design-system/carbon-ai-chat#2615 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
e2e-failure ready-to-code
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
redhat-developer/rhdh-plugin-export-overlays#4486 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: fileUploadMatrix.test.ts URL case does a real DNS lookup and fails offlineCó thể đã có người làm @r2jaff đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ComposioHQ/composio#5054 ·
Maintainer thường phản hồi trong vòng 1 ngày