Anthropic 为 Claude Code 推出 Claude Security 插件 Beta 版。该插件可在现有 Claude Code 会话中对仓库执行多智能体漏洞扫...
产品更新MarkTechPost(RSS)
今日 AI 情报摘要
Anthropic 为 Claude Code 推出 Claude Security 插件 Beta 版。
该插件可在现有 Claude Code 会话中对仓库执行多智能体漏洞扫描,并将选中的发现转化为补丁文件供用户审查和应用。
中文正文 · AI 翻译
Anthropic 已经发布了 Claude Code 的 Claude Security 插件测试版。该插件可以在现有的 Claude Code 会话中对仓库进行多代理漏洞扫描,然后将您选择的发现转化为补丁文件,由您自己审核和应用。Anthropic 在发布时强调了该工具的多功能性,强调其能够对整个代码库进行全面扫描,也可以在提交之前从终端检查更改。
来源:Claude Security 插件文档:https://code.claude.com/docs/en/claude-security,Claude Security 产品页面:https://claude.com/product/claude-security,插件源码,claude-plugins-official:https://github.com/anthropics/claude-plugins-official/tree/main/plugins/claude-security,@claudeai 公告:https://x.com/claudeai/status/2079990597973057691 以及 Claude Security 公测博客:https://claude.com/blog/claude-security-public-beta
Michal Sutter 是一名数据科学专业人士,拥有帕多瓦大学数据科学硕士学位。凭借在统计分析、机器学习和数据工程方面的扎实基础,Michal 擅长将复杂的数据集转化为可操作的洞察。
构建一个具有自主能力的活动场地运营商 [完整代码]:https://pxllnk.co/twdn5
谢谢!我们的团队会尽快与您联系 🙌
Anthropic has released the Claude Security plugin for Claude Code in beta. The plugin runs a multi-agent vulnerability scan of a repository from inside an existing Claude Code session, then turns the findings you select into patch files that you review and apply yourself. Anthropic emphasized the tool’s versatility upon announcement, highlighting its capability to either run a comprehensive scan across the full codebase or inspect changes from the terminal right before a commit.
The plugin adds a single command, /claude-security, which opens a menu of three jobs, per the official documentation:https://code.claude.com/docs/en/claude-security:
Installation is two commands from the official Anthropic marketplace:https://code.claude.com/docs/en/discover-plugins#official-anthropic-marketplace:
If the marketplace is not found, run /plugin marketplace add anthropics/claude-plugins-official first. The plugin source is public in the claude-plugins-official repository:https://github.com/anthropics/claude-plugins-official/tree/main/plugins/claude-security, currently at version 0.10.0.
The scan is implemented as a dynamic workflow:https://code.claude.com/docs/en/workflows — a JavaScript orchestration script that fans work out across subagents. The script declares six phases:
Research runs against four fixed categories: injection-and-input, auth-and-access, memory-and-unsafe, and crypto-and-secrets. The memory-and-unsafe lens is dropped for components written entirely in memory-safe languages, so a pure Python or TypeScript component gets three lenses instead of four.
The operational scale of a run is dictated by four distinct effort tiers: low, medium, high, and max. Depending on the selected tier, specific thresholds are enforced: the maximum number of components is capped at 12 for low and medium tiers, expanding to 24 for high and max tiers; matrix cells are assigned 1 researcher, which increases to 2 at the high and max levels; and the number of gap-fill sweeps scales from 0 at low, to 1 at medium, up to 2 for high and max. When dealing with a limited scope or a small diff, the process condenses into a single-researcher configuration instead of deploying the entire matrix. This ensures the evaluation remains strictly proportionate to the target while maintaining the identical verification standard.
The system employs model-tiered agents: the orchestrator runs on Opus, while the repository cartographer and read-only code explorer run on Sonnet. Furthermore, the session model is inherited by researchers and verifiers, and scan agents are restricted exclusively to read-only tools.
This is the part worth understanding closely. A candidate finding does not go into the report because a researcher found it. It goes in only after surviving a panel.
Each candidate is handed to three independent verifiers, one per lens: REACHABILITY , IMPACT , and DEFENSES . Each returns a structured verdict of TRUE_POSITIVE or FALSE_POSITIVE with one or two lines naming the decisive file:line. The keep quorum is 2 of 3. If fewer than three voters return, the candidate is not keepable at all.
The panel result also caps the finding’s stated confidence. A unanimous 3/3 panel allows a confidence ceiling of high; a 2/3 quorum caps it at medium. A finding cannot claim more confidence than its verification earned.
Critically, the tally is computed in Python by the report renderer, not asserted by the model that produced the findings. The revision stamp’s verification.status is set to verified only when the vote record proves the panel ran for every finding in the report; otherwise it is unverified with a stated reason. That makes the report’s own account of its rigor something you can check rather than something you take on trust.
Every scan writes a timestamped CLAUDE-SECURITY- / directory into the repository containing three artifacts:
That directory is the only change a scan makes to your checkout, and it ships with its own .gitignore so a stray git add cannot sweep a report into a commit. Deleting that one .gitignore lets you commit the report for an audit trail.
The fix job develops each patch in a scratch clone of the repository, so your working tree and index are never touched. An agent independent of the one that wrote the patch then reviews the staged diff and runs the project’s own test suite against the change.
A patch file is written only if the verifier can state all three of these with confidence: the change addresses that one finding, it introduces no new vulnerability, and behavior is otherwise unchanged — where a change to which inputs the code accepts counts as a behavior change. Any change that weakens security while claiming to fix it, such as a loosened auth check or a disabled test, is an automatic reject. When the verifier cannot vouch for all three, you get a short note explaining why instead of a patch.
Patches land in the report’s patches/ folder as F .patch. Nothing is applied automatically:
The patch note explicitly indicates if no repository test covers the modified code, clarifying that the verification relies on code review rather than test execution. Anthropic suggests that each patch should be applied using an individual pull request.
The plugin requires a paid plan with Claude Code v2.1.154 or later, with dynamic workflows enabled in /config. It also needs Python 3.9.6 or later on your PATH as python3 (using only the standard library) and Git for change scans and patching. Linux, macOS, and Windows are supported, and scans count against your plan’s token limits.
Running in your session under your permissions, the scan adds no isolation of its own , meaning committed .claude/ settings, hooks, and CLAUDE.md still apply. While it treats repository content as data rather than instructions, this is not a defense against hostile repositories; use sandbox-runtime:https://github.com/anthropic-experimental/sandbox-runtime to sandbox unfamiliar codebases.
Additionally, scans are nondeterministic and do not replace traditional static analysis, dependency scanning, or code reviews.
Sources: Claude Security plugin documentation:https://code.claude.com/docs/en/claude-security, Claude Security product page:https://claude.com/product/claude-security, Plugin source, claude-plugins-official:https://github.com/anthropics/claude-plugins-official/tree/main/plugins/claude-security, @claudeai announcement:https://x.com/claudeai/status/2079990597973057691 and Claude Security public beta blog:https://claude.com/blog/claude-security-public-beta
Michal Sutter is a data science professional with a Master of Science in Data Science from the University of Padova. With a solid foundation in statistical analysis, machine learning, and data engineering, Michal excels at transforming complex datasets into actionable insights.
Build an Agentic Event Venue Operator [Full Codes]:https://pxllnk.co/twdn5
Thanks! Our team will contact you soon 🙌
情报判断
Aioga 编辑摘要
Aioga 编辑摘要:Anthropic 为 Claude Code 推出 Claude Security 插件 Beta 版。 Aioga 将其归入「产品更新」方向,重点关注它对真实使用和行业竞争的影响。