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

chore(platform): register pre-existing token-admission controls as security-relevant

Đang mở Phù hợp với người mới
#2,168 0 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
78/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ệ
openapi, python, rust, shell, yaml
Lĩnh vực
backend, security, testing-qa

Hướng nghiên cứu

Xem lại các mục securityMembers hiện có trong products/platform/config-formats.yaml và so sánh chúng với các con trỏ được liệt kê cùng các định dạng gần đó; xác định mỗi thành viên bị bỏ qua nên dùng whenOmitted: open hay refused. Kiểm tra lược đồ forwardAccessAttribution trong products/evidence/contracts/bundle.schema.yaml, sau đó chạy check-config-conventions.py, products/evidence/scripts/check-contracts.sh và check-config-key-paths.sh để xác nhận rằng mọi con trỏ đều được phân giải và các kiểm tra hiện có đều đạt.

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

Mô tả

Found while reviewing the token-trust PR (#2101). That PR registers its own new members; these older ones predate it.

Unregistered token-admission controls. CFG-SCHEMA-1 and CFG-EMPTY-3 require each format's security-relevant members to be listed under securityMembers in products/platform/config-formats.yaml. These members already exist on main and narrow token admission, so leaving one out keeps the broader rule. None of them is registered:

Format Pointer
breg/runtime /authentication/oidc/deniedKids
breg/runtime /authentication/oidc/maximumTokenLifetimeSeconds
breg/mcp-runtime /resourceServer/maximumTokenLifetimeSeconds
evidence/bundle /authentication/oidc/maximumTokenLifetimeSeconds
evidence/target /authentication/oidc/maximumTokenLifetimeSeconds
evidence/oid4vci-runtime /offers/maximumTokenLifetimeSeconds

Each one likely needs whenOmitted: open. Confirm that per format: some readers may require the member, which makes it refused. Evidence's revokedKeyIds deserves the same check.

Undeclared boolean default in the frozen bundle schema. forwardAccessAttribution in products/evidence/contracts/bundle.schema.yaml says "Omission is false" in prose but declares no default: false. CFG-EMPTY-4 asks for the declared default.

Done when:

  • check-config-conventions.py resolves every added pointer;
  • products/evidence/scripts/check-contracts.sh and check-config-key-paths.sh still pass.

Changing the registry metadata and the schema annotation changes no reader behavior.

Ngôn ngữ chính
Rust
Star
2
Fork
0
Merge trung bình
10 giờ 32 phút
Pull request đã merge (30 ngày)
269

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 registrystack/registry-stack

Tất cả issue của registrystack/registry-stack

Issue tương tự

Thêm issue về Rust

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.