header-langage
简体中文
繁體中文
English
Tiếng Việt
한국어
日本語
ภาษาไทย
Türkçe
Scan to Download the APP
Partnered With:

Anthropic has released the Claude Code automatic scanning and remediation plugin

According to Perceive Beating monitoring, Anthropic has launched the Claude Code terminal programming intelligent agent's exclusive security plug-in security-guidance, which supports real-time interception and automatic remediation of security vulnerabilities during code writing sessions. Internal benchmark tests and grayscale data from Anthropic show that, after enabling security review, the security fix suggestions for pull requests (PRs) have reduced by 30% to 40%, establishing the first line of resilience before manual code delivery review.

The security checks are triggered in three stages: file editing, session completion, and code submission. While editing files, local rules will dynamically match patterns of high-risk known vulnerabilities such as dynamic code execution (e.g., eval or child_process.exec), insecure deserialization (e.g., pickle), and DOM injection, without calling large models or incurring additional API costs. At session completion, a background model asynchronously compares the Git differences (Git Diff) in the workspace, intercepting logic vulnerabilities like authorization bypass, insecure direct object references, and weak encryption. When developers use command-line tools to execute git commit or git push for pushing commits, it triggers a deep intelligent agent review, automatically reading peripheral code context such as call chains and sanitizers to eliminate false positives.

Enterprises can write plain text security rules to .claude/claude-security-guidance.md or customize regex matches using .claude/security-patterns.yaml. These rules will be loaded together as additional context with the built-in whitelist. Running the plugin requires ensuring that the Claude Code CLI is version 2.1.144 or higher and that the local PATH includes Python 3.8 or higher. Upon initial activation, the system will automatically deploy a virtual environment and install the Agent SDK at the local ~/.claude/security/ path.

举报 Correction/Report
RelatedRecommended
A routine engineering oversight exposed a glimpse of the next-generation AI product landscape
The code directly responsible for calling the AI model's API accounts for only 1.6% of the total.
Anthropic's Chief Product Officer Mike Krieger Latest Interview
An unannounced test targeting only about 2% of users inadvertently affected all document pages.
Correction/Report
Submit
Add Library
Visible to myself only
Public
Save
Choose Library
Add Library
Cancel
Finish