news 2026/7/15 9:26:25

Dependabot 版本更新引入默认冷却期,降低供应链攻击风险!

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
Dependabot 版本更新引入默认冷却期,降低供应链攻击风险!

跳过内容 跳至侧边栏

[ ](https://github.com) / [ 博客](https://github.blog/)
* [更新日志](https://github.blog/changelog/)
* [文档](https://docs.github.com/)
* [客户案例](https://github.com/customer-stories)
[ 试用 GitHub Copilot CLI](https://github.com/features/copilot/cli?utm_source=blog-top-nav-cli-features-cta&utm_medium=blog&utm_campaign=dev-pod-copilot-cli-2026) [ 参加 GitHub Universe](https://githubuniverse.com/?utm_source=Blog-button&utm_medium=GitHub&utm_campaign=blog_button_seb_uni_26)
搜索
* [更新日志](https://github.blog/changelog/)
* [文档](https://docs.github.com/)
* [客户案例](https://github.com/customer-stories)
[ 参加 GitHub Universe](https://githubuniverse.com/?utm_source=Blog-button&utm_medium=GitHub&utm_campaign=blog_button_seb_uni_26) [ 试用 GitHub Copilot CLI](https://github.com/features/copilot/cli?utm_source=blog-top-nav-cli-features-cta&utm_medium=blog&utm_campaign=dev-pod-copilot-cli-2026)
[ 返回更新日志](https://github.blog/changelog/)

改进

2026 年 7 月 14 日 • 阅读时长 1 分钟
现在,Dependabot 在打开版本更新拉取请求之前,会等待新发布版本在其注册表中至少可用三天。这一冷却期现在是默认设置,无需额外配置。
新版本发布通常是供应链攻击的常见切入点,在维护者和社区发现之前,受感染或有问题的版本可能就会进入你的依赖项更新中。短暂的延迟可以让问题有时间暴露出来,这样你就不太可能在有问题的版本发布后立即合并它。
需要了解的几点内容:
* 此默认设置仅适用于版本更新。安全更新仍会立即打开,因此关键修复不会有延迟。
* 你可以自主控制。通过在 `.github/dependabot.yml` 中使用 `cooldown` 选项来设置不同的时间窗口,或者完全取消该设置。
此默认设置适用于 github.com 上所有支持的生态系统中的 Dependabot 版本更新,并将在 GitHub Enterprise Server (GHES) 3.23 中生效。
在[我们关于 Dependabot 冷却期的文档](https://docs.github.com/code-security/dependabot/working-with-dependabot/dependabot-options-reference#cooldown-)中了解更多信息。
[供应链安全](https://github.blog/changelog/2026/?label=supply-chain-security) 分享 已复制 已分享 [ 返回更新日志](https://github.blog/changelog/)

相关文章

7 月 8 日发布
[ 内部开源安全公告全面可用](https://github.blog/changelog/2026-07-08-innersource-security-advisories-are-generally-available)
[供应链安全](https://github.blog/changelog/2026/?label=supply-chain-security)
7 月 8 日停用
[ npm 安装时安全和 GAT 绕过 2FA 弃用](https://github.blog/changelog/2026-07-08-npm-install-time-security-and-gat-bypass2fa-deprecation)
[供应链安全](https://github.blog/changelog/2026/?label=supply-chain-security)
6 月 30 日发布
[ 开源许可证合规性进入公开预览](https://github.blog/changelog/2026-06-30-open-source-license-compliance-is-in-public-preview)
[供应链安全](https://github.blog/changelog/2026/?label=supply-chain-security)
6 月 30 日改进
[ Dependabot 不再推断 .npmrc](https://github.blog/changelog/2026-06-30-dependabot-no-longer-infers-npmrc)
[供应链安全](https://github.blog/changelog/2026/?label=supply-chain-security)
6 月 30 日改进
[ 即将实施的已关闭安全警报云数据保留策略](https://github.blog/changelog/2026-06-30-cloud-data-retention-policy-for-closed-security-alerts)
[应用安全](https://github.blog/changelog/2026/?label=application-security) [供应链安全](https://github.blog/changelog/2026/?label=supply-chain-security) ... +1
6 月 26 日改进
[ 针对不可信触发器的只读 Actions 缓存](https://github.blog/changelog/2026-06-26-read-only-actions-cache-for-untrusted-triggers)
[Actions](https://github.blog/changelog/2026/?label=actions) [供应链安全](https://github.blog/changelog/2026/?label=supply-chain-security) ... +1
6 月 25 日改进
[ npm 为高影响账户添加预防性账户保护](https://github.blog/changelog/2026-06-25-npm-adds-preventive-account-protection-for-high-impact-accounts)
[供应链安全](https://github.blog/changelog/2026/?label=supply-chain-security)
6 月 23 日停用
[ Dependabot 弃用 Python 3.9](https://github.blog/changelog/2026-06-23-deprecation-of-python-3-9-for-dependabot)
[供应链安全](https://github.blog/changelog/2026/?label=supply-chain-security)
6 月 18 日发布
[ GitHub Actions 检出更安全的 pull_request_target 默认设置](https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout)
[Actions](https://github.blog/changelog/2026/?label=actions) [供应链安全](https://github.blog/changelog/2026/?label=supply-chain-security) ... +1

订阅我们的开发者时事通讯

在我们为开发者定制的双周时事通讯中发现技巧、技术指南和最佳实践。
输入你的电子邮件* 订阅
提交即表示我同意让 GitHub 及其附属公司使用我的信息进行个性化沟通、定向广告和活动效果评估。详情请参阅[GitHub 隐私声明](https://github.com/site/privacy)。
返回顶部

全站链接

[ ](https://github.com/)
产品
* [功能](https://github.com/features)
* [安全](https://github.com/security)
* [企业版](https://github.com/enterprise)
* [客户案例](https://github.com/customer-stories?type=enterprise)
* [定价](https://github.com/pricing)
* [资源](https://resources.github.com/)
平台
* [开发者 API](https://developer.github.com/)
* [合作伙伴](https://partner.github.com/)
* [Atom](https://atom.io/)
* [Electron](https://www.electronjs.org/)
* [GitHub Desktop](https://desktop.github.com/)
支持
* [文档](https://docs.github.com/)
* [社区论坛](https://github.community/)
* [培训](https://services.github.com/)
* [状态](https://www.githubstatus.com/)
* [联系我们](https://support.github.com/)
公司
* [关于我们](https://github.com/about)
* [博客](https://github.blog/)
* [职业机会](https://github.com/about/careers)
* [媒体报道](https://github.com/about/press)
* [商店](https://shop.github.com/)

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/7/15 9:25:51

datalib API参考:完整掌握数据工具库的所有功能

datalib API参考:完整掌握数据工具库的所有功能 【免费下载链接】datalib JavaScript data utility library. 项目地址: https://gitcode.com/gh_mirrors/da/datalib datalib是一个功能强大的JavaScript数据工具库,提供了丰富的数据处理、分析和转…

作者头像 李华
网站建设 2026/7/15 9:23:58

企业数字化GEO技术应用风险解析

企业数字化GEO技术应用风险解析随着生成式AI搜索引擎的普及,GEO(生成式引擎优化)已成为企业数字化营销的新标配。然而,在技术快速迭代的过程中,风险与机遇并存。据QuestMobile最新行业调研显示,2024年Q2已有…

作者头像 李华
网站建设 2026/7/15 9:22:44

AI 前沿速报 · 周报第29周(7月6日——7月12日)

AI 前沿速报 周报第29周📋 主选资讯(10条)1. OpenAI GPT-5.6 系列全量开放:Sol / Terra / Luna 三档定价,Ultra 模式默认 4 Agent 并行 [官方发布] [产品更新]2. OpenAI 发布 ChatGPT Work:Codex 并入 Cha…

作者头像 李华
网站建设 2026/7/15 9:22:33

CANN/cannbot-skills:AscendC 算子性能调优方案实施专家

【免费下载链接】cannbot-skills CANNBot 是面向 CANN 开发的用于提升开发效率的系列智能体,本仓库为其提供可复用的 Skills 模块。 项目地址: https://gitcode.com/cann/cannbot-skills name: ascendc-perf-impl-expert description: AscendC 算子性能调优方…

作者头像 李华
网站建设 2026/7/15 9:22:23

从零实现C++线程池:深入理解多线程编程核心原理与实践

1. 项目概述:为什么我们需要亲手实现一个C线程池?在C高并发编程的世界里,线程池是一个绕不开的核心组件。你可能在面试中被问过它的七个参数,也可能在生产环境中遇到过因为线程管理不当导致的性能瓶颈或诡异崩溃。网上有很多现成的…

作者头像 李华
网站建设 2026/7/15 9:21:55

如何优化Agents-A1-8bit性能:内存管理与推理加速技巧

如何优化Agents-A1-8bit性能:内存管理与推理加速技巧 【免费下载链接】Agents-A1-8bit 项目地址: https://ai.gitcode.com/hf_mirrors/mlx-community/Agents-A1-8bit 想要充分发挥Agents-A1-8bit模型的强大能力?😊 这篇终极指南将为你…

作者头像 李华