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

Windows sandbox: the toolchain cache is readable by every AppContainer on the machine

Đang mở
#151 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
52/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
security

Hướng nghiên cứu

Start by reading win.rs:633-645 and win.rs:1763, then trace how project sandbox tokens receive their derived capability. Check how the toolchain cache ACL and sandbox token capabilities are configured together. Done means only Patch's sandbox tokens can read the cache, rather than all AppContainers; run the relevant Windows sandbox tests.

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

Mô tả

bug platform: windows priority: low security severity: low

Found in the 2026-10-07 security audit.

Problem

win.rs:633-645 and :1763 grant the toolchain cache (%LOCALAPPDATA%\Patch\sandbox-toolchains\cache) FILE_READ_EXECUTE to ALL APPLICATION PACKAGES (S-1-15-2-1).

Impact

Every AppContainer on the machine can read the copied Program Files toolchains, not only Patch's sandbox: Store apps and other vendors' sandboxes. This is minor information disclosure and makes the cache more widely shared than its purpose needs.

Fix

Grant the cache to a dedicated derived capability (for example patch.toolchains) that only Patch's sandbox tokens carry, as is already done for projects.

Ngôn ngữ chính
TypeScript
Star
2
Fork
2
Merge trung bình
5 giờ 28 phút
Pull request đã merge (30 ngày)
24

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 PierrunoYT/patch

Tất cả issue của PierrunoYT/patch

Issue tương tự

Thêm issue về TypeScript

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.