Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Add an explicit isolated environment policy for structural workers

Đang mở
#69 1 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
35/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ệ
go
Lĩnh vực
cli

Hướng nghiên cứu

Trace the structural worker invocation, capability-probe, and analysis paths, then compare how they currently inherit environment and working directory. Use the acceptance criteria to define compatibility, evidence visibility, secret handling, and platform coverage; the work is done when the opt-in policy is specified and tested across the listed cases without presenting it as a sandbox.

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

Mô tả

Structural workers are explicitly selected trusted executables and currently inherit the caller environment and working directory. The adversarial review (structure F7) proposed reducing that ambient context. Changing it silently would break legitimate custom workers and would not create a sandbox.

Design an opt-in worker environment/cwd policy that is portable and visible in evidence. Decide which platform variables are necessary and how callers explicitly pass additional values. Keep secrets out of receipts and diagnostics. Do not describe process groups, timeouts, or environment filtering as a security sandbox.

Acceptance criteria:

  • Existing invocation behavior remains compatible by default.
  • Capability probes and analysis use the same policy.
  • Test locale, temporary directories, loader behavior, executable symlinks, cancellation, and Windows descendants.
  • Define any stronger OS/container isolation as a separate external boundary.

Related: #1, #2, #40.

Ngôn ngữ chính
Go
Star
0
Fork
0
Merge trung bình
5 giờ 8 phút
Pull request đã merge (30 ngày)
54

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 war-and-code/dircue

Tất cả issue của war-and-code/dircue

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.