AI Agents Discover and Help Patch 19 Critical Database Flaws in Under Two Hours
Security researchers successfully deployed an AI agent to autonomously discover and build proofs-of-concept for 19 zero-day vulnerabilities in the widely used Redis database. The breakthrough allowed maintainers to issue rapid patches, demonstrating how AI can radically accelerate defensive security research.
By Factlen Editorial Team
- Defensive Security Researchers
- Focuses on the massive time savings and the ability to patch infrastructure before adversaries find the flaws.
- AI Governance Institutes
- Focuses on the need for standardized benchmarking and the risks of models lacking robust refusal mechanisms for cyber tasks.
- US Policy Officials
- Focuses on the origins of the model's training data, alleging IP distillation and export control evasion.
- Open-Source AI Advocates
- Focuses on the democratization of advanced cyber capabilities, arguing that open-weight models allow defenders to run private, unrestricted security audits.
Why this matters
Finding deep software vulnerabilities traditionally takes human experts weeks or months. By automating this process, AI systems can help secure critical global infrastructure before malicious actors have time to exploit unknown flaws.
The timeline for discovering critical software vulnerabilities has historically been measured in weeks or months of painstaking human effort. That paradigm shifted dramatically when a team of security researchers successfully deployed an artificial intelligence system to autonomously uncover 19 previously unknown zero-day vulnerabilities in Redis, one of the world's most widely used in-memory database platforms. Operating under the alias Bera Buddies, researcher Chaofan Shou coordinated a swarm of 32 specialized AI agents powered by Moonshot AI's new Kimi K3 model. In just 90 minutes, the automated workflow analyzed the database's architecture and surfaced nearly two dozen distinct security flaws.[1][2]
The speed of the AI's exploit generation proved equally unprecedented. Beyond merely identifying the vulnerabilities, the Kimi K3 agents successfully developed a working proof-of-concept for a remote code execution (RCE) attack in exactly 27 minutes. Remote code execution is widely considered the most severe class of software vulnerability, as it allows external actors to run arbitrary commands on a target server. By automating the leap from theoretical flaw to functional exploit, the AI demonstrated a capability that typically requires highly specialized human engineering.[1]
Rather than a crisis, the rapid discovery resulted in a massive defensive victory for global digital infrastructure. Because the AI agents surfaced these vulnerabilities in a controlled research environment, the maintainers of Redis were given the exact technical details needed to secure the software. On July 23, Redis issued seven emergency security updates, successfully patching the underlying memory-corruption flaws across multiple supported branches, including versions 6.2 through 8.8. The rapid turnaround highlighted how AI can empower "white hat" defenders to harden critical systems before malicious actors even know a vulnerability exists.[1][2]

The mechanics of the AI's workflow reveal a highly sophisticated, multi-step research process. According to the researchers, the Kimi K3 agents began by cloning the Redis source code directly from its repository. The system then autonomously generated custom fuzzers—programs designed to throw massive amounts of random data at the software to force crashes. When the software failed, the AI agents utilized the GDB debugger to investigate the memory dumps, isolating the exact lines of code responsible for the crashes with only minimal human guidance.[1]
The specific vulnerabilities uncovered by the AI were deeply embedded in the database's architecture. Security analysts noted that the attack paths involved a stream consumer-group shared-NACK double-free issue, which affected versions 6.2.22, 7.4.9, and 8.6.4. A separate attack path exploited a heap overflow in the bundled RedisBloom TDigest module found in version 8.8.0. These complex memory-management errors are notoriously difficult for human reviewers to spot manually, making them ideal targets for the tireless pattern-recognition capabilities of advanced AI models.[2]
This milestone signals a fundamental shift in the economics of cybersecurity. For decades, the advantage has often favored attackers, as finding a single flaw requires immense resources, while defending a vast codebase requires near-perfection. By industrializing the vulnerability discovery process, AI systems change the math of software defense. Security teams can now deploy autonomous agents to continuously audit their own infrastructure at a fraction of the traditional cost and time, effectively scaling their defensive posture to match the complexity of modern networks.[1]
This milestone signals a fundamental shift in the economics of cybersecurity.
The engine driving this specific breakthrough, Kimi K3, represents a major leap in Chinese artificial intelligence development. Created by the Beijing-based startup Moonshot AI, Kimi K3 is a 2.8-trillion-parameter mixture-of-experts model. It features a massive 1-million-token context window, allowing it to ingest and analyze entire software codebases in a single prompt. The model was specifically engineered for strong agentic capabilities, particularly excelling at autonomous web browsing, tool orchestration, and complex terminal operations.
The model's cyber capabilities have already been subjected to rigorous independent benchmarking. In a joint evaluation published by the UK Artificial Intelligence Security Institute (UK AISI) and the US Center for AI Standards and Innovation (CAISI), Kimi K3 was tested against a battery of offensive and defensive cyber tasks. The institutes reported that Kimi K3 scored 32.2 percent on ExploitBench, a standardized metric that measures a model's ability to develop end-to-end exploits when given a known vulnerability.
While the Redis discovery highlights Kimi K3's real-world utility, the benchmark results provide crucial context regarding the global AI race. Kimi K3's 32.2 percent score comfortably outperformed China's previous leading open-weight model, GLM-5.2, which scored 24.4 percent. However, the joint evaluation noted that Kimi K3 still significantly trails the frontier closed-weight models developed in the United States, which averaged a 76.2 percent success rate on the same exploit development tasks and were uniquely capable of achieving arbitrary code execution on the hardest challenges.

The UK AISI and CAISI evaluation also sparked discussions regarding AI safety guardrails. The institutes observed that Kimi K3's built-in safety mechanisms did not prevent the model from attempting cyber exploit development or offensive operations during the testing phase. While this lack of friction is exactly what allowed security researchers to rapidly discover and patch the Redis vulnerabilities, it also underscores the dual-use nature of highly capable AI systems that do not strictly refuse cyber-related prompts.
The rapid emergence of Kimi K3 has also generated geopolitical friction. Following the model's release, Michael Kratsios, director of the White House Office of Science and Technology Policy, publicly alleged that Moonshot AI achieved these capabilities by "distilling" Anthropic's advanced Fable model. Kratsios claimed the Chinese startup used a sophisticated internal platform to extract training data from US models and alleged that Moonshot AI had somehow bypassed export controls to acquire restricted Nvidia Blackwell GPUs. Moonshot AI has not publicly verified these claims.

The broader implications of Kimi K3 will soon be tested on a global scale, as Moonshot AI has slated the model for an open-weight release on July 27. Once the weights are public, organizations and independent researchers will no longer be reliant on monitored cloud APIs. They will be able to run the 2.8-trillion-parameter model locally on private servers, fine-tune it for highly specific enterprise environments, and operate multiple instances without per-task costs or external oversight.
While the proliferation of open-weight cyber models naturally raises concerns about the democratization of offensive capabilities, the Redis patching event serves as a powerful counter-narrative. It proves that AI's most immediate and tangible impact is empowering defenders. By automating the most labor-intensive aspects of security research, AI agents are giving the cybersecurity community a vital new tool to harden the world's digital infrastructure faster than ever before.
Viewpoints in depth
Defensive Security Researchers
Focuses on the massive time savings and the ability to patch infrastructure before adversaries find the flaws.
For cybersecurity professionals, the Kimi K3 demonstration is a watershed moment in defensive scaling. Finding a single zero-day vulnerability in a mature codebase like Redis typically requires a human expert to spend weeks manually reviewing code and testing edge cases. By automating this workflow, security teams can now audit their own infrastructure continuously. Researchers argue that because AI can find these flaws in minutes, software vendors can issue patches long before malicious actors have the time to discover and exploit the same vulnerabilities.
AI Governance Institutes
Focuses on the need for standardized benchmarking and the risks of models lacking robust refusal mechanisms for cyber tasks.
Organizations like the UK AISI and US CAISI view the Kimi K3 release through the lens of safety and standardization. Their joint evaluation highlighted that while the model is highly capable, its built-in guardrails failed to prevent it from assisting in offensive exploit development. Governance experts argue that as open-weight models become more sophisticated, the lack of reliable refusal mechanisms poses a dual-use risk, requiring new frameworks to measure and mitigate automated cyber threats.
US Policy Officials
Focuses on the origins of the model's training data, alleging IP distillation and export control evasion.
US government officials have framed the rapid advancement of Chinese models like Kimi K3 as a product of intellectual property extraction rather than pure innovation. The White House Office of Science and Technology Policy has explicitly accused Moonshot AI of "distilling" the outputs of advanced American models like Anthropic's Fable to train Kimi K3. Furthermore, officials point to the model's performance as evidence that export controls on high-end Nvidia GPUs are being circumvented, calling for tighter supply chain enforcement.
Open-Source AI Advocates
Focuses on the democratization of advanced cyber capabilities, arguing that open-weight models allow defenders to run private, unrestricted security audits.
Proponents of open-weight AI emphasize that models like Kimi K3 are essential for leveling the playing field in cybersecurity. When model weights are publicly available, enterprise security teams can run the AI locally on their own servers, ensuring that sensitive proprietary code is never sent to a third-party cloud provider. Advocates argue that this privacy, combined with the lack of per-token API costs, is what will truly allow organizations to industrialize their vulnerability research and secure their networks.
What we don't know
- It remains unclear exactly how much human guidance was required to initially configure the 32 AI agents before they executed the autonomous workflow.
- The validity of US allegations that Moonshot AI trained Kimi K3 by distilling Anthropic's models has not been independently proven.
- It is unknown how quickly malicious actors will attempt to adapt the open-weight release of Kimi K3 for offensive campaigns.
Sources
[1]eWeekDefensive Security Researchers
Moonshot AI's Kimi K3 reportedly found Redis flaws and built RCE exploits
Read on eWeek →[2]The Hacker NewsDefensive Security Researchers
Kimi K3 Agents Found Redis Zero-Days and Built RCE Exploit, Researchers Say
Read on The Hacker News →
Every angle. Every day.
Get ai stories with full source coverage and perspective breakdowns delivered to your inbox.




