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

fix(disk-hygiene): check ownership of the no-interpreter notice marker before trusting it

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

维护者通常 1 天内回复

@kyle-sexton 已经在做这个了。

开始于 2026年10月11日。

  • #7187 来自 @kyle-sexton —— 未关闭

评估

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

调研方向

Locate the disk-hygiene code that latches the once-per-session no-interpreter notice via ${TMPDIR:-/tmp}/disk-hygiene-guard-no-interpreter/ (including the extra reader added for the Stop monitor). Before trusting or writing that marker, verify the path is a directory owned by the current user and is not a symlink; otherwise treat the notice as not yet shown. The guard must still fail closed. Confirm with the related #6225/#6311 hygiene paths that another user cannot silence the notice by pre-creating the directory or a symlink.

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

描述

area: security needs-triage priority: low

Problem

When no Python interpreter is found, disk-hygiene latches its once-per-session notice through a fallback marker directory, ${TMPDIR:-/tmp}/disk-hygiene-guard-no-interpreter/. Another local user can pre-create that directory, or a symlink in its place, and silence the notice for every session. It cannot turn a deny into an allow: the guard still fails closed. The exposure predates #6225; the #6225 disk-hygiene PR (#6311) adds one more reader of the marker (the Stop monitor).

Found by the security review on #6311 (P5).

Expected

Before trusting or writing the marker, check that the directory is owned by the current user and is not a symlink. Otherwise, treat the notice as not yet shown.

Related

#6225, #6311.

主要语言
Shell
星标
22
派生
2
平均合并
8 小时 24 分钟
30 天内合并 PR
947

环境准备

  • 没有 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 摘要。