AI PR 垃圾正在淹没开源项目
推荐指数 55.0 NO. 017 · 2026.06.25
发布2026/06/24Score84Comments58
为什么值得看
OpenClaw 成为 GitHub 史上增长最快仓库后,每周 PR 从 2 个暴涨至 3400 个,合并率从 48% 暴跌至 9.3%,大量为 AI 生成的低质量代码。这是首个大规模暴露 AI 编码代理对开源协作破坏性的案例,预示开源维护者将面临严峻的治理危机。
编辑判断
这个案例暴露了一个被忽视的系统性风险:GitHub 的声誉和激励体系建立在人类贡献者的成本约束上,当 AI 把提交 PR 的边际成本压到接近零时,整个筛选机制会崩溃。目前主流方案如 GitHub Actions 的自动化检查只能过滤技术层面问题,无法识别"语法正确但设计冗余"的 AI slop。
Greptile 这类 AI 审查代理的兴起本身也是双刃剑——它既可能是解药,也可能加速军备竞赛,让攻击方用更强的 AI 绕过检测。对于维护中小型开源项目的读者,建议立即设置贡献者门槛(如要求先开 issue 讨论)、限制新账号 PR 频率,而不是依赖事后审查。
更深层的问题是:如果 GitHub 不重构其贡献者信誉体系,2025 年可能有大量项目被迫从"开放贡献"退回"邀请制",这将对开源生态造成结构性伤害。
社区反馈
负面 53 条评论
核心争论:AI生成PR动机是善意助人还是自私刷简历,以及治理该用AI过滤还是直接禁止
相关内容
开源项目遭人工智能垃圾内容淹没,GitHub面临挑战 大型开源仓库正被大量"AI slop"淹没,导致GitHub协作流程近乎失灵,新Pull Request涌入成灾。 AI 正在毁掉开源:维护者士气跌至谷底,开始集体掀桌 Ghostty实施零容忍政策,tldraw自动关闭外部PR,cURL终止漏洞悬赏计划,维护者社会契约被撕毁。 AI 垃圾氾濫,開源專案開始不再接受外部貢獻 tldraw因饱受苦垃圾PR困扰,决定暂不接受外部贡献;Hashimoto呼吁建立黑名单封锁滥用者。 PC Gamer:Godot 正在淹没在"人工智能垃圾"代码贡献中 自一月份以来,低质量问题和PR浪潮席卷整个开源生态系统,Godot等专案深受其害。
Maybe we should cut out the middle-man and make it easy for people to donate token credits to open-source projects, and let the maintainers decide how to use them.
Unfortunately "I donated money/tokens to open source" doesn't land interviews as well as "I'm a big contributor to open source" People spamming Open Source repos with AI PRs aren't trying to help Open Source, they're trying to build a brand, some kind of credible online presence with their user
This is the most uncharitable outlook on the increase of PRs. It may be true for some contributors, but any company reviewing their GitHub will see that the code is largely spam. I think most AI generated code is people that want to help the project, but maybe aren’t familiar with the standards and