F-022 T3 follow-ups before T4: CLI uid isolation (M1), sign-out honesty (m1, m2), scope wording (m7)
Maintainer thường phản hồi trong vòng 1 ngày
@Zamojski5 đang làm issue này rồi.
Từ ngày 11/10/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Follow-up to #303 (F-022 T3, #278), from @Zamojski5's approving evaluation of 192a7f35 (https://github.com/ColdPhase/flux/pull/303). That approval holds only if M1, m1, m2 and m7 are fixed or tracked before T4 (#279, sign-in) lands. This issue tracks them, and it blocks #279's merge.
Must be resolved before #279 merges
- M1. The CLI runs under the supervisor's uid.
supervisor/process.ts:16spawns the CLI as uid 1000, the same uid as the supervisor.- A compromised CLI could then read
/proc/<supervisor>/environ(FLUX_RUNTIME_SLOT_SECRET). Onptrace_scope0 it could also write/proc/<pid>/mem. - A supervisor patched that way could fake
release, so the next owner inherits the old process and its/tmp. - Acceptance: the CLI runs under its own uid, or the supervisor is non-dumpable and the worker refuses slots where
ptrace_scopeis 0. - A probe as the CLI's uid then fails to open
/proc/<supervisor>/memfor writing and to read/proc/<supervisor>/environ. A negative control shows the probe succeeds without the fix.
- A compromised CLI could then read
- m1. Sign-out after the runtime is switched off. The egress allowlist is built from
FLUX_AGENT_RUNTIME(egress/main.ts:12,16), so the documented "switch off, then purge/reset/clean" gets 403 on every logout CONNECT.forgetAllthen reportssignOutFailed:false.- Acceptance: sign-out reaches the vendor hosts during purge, reset and clean whatever the switch says, or the guide and the launcher require purging before switching off.
- Either way, a failed or blocked logout is reported as failed. A check exercises off→purge.
- m2. A skipped or missing sign-out reads as success.
manager-port.ts:29counts onlyfailed/timeout.handlers.ts:117-124skips logout on an unsafe binding directory, andnot_installedis possible too.- Acceptance: skipped and not-installed logouts are reported as not signed out. Release logs out every signed-in CLI, as F-022 says.
- m7. Scope and wording.
- Open a tracked issue for the deferred
ghcr.io/coldphase/flux-agent-runtimeimage and the release compose. - Fix the F-022 row in
decisions.md("installed by Anthropic's installer") and the plan's T3 bullets (lines 127 and 131) to matchai-modes.mdas merged.
- Open a tracked issue for the deferred
Tracked, to fix with T4 or record as accepted risks
- m3: the socket test misses directory bind mounts (
/var/run,/run:/host-run). Use an allowlist of bind sources intest_container_isolation.pyandinspect.py. - m4:
check_agent_runtime.shstep 5 uses the host'sip, which macOS lacks. Run it in a container. - m5: any signed-in account can bind a slot before sign-in, and sign-up is open. Bind when T4's sign-in starts, or record it as accepted.
- m6: egress SNI isn't tied to the CONNECT host, and there is one global
maxConnections. Record both as accepted risks, or add a per-slot cap. - m8: reconciliation race (
reconcile.ts:40,45) andwipeBootIdread before release. Low. - m9: the real install path through egress is never exercised. One run through
runtime-install→ egress →downloads.claude.ai. - Nits:
- the 0056 header names reserved numbers that are on
main, and a test file that doesn't exist; ensure_runtime_secretswrites a temporary file holding secrets under the default umask;- the manager client reads the whole body before its 4 MiB check;
- the
account_labelCHECK is weak.
- the 0056 header names reserved numbers that are on
Owner: claude-hubert (PelikanFix16), the author of #303 and T4. Evaluator: @Zamojski5.
- Ngôn ngữ chính
- TypeScript
- Star
- 3
- Fork
- 0
- Merge trung bình
- 22 giờ 20 phút
- Pull request đã merge (30 ngày)
- 343
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- 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 ColdPhase/flux
-
Task, result and decision cards in the thread panel show only the first characters of their titleCó thể đã có người làm @Zamojski5 đã nhận 1 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ColdPhase/flux#665 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Wiki UI modules fail in the default lane (live editing on): stale selectors and focus assertionsCó thể đã có người làm @Zamojski5 đã nhận 1 ngày trước. Đang mở
ColdPhase/flux#683 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Encrypted workspaces: optional per-workspace encryption at rest with unlock password, always without AICó thể đã có người làm @PelikanFix16 đã nhận 6 ngày trước. Đang mởenhancement
ColdPhase/flux#655 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Workspace AI lock: block every agent/assistant and hide all AI interactionCó thể đã có người làm @PelikanFix16 đã nhận 11 ngày trước. Đang mởagent:planning enhancement
ColdPhase/flux#614 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Spokój: calm, consistent polish of Prostota (founder direction 2026-10-15)Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 8/100
ColdPhase/flux#500 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ColdPhase/flux
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
marmelab/react-admin#11431 ·
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 88/100
db-ux-design-system/core-web#8655 ·
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 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
stripe/react-stripe-js#728 ·
-
[Upload Grade C dataset] the pop-up changes it's size while uploading the document => Jumping effectĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
epam/statgpt-admin-frontend#305 ·
Maintainer thường phản hồi trong vòng 1 ngày