HomeArticle

It's no longer polite to keep boasting about security: even Rust failed to hold the line, major tech giants are scrambling to cash in on AI vulnerability remediation business.

极客邦科技InfoQ2026-12-03 15:04
Big tech firms are stepping into the market to compete for the AI restoration business.

A piece of Rust code that does not use any unsafe keyword bypassed the compiler check and accessed already freed memory at runtime.

According to Rust's design, this situation should never happen. The reason why it can be compiled is that there is a loophole in the compiler's own borrow checker logic.

Surprisingly, this bug had been lurking for 7 years, and was not submitted to the Rust community until Claude helped researchers discover it.

Not only have dozens of type safety issues been found in the Rust compiler, but in research announced by Anthropic on December 2, more than 100 soundness defects were found in Linux's eBPF verifier, and previously undisclosed security vulnerabilities were found in macOS and the open-source chip security project Caliptra.

Rust is just the beginning, and a new competition for software security is unfolding.

In the past, some software vendors liked to take security as a product selling point, and Rust even took memory safety as an important advantage of the language. But when AI starts to dig out in batches those long-lurking problems that have not been discovered after years of maintenance and review, the security promises of software need to be re-examined.

1  Rust Promises Safety, But Its Own Compiler Has Bugs 

Rust has always been known for its security. Through ownership, borrowing and lifecycle mechanisms, Rust can block a large number of common memory safety issues in safe Rust code at the compilation stage without relying on a garbage collection mechanism.

But this set of mechanisms has a premise: the compiler must correctly enforce these rules. The bug discovered by Claude arises exactly here.

The code demonstrated by Anthropic is only a few lines long. The program creates a two-dimensional array containing heap memory objects, then in the process of calculating the array index, transfers the object in the array to another variable, and releases the occupied memory through drop.

According to Rust's ownership rules, after the object inside the array is moved to row, the original position no longer holds a valid value. Then drop(row) releases the Box and the heap memory it points to. However, the borrow checker did not correctly recognize that the dynamic index (Index) and constant index (ConstantIndex) of the array may point to the same position, and still allowed the program to create a reference through the original array position. Eventually, the program dereferenced an invalid Box, triggering a use-after-free issue.

This type of problem is called a soundness defect, which means the compiler accepts programs that should have violated the language's safety rules.

It is even more noteworthy that this problem did not appear recently.

On August 4, 2026, Rust developers submitted an Issue numbered #160525 in the official GitHub repository. Later, the community traced historical versions through binary localization and found that this problem appeared under the default configuration starting from the Nightly version on April 23, 2019. The version from the previous day would still reject this piece of code. However, the Issue comment also pointed out that if the -Zborrowck=migrate parameter was enabled in the April 22 version, the same problem could also be reproduced.

In other words, a compiler bug has lurked for more than 7 years.

On August 5, when developers asked how the problem was discovered, Anthropic researcher Nicholas Carlini revealed that he was testing a large model agent framework for finding program soundness issues, and handed the discovered bug to developers familiar with Rust for verification before submission.

Carlini even admitted that he is not familiar with Rust, and there are still a batch of candidate issues that need further verification to avoid submitting a large number of low-quality reports to the community.

The contrast of this incident is: a researcher who is not familiar with Rust found a long-standing defect in the Rust compiler with the help of AI, and finally needed professional developers from the Rust community to help confirm and fix it.

Anthropic said that Claude has discovered dozens of Rust type safety issues, some of which have been fixed, while others are still being processed. This does not mean that Rust as a whole has lost security, but it does remind developers that no matter how strict the language security mechanism is, it cannot guarantee that the compiler that implements it will never have bugs.

In fact, the Rust community is no stranger to AI participation in code security review.

In April this year, the Rust Foundation obtained access to Claude Mythos and used it for security review of the Rust standard library. By August, the Rust project further formulated rules for large language models to participate in code contributions. The relevant policies were adopted by 5 teams in the Rust project, applicable to designated code repositories such as `rust-lang/rust`, and do not represent the unified position of the entire Rust ecosystem on AI.

Policy makers explicitly acknowledge that there is no unified consensus within the community on how to use AI. Some developers believe that large models are helpful for learning, analyzing and discovering problems, while others worry about its negative impact on community collaboration, environment and code maintenance.

This policy draws a relatively clear boundary: developers can use large models to answer questions, analyze code, check problems and assist review, but cannot let the model replace human judgment. It is allowed to use large models to find bugs, but users must personally verify them and disclose the participation of AI.

For AI-generated code, the Rust project has set stricter thresholds. Relevant PRs must obtain manual review arrangements in advance, and meet quality, testing and disclosure requirements. Key code involving compiler soundness cannot in principle be directly generated by large models, even project members with domain experience are subject to strict restrictions. At the same time, AI code review can only provide auxiliary opinions, and cannot replace manual review and author self-review.

The official Rust compiler development guide also specially reminds that large models are prone to false positives and may pay too much attention to trivial issues; if more reliable tools already exist, such as Lint tools or formatting tools, they should be used preferentially or in combination.

2  AI Finds Vulnerabilities Too Fast, Open Source Maintainers Can No Longer Keep Up 

The case of the Rust compiler is not an isolated example.

On November 11, Microsoft FORGE Lab announced the results of AI scanning of the Linux kernel. Researchers used the multi-model agent system MDASH to scan some subsystems such as Linux network, file system and security modules. In just two weeks, the system generated 26,502 original problem clues.

But there is a long screening chain from discovering problems to confirming vulnerabilities.

Microsoft first reduced the clues to 11,769 candidate problems, then reproduced them by automatically generating Proof of Concept (PoC), and finally obtained 621 cases with PoC evidence. After manual analysis, deduplication and verification by researchers, only 59 problems formed formal upstream vulnerability reports, of which 33 obtained CVE numbers, and 8 have been confirmed to achieve local Root privilege escalation in a controlled environment. As of the release of the report, fixes for 38 issues have been merged into the Linux mainline.

The entire project was led by 1 full-time researcher and 1 intern, and lasted for about 3 months.

This set of data shows that AI has been able to greatly improve the speed and coverage of vulnerability discovery, but from problem clues to reproducible vulnerabilities, and then to formal reports and patches, a lot of professional work is still required. This Microsoft research lasted for about 3 months, and subsequent verification, vulnerability analysis and collaboration with Linux maintainers took experts several months.

What is more troublesome is that the threshold for AI to generate vulnerability reports is getting lower and lower, and open source maintainers are beginning to bear additional pressure.

GitHub and Microsoft announced a joint experiment on November 17, with the title directly stating: "Maintainers Don't Need More AI Vulnerability Reports, What They Need Are Fixes".

The two parties carried out scanning after obtaining the consent of maintainers of 6 open source projects, and initially generated 9,791 potential problems. After AI triage, deduplication and validity screening by GitHub, and then manual verification by 7 Microsoft researchers, 99 private vulnerability reports were finally submitted to maintainers, each attached with PoC and suggested fixes.

As of November 15, maintainers have fixed 55 of these issues, and 14 fixes have been merged into official releases. Out of nearly 10,000 original clues, only 99 manually verified reports were finally delivered to maintainers.

GitHub acknowledged in the report that many open source maintainers have been overwhelmed by AI-generated security issues, including duplicate reports and misjudgments that do not constitute vulnerabilities at all. A maintainer of Netty put it very directly: Discovering vulnerabilities is no longer the bottleneck, the difficulty lies in fixing them, which depends on maintainers.

This is precisely the new contradiction faced by AI security research.

In the past, vulnerability discovery required professional security researchers to invest a lot of time, and many open source projects did not even have enough resources to carry out systematic audits. Now AI can scan a large amount of code in a very short time, but verification, fixing and maintenance still require humans.

If AI is only regarded as a vulnerability scanner, the stronger its discovery capability is, the busier maintainers may become.

3  Major Tech Players Enter the Market to Compete for AI Fix Business 

As vulnerability discovery gradually becomes cheaper, the links with real commercial value are shifting to verification and fixing.

Google, OpenAI and GitHub have cut in from different directions to compete for the entry point of enterprise software security workflow.

Relying on OSS-Fuzz, an open source fuzz testing platform that has been operating for nearly 10 years, Google integrates CodeMender into the vulnerability discovery and fixing process, and then provides enterprises with code scanning, vulnerability verification and automatic patch capabilities through Google Cloud.

OpenAI has adopted a parallel path of open source cooperation and commercial products: on the one hand, it cooperates with professional security institutions through Patch the Planet to discover and fix vulnerabilities for open source projects; on the other hand, it integrates relevant capabilities into Codex Security, connects to enterprise code repositories, provides continuous scanning, threat analysis and patch generation services, and adopts token billing.

GitHub's advantage is that it directly controls the developer entry point, embeds Copilot Autofix and Agentic Autofix into code review, security alerts and CI/CD workflows, and realizes commercialization through security subscriptions, AI Credits and computing resource consumption.

The three have different paths, but their business logic is converging: Google hopes to turn security fixes into continuous workloads on cloud platforms, OpenAI hopes to convert model capabilities into enterprise security services, and GitHub uses its existing code repository and developer ecosystem to turn AI fixes into standard features in the development process.

The cost breakdown announced by OpenAI also reveals a noteworthy change: the vulnerability exploitation development phase consumed about 776,000 USD in API credits, which is much higher than the cost of about 320,000 USD in the vulnerability discovery phase. Dynamic verification and preliminary screening consumed about 73,000 USD and 44,000 USD respectively.

This means that the cost focus of AI security research is not only on finding bugs, but also on confirming problems through PoC, judging whether they can be exploited by attackers, and generating fix solutions that can be reviewed by maintainers. However, OpenAI also emphasized that this experiment is mainly used to verify model capabilities rather than optimize costs, and 1.213 million USD is closer to the upper limit of the current process cost.

While overseas manufacturers are accelerating their layout, major domestic Internet manufacturers have also made AI vulnerability fixing into external products, and each has a different entry point.

Alibaba Cloud directly integrates AI fixing capabilities into its Cloud Security Center.

Since August, Alibaba Cloud has gradually upgraded the Agentic agentless detection function, adding new AI sandbox analysis and AI vulnerability fixing. After the detection task is completed and risks are found, the system will automatically trigger parallel AI sandbox analysis to dynamically detonate suspicious files and images and analyze runtime behavior. For some application vulnerabilities, users can directly initiate AI fixing tasks. The system will automatically perform the fix and complete the delivery by generating a new custom security image, while the original assets and images remain unchanged, and rollback is supported.

It is even more noteworthy that Alibaba Cloud has announced a clear charging standard: Agentic agentless detection and analysis are charged according to the amount of scanned data, at a price of 1 yuan/GB; AI vulnerability fixing is charged according to the number of successfully fixed vulnerabilities, 10 yuan per vulnerability; no corresponding fee will be incurred if no fix is initiated.

This means that Alibaba Cloud has begun to try to directly link AI security services to fix results. However, this capability mainly targets some vulnerabilities in cloud hosts, applications and images, which is not exactly the same as products that directly audit source code repositories.

Tencent Cloud launched CodeBuddy Security on July 28, combining the AI security agent with the code analysis engine TCA-Xcheck to cover links such as threat modeling, vulnerability scanning, PoC verification and automatic fixing. The system cross-checks vulnerability clues through multiple agents, verifies whether the vulnerability is truly exploitable in an isolated sandbox, then generates a targeted fix patch for developers to manually review. This product is already open for purchase and trial.

Baidu chose to embed security capabilities into development tools. The enterprise version of Wenxin Kuaima supports scanning security issues in Java code and third-party dependencies, and generates fix codes for vulnerabilities such as SQL injection, SSRF, and remote code execution. Developers can replace the original code after confirmation, moving security checks forward to the daily R&D process. Currently, this function requires an enterprise account to apply for a trial, and the code security functions listed in the official documentation support Java as the programming language.

It can be seen that what major manufacturers are competing for is not just a code scanner, but the complete workflow from vulnerability discovery, verification, patch generation to testing and deployment. For enterprises, this means continuous model calls, cloud computing and security subscriptions; for platform manufacturers, it means higher customer stickiness and opportunities to enter enterprise R&D and security infrastructure.

Although different manufacturers have different business paths, they are all competing for the same entry point: the enterprise's software security workflow. In the past, security manufacturers mainly charged for scanning tools, vulnerability intelligence and manual audits, but in the future, they may further charge according to model calls, continuous subscriptions, or even actual fix results. The ability to accurately verify vulnerabilities, reliably generate patches, and ensure that fixes do not introduce new problems will become new competitiveness.

4  We Can No Longer Treat "Security" as an Advertising Slogan 

In the past, a piece of software could prove its reliability by adopting memory-safe languages, passing security audits, and obtaining security certifications. But none of these measures can guarantee that the software will not have new vulnerabilities in the future, let alone guarantee that underlying dependencies, compilers and runtime environments are always correct.

AI is changing this set of rules. It automates more code review work that in the past could only be completed by professional security researchers, and also gives problems that have lurked for many years the opportunity to be exposed again. But at the same time, the number of vulnerability reports, verification costs and repair pressure are also increasing.

Software certainly still needs security, but simply writing security in the product introduction is no longer enough.

When AI starts to dig out batches of bugs that no one found in the past, what software vendors really need to sell also includes the ability to fix the problems after they are discovered.

References:

https://www.anthropic.com/research/finding-logic-bugs

https://github.com/rust-lang/rust/issues/160525

https://rustc-dev-guide.rust-lang.org/llm-guidance/reviewing.html

https://www.microsoft.com/en-us/security/blog/2026/11/11/lessons-from-59-linux-kernel-bug-reports

https://help.aliyun.com/zh/security-center/notice-of-agentic-agentless-detection-upgrade-and-billing-adjustment

https://openai.com/zh-Hans-CN/index/a-thousand-fewer-paths-to-root

https://blog.github.com/open-source/maintainers/maintainers-dont-need-more-ai-bug-reports-they-need-fixes

Statement: This article is an original work of InfoQ, does not represent the platform's views, and does not constitute investment advice. Reproduction is prohibited without permission.

This article comes from the WeChat Official