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

fix(review): explain-change artifact medium should look up repo visibility itself

未关闭
#6,951 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

已经有一个关联 PR 被合并了。

  • #7731 来自 @melodic-automation-lanes —— 已合并

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
github, javascript
领域
security, tooling

调研方向

Start with the visibility lookup that publish-hosted.mjs gained in #6783, which uses gh repo view with a host check, and find where the artifact medium's publish gate takes its visibility from the model. Route the artifact gate through the same verified lookup, using REST in cloud sessions as #6750 requires. Done when both media gate on the same verified value and no model-supplied visibility reaches either upload.

由索引模型根据 Issue 内容生成。

描述

needs-human needs-triage

explain-change's publish gate for the hosted medium now resolves repository visibility itself (#6783, closing #6748): no model-supplied visibility reaches the hosted upload. The artifact medium still takes visibility from the model's own reading of the repository.

Problem

On the artifact path, a private repository can be treated as public when the model misreads its visibility. The worst case is a private claude.ai Artifact (default-private), so the leak risk is lower than the hosted case #6748 fixed, but the gate's input is still untrusted.

Proposed fix

Reuse the visibility lookup that publish-hosted.mjs gained in #6783 (gh repo view with the host check) for the artifact path's gate input, so both media gate on the same verified value.

Related

  • #6748, #6783 (hosted-medium fix)
  • #6749 (stale hosted sidecar), #6750 (GraphQL in cloud sessions: the lookup must use REST there)
主要语言
Shell
星标
22
派生
2
平均合并
6 小时 11 分钟
30 天内合并 PR
955

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

melodic-software/claude-code-plugins 的其他 Issue

查看 melodic-software/claude-code-plugins 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

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