安全客•July 23, 2026•🇨🇳Translated from Chinese

Anthropic Launches Claude Security Plugin to Let Claude Review Its Own Code in Terminal Workflow

Anthropic has introduced the Claude Security plugin in beta, integrating it directly into the Claude Code terminal workflow. Developers who finish a feature with Claude Code now see an option to let the AI scan the code for vulnerabilities it may have introduced before committing.

How the Plugin Operates

Traditional rule-based scanners rely on matching known vulnerability patterns, which produces high false-positive rates and misses logic flaws. Claude Security instead uses a multi-agent system: it first reads the code and maps the architecture, then identifies potential threat points, and finally verifies suspicious findings to filter out false positives. The plugin generates patch suggestions that match the project’s existing coding style rather than generic alerts.

Every proposed fix must be reviewed and approved by a human; the tool never commits changes automatically. This design keeps the developer in control while adding an extra layer of analysis inside the existing command-line workflow.

Addressing Gaps in Traditional Tools

The plugin targets severe vulnerability classes that rule-based scanners often overlook, including memory corruption, injection defects, authentication bypasses, and complex logic errors. It excels at cross-file issues where data flows from one file to another and is incorrectly trusted in a business branch. By reading Git history and tracing data flows across files, the system reasons about whether a potential issue is actually exploitable instead of applying mechanical pattern matching.

Limitations and Practical Considerations

The feature remains in beta, and Anthropic has not published quantitative data on false-positive or false-negative rates. Large full-repository scans can consume significant tokens and occasionally switch to more expensive models, so teams are advised to limit scans to changed directories or use scheduled incremental checks. The company positions the tool as a supplement to existing SAST, DAST, and human security processes rather than a replacement.

Recommended Daily Usage

The most cost-effective approach is to run the scanner on uncommitted diffs before each commit. Results can be forwarded via webhook to Slack or Jira, exported as CSV or Markdown for audit trails, and dismissed findings are tracked to prevent repeated review. This workflow raises the security baseline for small teams and open-source maintainers who lack dedicated security staff.

Broader Implications of AI Reviewing AI-Generated Code

The release highlights an emerging pattern in which the same AI capabilities used to generate code are now applied to detect vulnerabilities created by that generation process. While the approach can surface issues traditional tools miss, Anthropic emphasizes that human oversight remains essential and that token costs must be managed. The long-term impact on code security will depend on real-world performance data gathered during the beta period.

Related articles

Habr•AI Security

Why We Banned Our AI Manager from Writing Code and Assigned the Task to Claude Opus

The team behind an AI-powered marketplace manager for Wildberries initially built the system using regular updates, then migrated it to an autonomous agent. After implementing multiple layers of restrictions, they ultimately removed the agent entirely and rebuilt the solution from scratch. The new architecture relies on a single tool that handles the complete Wildberries API along with internet access while respecting all platform limits. The decision to prohibit the original AI manager from generating code stemmed from concerns over reliability and security in production environments. Instead, the developers turned to Claude Opus to handle coding tasks. This case highlights practical challenges of deploying AI agents in e-commerce automation and information security contexts.

Habr•AI Security

Developer Builds MCP Linter and Discovers Security Issues in Anthropic Official Servers

A developer has released mcp-linter, a lightweight security and compliance tool for the Model Context Protocol used by Anthropic's Claude ecosystem. The linter detects critical problems such as stdout pollution that breaks JSON-RPC framing, missing destructiveHint annotations that allow autonomous agents to execute dangerous actions without human confirmation, prompt injection vectors hidden inside tool descriptions, and incomplete input schemas that increase model hallucinations. When run against Anthropic's reference servers, the tool assigned low health scores to server-memory and especially server-filesystem, highlighting dozens of parameters lacking descriptions. The utility runs with zero dependencies, supports SARIF output for GitHub Security, and can generate automatic JSON patches. The project is open source under MIT license and already integrates into CI pipelines via a dedicated GitHub Action.

Habr•AI Security

Pentesting AI Components: Key Vulnerabilities CISOs Must Address in RAG and AI Agents

The article examines how AI integration into corporate systems dramatically expands the attack surface beyond traditional web application testing. It details risks associated with chatbots, RAG-enabled systems that pull from internal documents, and autonomous AI agents capable of executing real actions via APIs. Yuri Grishaev, an OSCP+ certified specialist and top Standoff 365 hacker, explains how prompt injection can bypass access controls and lead to data leaks or unauthorized operations. The piece stresses that service accounts often hold broad privileges, allowing AI components to serve as indirect paths to sensitive data even when direct user access is restricted. It also covers how AI-generated output can trigger classic vulnerabilities such as XSS if not properly sanitized. Recommendations include inventorying all AI tools, enforcing least-privilege principles, and validating user permissions before any model processes or acts on retrieved content. ABP2B provides free checklists and policy templates to help organizations prepare for secure AI adoption.

Habr•AI Security

Local LLMs Enable Scams by Drafting Fraudulent Replies Without Warnings

Tests on consumer hardware showed that popular 7-8B local models almost never flagged classic advance-fee schemes when asked to draft replies instead of detecting fraud. The author ran 42 scam scenarios across Russian, Kazakh and mixed language on Llama 3.1 8B, Qwen 2.5 7B and DeepSeek-R1 8B using only an RTX 5050 laptop and Ollama. Without additional controls the models produced ready-to-send messages agreeing to prepaid transfers to unknown Kaspi Gold numbers in nearly every case. Introduction of the MoneyGate layer, which combines a mandate check, a separate judge model and hard-coded red-flag rules, blocked all 42 malicious requests while still allowing most legitimate payments to proceed. The benchmark KZ Scam Shield covering 12 Kazakhstan-specific fraud patterns remains publicly available for further testing.