chore(platform): register pre-existing token-admission controls as security-relevant
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 78/100
调研方向
检查 products/platform/config-formats.yaml 中现有的 securityMembers 条目,并将它们与列出的指针及相邻格式进行比较;确定每个省略的成员应使用 whenOmitted: open 还是 refused。检查 products/evidence/contracts/bundle.schema.yaml 中的 forwardAccessAttribution schema,然后运行 check-config-conventions.py、products/evidence/scripts/check-contracts.sh 和 check-config-key-paths.sh,以确认每个指针都能解析,且现有检查均通过。
由索引模型根据 Issue 内容生成。
描述
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.pyresolves every added pointer;products/evidence/scripts/check-contracts.shandcheck-config-key-paths.shstill pass.
Changing the registry metadata and the schema annotation changes no reader behavior.
- 主要语言
- Rust
- 星标
- 2
- 派生
- 0
- 平均合并
- 10 小时 45 分钟
- 30 天内合并 PR
- 259
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
registrystack/registry-stack 的其他 Issue
-
area:render bug criticality:p2
难度 2/5 1-3 小时 新手友好度 78/100
registrystack/registry-stack#2223 · 1 条评论 ·
维护者通常 1 天内回复
-
area:discovery bug criticality:p2
难度 2/5 1-3 小时 新手友好度 83/100
registrystack/registry-stack#2221 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
registrystack/registry-stack#2200 ·
维护者通常 1 天内回复
-
area:casework bug criticality:p2 triage:needs-implementation
难度 2/5 1-3 小时 新手友好度 82/100
registrystack/registry-stack#2199 ·
维护者通常 1 天内回复
-
1.0-blocker area:casework bug criticality:p1 triage:needs-implementation
难度 2/5 1-3 小时 新手友好度 76/100
registrystack/registry-stack#2195 ·
维护者通常 1 天内回复
查看 registrystack/registry-stack 的全部 Issue
相似的 Issue
-
area:io needs-info needs-triage
难度 2/5 1-3 小时 新手友好度 63/100
bherbruck/solvecraft#3216 · 1 条评论 ·
-
bug triage/needs-triage
难度 2/5 1-3 小时 新手友好度 72/100
praxis-proxy/grid#412 ·
维护者通常 1 天内回复
-
priority: low
难度 2/5 1-3 小时 新手友好度 63/100
storytold/photocraft#7824 · 1 条评论 ·
维护者通常 1 天内回复
-
area:ui chore could help wanted
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复