AI News AI资讯 8h ago Updated 2h ago 更新于 2小时前 50

Anthropic Releases Claude Security Plugin for Claude Code in Beta: A Multi-Agent Vulnerability Scanner That Runs in Your Terminal Anthropic发布Claude Code安全插件测试版:在终端运行的多代理漏洞扫描器

Anthropic released the Claude Security plugin for Claude Code in beta, enabling multi-agent vulnerability scanning directly within the development environment. The system employs a dynamic six-phase workflow orchestrated by Opus and Sonnet models, utilizing specialized subagents for threat modeling, research, and adversarial verification. Findings undergo a rigorous "panel" verification process requiring a 2-of-3 quorum from independent verifiers (Reachability, Impact, Defenses) to ensure high c Anthropic发布Claude Security插件Beta版,支持在Claude Code会话内对代码库进行多智能体漏洞扫描并生成补丁。 采用动态工作流架构,通过六个阶段(库存、威胁建模、研究、扫尾、小组验证、对抗性测试)执行深度安全分析。 引入“三透镜”独立验证机制(可达性、影响、防御),仅当2/3投票一致时才将发现纳入报告,确保结果严谨性。 提供四种努力层级和基于Opus/Sonnet模型的分级代理配置,平衡扫描深度与资源消耗。 输出标准化报告(Markdown/JSONL)及经过独立审查的补丁文件,所有变更隔离在临时目录,保障开发环境安全。

75
Hot 热度
70
Quality 质量
68
Impact 影响力

Analysis 深度分析

TL;DR

  • Anthropic released the Claude Security plugin for Claude Code in beta, enabling multi-agent vulnerability scanning directly within the development environment.
  • The system employs a dynamic six-phase workflow orchestrated by Opus and Sonnet models, utilizing specialized subagents for threat modeling, research, and adversarial verification.
  • Findings undergo a rigorous "panel" verification process requiring a 2-of-3 quorum from independent verifiers (Reachability, Impact, Defenses) to ensure high confidence and reduce false positives.
  • The plugin generates structured reports and patch files that are independently reviewed by a separate agent against the project's test suite before being presented to the user.

Why It Matters

This release represents a significant step toward integrating automated security auditing into the CI/CD and local development workflows using agentic AI. By moving beyond simple static analysis to multi-agent reasoning and verification, it addresses common issues with LLM-generated security advice, such as hallucinations and lack of context. For practitioners, this offers a scalable way to identify and remediate vulnerabilities without leaving the IDE, potentially accelerating secure software delivery.

Technical Details

  • Architecture: The plugin uses a JavaScript orchestration script that fans out work to subagents across six phases: Inventory, Threat Model, Research, Sweep, Panel, and Adversarial review.
  • Model Tiering: The orchestrator runs on Claude Opus, while the cartographer and code explorer use Claude Sonnet. Researchers and verifiers inherit the session model. All scan agents are restricted to read-only tools.
  • Verification Logic: Candidate findings are evaluated by three independent verifiers focusing on REACHABILITY, IMPACT, and DEFENSES. A finding is included only if at least two verifiers classify it as TRUE_POSITIVE. Confidence levels are capped based on the quorum (High for 3/3, Medium for 2/3).
  • Effort Tiers: Runs are scaled via four effort tiers (Low, Medium, High, Max), which adjust component caps (12-24), researcher counts (1-2), and sweep iterations (0-2). Memory-safe languages automatically drop the memory-and-unsafe lens.
  • Output Artifacts: Scans produce a timestamped directory containing CLAUDE-SECURITY-RESULTS.md (human-readable), CLAUDE-SECURITY-RESULTS.jsonl (machine-readable), and a revision stamp JSON file detailing verification status. Patches are generated in scratch clones and verified against the test suite.

Industry Insight

  • Shift Left Security: Developers should integrate this tool early in the coding phase to catch vulnerabilities before they reach production, reducing the cost and complexity of later remediation.
  • Trust but Verify: The explicit separation between finding generation and verification, along with the ability to audit the verification status, sets a new standard for transparency in AI-assisted security tools. Teams must understand that AI suggestions still require human oversight, especially regarding behavioral changes.
  • Standardization of Agentic Workflows: The structured approach to multi-agent collaboration (orchestrator -> researchers -> verifiers) provides a blueprint for building other complex agentic systems where reliability and error reduction are critical.

TL;DR

  • Anthropic发布Claude Security插件Beta版,支持在Claude Code会话内对代码库进行多智能体漏洞扫描并生成补丁。
  • 采用动态工作流架构,通过六个阶段(库存、威胁建模、研究、扫尾、小组验证、对抗性测试)执行深度安全分析。
  • 引入“三透镜”独立验证机制(可达性、影响、防御),仅当2/3投票一致时才将发现纳入报告,确保结果严谨性。
  • 提供四种努力层级和基于Opus/Sonnet模型的分级代理配置,平衡扫描深度与资源消耗。
  • 输出标准化报告(Markdown/JSONL)及经过独立审查的补丁文件,所有变更隔离在临时目录,保障开发环境安全。

为什么值得看

该插件展示了企业级AI安全工具从“辅助建议”向“自动化验证”演进的关键一步,通过多智能体协作和严格的验证协议显著降低了误报率。对于关注DevSecOps和AI Agent安全性的从业者而言,其架构设计为构建可信赖的代码审计流程提供了重要参考。

技术解析

  • 动态工作流与多阶段扫描:插件使用JavaScript编排脚本,将扫描分解为Inventory(组件划分)、Threat model(威胁建模)、Research(分类研究)、Sweep(缺口填补)、Panel(三透镜验证)和Adversarial(对抗性红队)六个阶段,实现从宏观到微观的深度覆盖。
  • 分层模型与代理架构:系统采用模型分级策略,编排器使用Opus模型,仓库测绘器和只读代码探索器使用Sonnet模型,研究人员和验证器继承会话模型。所有扫描代理被限制为只读工具访问,防止意外修改。
  • 严格的验证与置信度机制:每个候选漏洞需经过REACHABILITY、IMPACT、DEFENSES三个独立验证器的结构化裁决(TRUE_POSITIVE/FALSE_POSITIVE)。只有获得2/3多数票才能进入报告,且置信度上限由投票一致性决定(3/3为高,2/3为中),最终统计由Python渲染器计算而非模型自述,确保可审计性。
  • 可扩展的努力层级:根据Low/Medium/High/Max四个层级调整扫描规模,包括组件数量上限(12或24)、研究人员数量(1或2)和扫尾迭代次数。针对小范围差异(如单个提交)可简化为单研究员配置,保持比例适配。
  • 安全的输出与补丁流程:扫描结果写入带.gitignore的专用目录,包含可读报告、JSONL数据及修订印章。补丁生成在隔离的scratch clone中进行,由独立代理审查差异并运行测试套件,仅当确认修复有效、无新漏洞且行为未改变时才输出。

行业启示

  • AI安全工具需具备自我验证能力:单纯依靠LLM生成安全建议存在幻觉风险,引入多智能体交叉验证和结构化裁决机制是提升企业级AI安全工具可信度的关键路径。
  • DevSecOps集成趋向自动化与精细化:未来代码安全扫描将更深入地融入CI/CD流程,支持按需触发(如Commit前检查)并提供可解释、可审计的修复方案,而不仅仅是列出问题。
  • 资源效率与扫描深度的平衡策略:通过动态调整工作流复杂度和模型调用层级,AI安全工具能够在保证核心漏洞检出率的同时,有效控制计算成本,这对大规模代码库的日常安全运营至关重要。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Claude Claude Security 安全 Code Generation 代码生成 Agent Agent Product Launch 产品发布