Skip to content
WeChat · QbitAI·Indexed by this site · Originally published· Evaluation →· Its place in the scan record →

Claude exposes Rust compiler memory vulnerability with 5 lines of purely safe code; Rust veteran steps in to debunk

Rust完蛋了?Claude 5行纯安全代码捅穿编译器,作者元老紧急下场辟谣

AI summary

Anthropic's Frontier Red Team published research: Claude, without a single line of unsafe, dug dozens of type-safety vulnerabilities out of the Rust compiler, one of which is a 5-line purely safe code counterexample that can trigger a use-after-free error. The method is to have the model write informal correctness proofs in natural language, and when it encounters a claim that cannot be derived from the code, construct a PoC to verify it. Some vulnerabilities have been fixed; the counterexample was designated high priority in August and is still in the fix process. Anthropic emphasizes that these are bugs rather than security vulnerabilities in the traditional sense, and the intent is to demonstrate the model's ability to find logic flaws. The research also shows that Claude found hundreds of vulnerabilities in the chip security foundation Caliptra, an Apple macOS privilege-escalation 0-day, and the Linux kernel eBPF verifier; in a blind test of 21 historical logic vulnerabilities, Mythos 5.2, relying on Claude Code to read the code directly, found 15, while fuzzing and symbolic execution both scored 0, and the entire experiment also found 316 additional vulnerabilities.

Read originalmp.weixin.qq.com