Anthropic Adds Security Layer to Its Coding Agent Tools
Anthropic is widening the security perimeter around its fast-growing coding tools, releasing a new Claude Security plugin in beta for Claude Code that is designed to scan software repositories for vulnerabilities from inside a developer’s terminal session.
The new plugin, aimed at developers already using Anthropic’s coding agent, runs what the company describes as a multi-agent vulnerability scan on a repository, a single diff or a specific commit. It then lets users choose which findings to turn into patch files, which must still be reviewed and applied by a human.
That last step is not incidental. It is the point.
As coding agents take on more of the work once done by junior and midlevel engineers — and, in some cases, begin proposing, reviewing and even shipping code inside team workflows — the central question has shifted from whether they can write software to how much trust and authority they should be given. Anthropic’s latest release arrives amid mounting concern that the same systems helping companies move faster can also introduce new attack surfaces, from insecure code generation to prompt injection and accidental credential exposure.
Rather than presenting the plugin as a standalone answer, Anthropic is positioning it as one layer in a broader security architecture around agentic software development.
A Defense-in-Depth Approach
The plugin extends a security push Anthropic has been building in stages this year. In February, the company introduced Claude Code Security as a limited research preview. By late April, it had made Claude Security available in public beta for enterprise customers, offering scheduled and targeted scans and connections to audit workflows. In March, it introduced “auto mode” in Claude Code as a managed alternative to more permissive settings that let the agent act with fewer interruptions.
The new terminal-based plugin appears to sit between those layers: deeper than lightweight guidance, closer to a developer’s daily workflow than a centralized enterprise security dashboard.
The timing is significant. Anthropic’s own engineering materials have acknowledged that coding agents created genuine security hazards as the company expanded their autonomy. In one internal red-team exercise described by the company, a malicious pasted prompt succeeded in exfiltrating credentials in 24 of 25 attempts unless environmental controls blocked it. Those kinds of findings have sharpened industry anxiety about giving software agents direct access to codebases, terminals, collaboration tools and secrets.
So while vulnerability scanning is not a new category, the introduction of a scanner embedded inside a coding-agent session reflects a deeper change in how companies are thinking about software security: not just scanning code after it is written, but securing the behavior of the agent writing and modifying it.
Hardening the Workflow, Not Just the Model
Anthropic’s public comments in recent weeks suggest that its internal thinking has moved beyond model quality alone to the harder question of operational controls.
In a July conversation with members of the Claude Code team, Anthropic employees described an increasingly automated internal environment in which critical parts of the product still require code-owner approval, but less sensitive changes are increasingly handled through automated review. The company said Claude Tag, its collaborative Slack-based agent, now lands 65 percent of the Claude Code team’s product-engineering pull requests.
That level of automation is striking on its own. But it also raises the stakes for the surrounding controls.
The team said it had spent months building confidence in automated review systems, adding tests and evals when incidents occurred and gradually narrowing the areas that still required direct human review. They also described “auto mode” as a core security mechanism rather than merely a convenience feature, saying it relies on classifiers, permission checks and sandboxing to judge whether an agent action matches a user’s intent and whether an action should be allowed to escape a restricted environment.
Those remarks help explain why Anthropic is now adding more specialized security tools around Claude Code. As agents become woven into group workflows — especially in shared environments like Slack channels — the problem is no longer simply whether the model can generate good code. It is whether the surrounding system can prevent the model from being manipulated, overreaching or quietly making unsafe changes.
Human Review Remains Central
Anthropic has been careful to preserve a human checkpoint in the new plugin. Findings can vary from run to run, according to the company, and scans are nondeterministic. The tool may highlight different issues in different passes, and it does not apply fixes automatically.
That caveat matters in a market crowded with claims of autonomous software generation. Even companies pushing more aggressive agent-based tooling have generally had to concede that security remediation is an unusually sensitive domain, where false positives, partial fixes or subtle regressions can create new problems while appearing to solve old ones.
By generating patch files for review instead of directly rewriting code, Anthropic is effectively acknowledging both the promise and the limits of the current generation of agents. They may be good at surfacing likely problems and drafting repairs. They are not yet reliable enough to close the loop on their own.
That restraint is likely to appeal to enterprise buyers, particularly in heavily regulated sectors, where auditability and approval chains matter as much as speed.
Why This Matters Now
The broader competitive race in artificial intelligence has moved rapidly from chatbots to agents that can take action in the world — sending messages, editing files, querying internal systems and operating over long stretches with less supervision. Coding has become one of the most commercially important proving grounds for that shift because the tasks are measurable, the productivity gains are tangible and the appetite from companies is enormous.
But software development is also where the risks of excessive autonomy become easiest to see. A coding agent can be tricked by malicious instructions hidden in documentation, issue threads or pasted text. It can mishandle credentials, misread user intent or propagate insecure patterns at machine speed. In team settings, those risks compound: one agent may generate code, another may review it, and humans may intervene only intermittently.
Anthropic’s latest move suggests that the next phase of the coding-agent market will be defined not just by which model writes the best code, but by which company can build the most credible safety rails around it.
There are still open questions. Anthropic has said it plans to publish more evaluations on the security performance of its systems, but much of the public evidence so far remains based on the company’s own architecture descriptions and internal testing. It is also not yet clear how well these controls translate outside Anthropic’s environment, especially for organizations with looser operational discipline, more fragmented repositories or sprawling agent access across chat, terminals and cloud systems.
Still, the direction is becoming clearer. As coding agents move from novelty to infrastructure, security is no longer a secondary feature. It is increasingly the product.
Sources
Further reading and reporting used to add context:
- https://simonwillison.net/2026/Jul/21/cat-and-thariq/
- https://claude.com/blog/auto-mode?UTM=THIS-VISIT-COMES-FROM-IT-INSIGHTS-NL
- https://simonwillison.net/
- Making frontier cybersecurity capabilities available to defenders \ Anthropic
- https://docs.anthropic.com/en/docs/claude-code/getting-started
- https://www.anthropic.com/webinars/claude-security-putting-claude-to-work-for-defenders
- https://simonwillison.net/2026/Mar/14/pragmatic-summit/
- How we contain Claude across products \ Anthropic
- https://www.anthropic.com/news?via=AISolvesThat
- https://www.anthropic.com/news/claude-science-ai-workbench
- https://withwillow.ai/blog/july-2026-digest
- https://www.anthropic.com/news/redeploying-fable-5
- https://www-cdn.anthropic.com/097c63b5fe7dd8b14866e1f15bb1910ec713658a.pdf
- https://arxiv.org/abs/2607.01418
- https://www-cdn.anthropic.com/807c59454757214bfd37592d6e048079cd7a7728.pdf
- https://arxiv.org/abs/2604.04978
- https://labs.cloudsecurityalliance.org/wp-content/uploads/2026/05/CSA_research_note_MCP_security_crisis_20260504-csa-styled.pdf
- https://resources.anthropic.com/hubfs/2026%20Agentic%20Coding%20Trends%20Report.pdf?hsLang=en
- https://arxiv.org/abs/2604.14228
- https://github.com/anthropics/claude-plugins-official
- https://claudcod.com/blog/claude-code-security-guidance-plugin/
- https://smartscope.blog/en/blog/claude-security-plugin-multi-agent-scan/
- https://github.com/anthropics/claude-code/security/advisories/GHSA-2jjv-qf24-vfm4
- https://www.pagewiser.com/2026/05/27/anthropic-releases-free-security-plugin-for-claude-code/
- https://zench-aine.io/en/media/claude-code-security-guidance-plugin
- https://sicher.skaile.de/
- https://letsdatascience.com/news/anthropic-releases-claude-code-security-plugin-for-real-time-a21ee55b
- https://claude.com/ja/product/claude-security
- https://support.claude.com/en/articles/14555877-claude-code-communications-kit
- https://github.com/anthropics/claude-code/blob/main/plugins/plugin-dev/skills/hook-development/SKILL.md
- https://www.reddit.com/r/ClaudeCode/comments/1v3oqku/cant_wait_for_fable_to_scan_5_files_before_opus/
- https://www.reddit.com/r/AIsafety/comments/1v45qup/adversarial_testing_for_local_ai_agents_now_as_a/
- https://www.reddit.com/r/ClaudeCode/comments/1sika61/has_anyone_ever_used_a_token_saver_tool/
- https://www.reddit.com/r/ClaudeCode/comments/1u3jlo0/i_gave_claude_code_a_lazy_senior_dev_mode_and_it/
- https://www.reddit.com/r/ClaudeAI/comments/1u3k2ed/i_gave_claude_code_a_lazy_senior_dev_mode_and_it/
- https://arxiv.org/abs/2607.06963
- https://www.reddit.com/r/ClaudeCode/comments/1qc4vg0/trust_me_bro_most_people_are_running_ralph_wiggum/
- https://www.reddit.com/r/ClaudeAI/comments/1uz8kae/a_google_ad_sent_me_to_a_real_claudeai_link_it/
- https://www.reddit.com/r/node/comments/1schszw/i_spent_a_week_reading_through_aigenerated_code/
- https://www.reddit.com/r/ClaudeAI/comments/1sx44bc/drop_your_best_claude_skills_in_here/
- https://www.reddit.com/r/ClaudeAI/comments/1sly3jm/built_with_claude_project_showcase_megathread/
- https://www.reddit.com/r/SideProject/comments/1ux750v/launchworthy_a_free_claude_code_skill_that_audits/
- https://www.reddit.com/r/ClaudeCode/comments/1ufgdca/removed/
- https://assets.anthropic.com/m/61e7d27f8c8f5919/original/Claude-3-Model-Card.pdf
- https://assets.anthropic.com/m/785e231869ea8b3b/original/claude-3-7-sonnet-system-card.pdf?_bhlid=7d7ab471eeb2f24b03d1c9f0d2d47b3975f4a0d8
- https://assets.anthropic.com/m/12f214efcc2f457a/original/Claude-Sonnet-4-5-System-Card.pdf
- https://code.claude.com/docs/en/security
- https://www.anthropic.com/research/glasswing-initial-update?lang=en
- https://code.claude.com/docs/en/permissions
- https://www.anthropic.com/news/expanding-project-glasswing
- https://www.anthropic.com/research/mythos-preview?hl=en-US
- https://code.claude.com/docs/en/permission-modes
- https://www.anthropic.com/project/glasswing?_bhlid=495fcc9f6fa9d2156796c4f4d36af5b0037c61bd
- https://code.claude.com/docs/en/legal-and-compliance
- https://www.anthropic.com/news/claude-fable-5-mythos-5?prog_id=5
- https://code.claude.com/docs/en/tools-reference
- https://code.claude.com/docs/en/how-claude-code-works
- https://www-cdn.anthropic.com/2f9323abbcc4abe219577539efe19a623c9ca2bd/Claude%20Fable%205%20%26%20Claude%20Mythos%205%20System%20Card.pdf
- https://www-cdn.anthropic.com/8b8380204f74670be75e81c820ca8dda846ab289.pdf
- Scan your codebase for vulnerabilities – Claude Code Docs














Leave a Reply