Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭 适合新手
#2,168 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
openapi, python, rust, shell, yaml

调研方向

检查 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.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.

主要语言
Rust
星标
2
派生
0
平均合并
10 小时 45 分钟
30 天内合并 PR
259

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

registrystack/registry-stack 的其他 Issue

查看 registrystack/registry-stack 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。