> ## Content Index
> Fetch the complete content index at: https://globalfeed.ai/llms.txt
> Use this file to discover other available public pages before exploring further.

# 读补丁、自己写攻击代码的智能体：Google 新威胁报告揭示了什么
- URL: https://globalfeed.ai/zh/du-bu-ding-zi-ji-xie-gong-ji-dai-ma-de-zhi-neng-ti-google-xin-wei-xie-bao-gao-jie-shi-liao-shi-yao/
- Published: 2026-11-18T12:55:23.000Z
- Updated: 2026-11-18T12:55:23.000Z
- Description: Google 威胁情报小组 11 月 17 日的报告描述了一个比较补丁前后代码并自行编写攻击代码的智能体链条，还涉及 PaperCut 漏洞、通过 Claude Code 设置文件发起的攻击以及用被盗密钥运行模型，并给出修复版本和防护步骤。
- Author: GlobalFeed Editor
- Tags: 网络安全, Google, AI 智能体, PaperCut, dil-zh, elle

软件公司修补安全漏洞时，补丁本身也会留下线索：把修补前后的代码放在一起比较，就能看出修了什么。这项工作过去需要专家花好几天。Google 威胁情报小组（GTIG）11 月 17 日发布的[季度 AI 威胁报告](https://cloud.google.com/blog/topics/threat-intelligence/agentic-threat-activity-crosses-a-significant-threshold?ref=globalfeed.ai)描述了一个由智能体链条从头到尾完成这项工作的具体案例，同时也为防守方提供了一份检查清单。

## 从补丁到攻击代码

据 Google 报告，GTIG 在一台暴露在网上的预备服务器上发现了名为 `exploit_agent` 的框架。它结合多个大模型和本地模型，持续比较热门网页应用打补丁前后的代码，找出漏洞、编写攻击代码并"无需人工干预"地执行。GTIG 9 月的分析显示，2026 年 1 月至 8 月公开的漏洞和攻击代码数量几乎翻倍；零日漏洞从 2025 年月均 8 个增至 2026 年的 11 个，8 月达到 22 个。

## PaperCut：补丁很快，安装是关键

打印管理软件 PaperCut NG/MF 在 8 月底被发现两个可串联利用的漏洞：CVE-2026-81578 和 CVE-2026-82078。[PaperCut 官方安全公告](https://www.papercut.com/kb/Main/security-bulletin-27-aug-2026-urgent-security-advisory/?ref=globalfeed.ai)于 8 月 27 日发布，Huntress 同日报告了攻击，[GreyNoise](https://www.greynoise.io/blog/ai-orchestrated-campaign-against-papercut-ng-mf?ref=globalfeed.ai) 则详细描述了攻击者如何借助 AI 智能体开发攻击代码。PaperCut 很快推出紧急补丁，并于 9 月 10 日发布维护版本 26.0.5、25.0.13 和 24.1.10；23 及更早版本不再提供补丁，需升级到受支持版本。

## 编码智能体的设置文件

报告称，一个针对加密货币公司的团伙进入内部代码库后修改了 `.claude/settings.json`，让开发者启动 Claude Code 时自动下载后门。这利用的是 Claude Code 有文档说明的"钩子"（hooks）功能。防护方法同样写在[官方文档](https://code.claude.com/docs/en/hooks?ref=globalfeed.ai)中：`/hooks` 命令会列出每个钩子的来源和完整命令，`disableAllHooks` 可以关闭钩子，企业可用 `allowManagedHooksOnly` 只允许经批准的钩子。审查代码时也应同样关注 `.claude/` 目录的改动。

## 被盗密钥与检查清单

报告还描述了攻击者用被盗云账户和 API 密钥运行模型的 LLMJacking，部分事件单日费用超过 10 万美元。Google 建议用密钥管理器保存并定期轮换密钥、扫描代码库中的密钥、按模型设置支出上限和预算提醒，并把 LiteLLM 等网关纳入补丁计划（[CVE-2026-40217](https://github.com/advisories/GHSA-wxxx-gvqv-xp7p?ref=globalfeed.ai) 已在 1.83.11 修复）。我们曾在 11 月 5 日的[另一篇报道](https://globalfeed.ai/zh/zhuan-mai-ta-ren-aifang-wen-quan-xian-de-di-xia-shi-chang-llmjackingru-he-yun-zuo/)中介绍这类访问权限如何被转卖。

来源： [Google GTIG 报告](https://cloud.google.com/blog/topics/threat-intelligence/agentic-threat-activity-crosses-a-significant-threshold?ref=globalfeed.ai), [PaperCut 安全公告](https://www.papercut.com/kb/Main/security-bulletin-27-aug-2026-urgent-security-advisory/?ref=globalfeed.ai), [Claude Code 钩子文档](https://code.claude.com/docs/en/hooks?ref=globalfeed.ai), [LiteLLM 安全公告](https://github.com/advisories/GHSA-wxxx-gvqv-xp7p?ref=globalfeed.ai)

*本文由 Claude 撰写。*