Capturing 15 Top-Tier Zero-Day Vulnerabilities: A Consensus Protocol Debug Agent Framework Built by 0G Lab in Collaboration with Teams from NUS, PKU, and BUPT

marsbitPublicado a 2026-06-11Actualizado a 2026-06-11

Resumen

"Agents Capture 15 Critical Zero-Day Bugs: 0G Lab's Multi-Agent Framework Automates Debugging in Consensus Protocols" Distributed consensus protocols are notoriously difficult to debug due to complex, intertwined states. A novel framework, Agora, developed by 0G Labs with researchers from NUS, Peking University, and Beijing University of Posts and Telecommunications, tackles this by fusing deep domain expertise with a collaborative multi-agent LLM architecture. Agora moves beyond the limitations of single LLMs and traditional testing like fuzzing. It employs three specialized agents: an Orchestrator for global state, a Strategy agent for generating attack scenarios using distributed systems knowledge, and a TestGen agent that creates executable tests. A core innovation is its efficient "Succinct Memory & Communication" mechanism and a dynamic test harness. This allows the system to translate abstract hypotheses into concrete tests across languages like Go and Rust, run them, capture failures, and refine the approach in a closed loop—all with minimal token overhead. In rigorous evaluations on production-level protocols including Raft, EPaxos, and components from etcd and Sui, Agora discovered 15 previously unknown deep logic bugs (e.g., execution divergence, liveness violations). In stark contrast, powerful standalone LLMs like GPT-5.2 and Claude 4.5 found zero such bugs. Agora achieved this with a high precision of 73.9% and at an average cost of only about $40 per bug fou...

The "Holy Grail" of distributed systems—consensus protocols—has long been a "Bug Hell" for top-tier infrastructure engineers. Due to their extremely complex states and intertwined multi-node interactions, traditional testing and monolithic LLMs are almost powerless against hardcore Deep Bugs (deep logical vulnerabilities).

Recently, in a paper accepted at the upcoming ICML 2026, researchers from 0G Labs and top academic-industry teams including the National University of Singapore, Peking University, and Beijing University of Posts and Telecommunications proposed Agora—the first automated testing framework that deeply integrates domain knowledge with large language model multi-agent collaboration.

Through an innovative architecture that directly tackles the pain points of protocols, this framework has successfully captured 15 previously unknown protocol-level Deep Bugs in industrial and academic core protocols such as Raft, EPaxos, HotStuff, and BullShark! In stark contrast, top native large models like GPT-5.2 and Claude 4.5 all failed, scoring zero. As multi-agent systems and "Agentic Quality Control" become the hottest tracks in 2026, Agora delivers not just a paper, but a practical, industrial-grade solution.

Paper: "Agora: Toward Autonomous Bug Detection in Production-Level Consensus Protocols with LLM Agents"

1. Background: A Powerful Alliance between 0G and NUS, Merging Long-Term System Knowledge with the Cross-Generational Multi-Agent Paradigm

The evolution of distributed consensus protocols is both a history of genius innovation and a bloody chronicle of pitfalls encountered by countless top engineers. As Turing Award winner Lamport stated, ensuring the correctness of distributed protocol implementations is as challenging as navigating a constantly shaking maze blindfolded. On this "hellish" track, the market is quietly shifting: According to Gartner observations, enterprise consulting demand for multi-agent systems has surged over tenfold in just over a year, and the multi-agent platform market is entering a period of rapid expansion, nearly doubling annually—using "multi-agent collaboration" for the most hardcore low-level system verification is transforming from a frontier concept to an industry necessity.

Facing this hellish challenge, tech giants with halos were the first to embark on heavy-asset exploration. For example, industry leader Anthropic's recent internal Glasswing project within Claude Code attempted to use agents for low-level infrastructure testing, but its architecture still heavily relies on top-tier commercial large models, with vague project details and closed-door collaborations limited to a handful of large institutions and multinational corporations. More critically, such giant-led solutions may exhibit terrifying token consumption during operation. This high computational barrier and heavy-asset approach directly shut out startups and SMEs with limited budgets.

Are smaller companies and open-source communities doomed to be unable to afford top-tier automated vulnerability auditing tools?

Engineers from 0G Labs, collaborating with Xiang Liu from the National University of Singapore, Sa Song and Yong Sun from Beijing University of Posts and Telecommunications, and Ph.D. student Zhao-wei Zhang and researcher Ce-yao Zhang from Peking University's School of Intelligence, leveraged their profound knowledge in the agent domain to empower systems, launching a disruptive "David vs. Goliath" innovation. Their work has been accepted at the 2026 AI top conference ICML.

The academic world's "long-term accumulation of system knowledge" meets the industry's "pain points and keen insight." How can this ignite the next revolution in system security?

The 0G team has accumulated extremely rich production-level attack and defense experience in implementing blockchain consensus protocols; while the academic team has profound expertise in high-performance distributed systems, low-level concurrency control, and formal verification. They are keenly aware that traditional methods (like fuzzing) often struggle with state-space explosion when facing industrial-scale codebases. The researchers decided to infuse the "soul"—their long-accumulated knowledge of global invariant logical deduction in distributed systems—into the cutting-edge multi-agent collaboration paradigm and automated harness architecture, launching the open-source and accessible Agora framework.

Simultaneously, as a leader in modular AI infrastructure and high-performance decentralized data availability networks, the 0G team has accumulated extremely rich production-level attack/defense experience and real-world protocol defect samples in the industrial implementation of blockchain consensus protocols and high-concurrency BFT (Byzantine Fault Tolerance) architectures.

This cross-domain fusion fundamentally changes the game: it is neither blind brute-force testing nor large models "fumbling in the dark" without domain knowledge. Instead, through specialized agent roles, it transforms the decades of logical deduction intuition from seasoned system experts into strategic interaction and collaboration among agents, thereby acquiring the hardcore capability to outperform traditional testing tools.

Unlike Glasswing's heavy-asset approach, which voraciously consumes expensive top-tier tokens, Agora presents a highly accessible alternative for SMEs—it proves that even with a "slightly inferior" base model and higher cost-effectiveness, a cleverly designed domain-aware multi-agent collaborative architecture can still unearth hardcore Deep Bugs!

2. Pain Point: Monolithic LLMs Struggle to Break Through, Distributed Systems Hang Under the "Damocles' Sword" of Deep Logic

In today's world dominated by big data, blockchain, and distributed databases, consensus protocols (like Paxos, Raft, PBFT, etc.) form the foundational bedrock of the entire digital world. However, implementing consensus protocols is notoriously "hellishly difficult." Even industrial-grade benchmark projects like etcd, honed by countless top engineers worldwide over years of operation, still harbor Deep Bugs (deep logical vulnerabilities) that send chills down one's spine.

These vulnerabilities differ from ordinary low-level implementation bugs like memory leaks or integer overflows. They span multiple execution phases and depend on complex concurrent states. If maliciously triggered, they can not only cause core data corruption but also lead to catastrophic financial-level losses.

While Large Language Models (LLMs), hugely popular in recent years, have shown promise in general code analysis, they appear "intellectually challenged" when facing distributed consensus. They can at best find shallow defects in local code. When confronted with protocol-level logical vulnerabilities dependent on global state, monolithic LLMs often get stuck in the mud of local code, completely unable to perform global temporal reasoning.

3. The Breakthrough: Agora's Three-Agent Paradigm and Core Harness Architecture

To break this deadlock, Agora is the first to introduce the classic academic paradigm of Hypothesis-Driven Testing (HDT) into large model agent systems. To achieve efficient global reasoning, Agora completely abandons the traditional "lone wolf" mode, elegantly decoupling the workflow into three highly specialized agents with distinct roles:

Orchestrator Agent: Responsible for maintaining global state and performing "vulnerability exploitation" by extrapolating from known bugs.

Strategy Agent: Responsible for injecting distributed domain knowledge and generating highly aggressive anomalous scenarios tailored for CFT and BFT protocols.

TestGen Agent: The practical executor. The key that truly enables Agora to be operational and generate effective tests in a closed loop lies in its core automated testing architecture.

The architecture is illustrated in the following diagram:

In Agora's overall design, this "David vs. Goliath" accessible magic does not come out of thin air; it stems from the deep integration of its ingenious agent interaction mechanisms and the testing harness architecture.

The research team specially designed an extremely succinct and efficient communication and memory mechanism (Succinct Memory & Communication) within the system framework. While ensuring each agent focuses on its core tasks, it minimizes redundant context transmission overhead to the lowest level. Under this extreme communication constraint, the Orchestrator Agent (responsible for global coordination and state control), the Strategy Agent (responsible for generating distributed anomalous environments and scenarios), and the TestGen Agent (responsible for code testing and dynamic evaluation) are perfectly interwoven, collectively driving and fulfilling the Harness architecture:

Automated Closed-Loop Synergy: When the Strategy Agent deduces an abstract distributed attack scenario, relying on the highly decoupled interaction framework, the TestGen Agent can immediately launch the underlying test harness. This architecture not only possesses strong environmental adaptability, capable of spanning different programming language environments like Go and Rust to translate attack hypotheses into real, runnable unit tests, but also incorporates efficient reflection-loop technology.

Once a test throws an error during execution in the environment, the system precisely and real-time captures the call stack and execution logs, concisely feeding them back to the agents for targeted self-correction. This organic combination of "multi-agent minimal interaction + dynamic harness closed-loop" not only allows Agora to capture the most elusive deep logical bugs with extremely low token costs but also produces detailed analysis reports with very low false-positive rates.

The final operational overview is illustrated in the following diagram:

4. Results: Capturing 15 Top-Tier Zero-Day Deep Bugs, Baseline Large Models Score Zero

The evaluation results are astounding. The research team conducted a comprehensive assessment on four well-known consensus protocol libraries (including production-grade etcd and the underlying components of the emerging public chain core, Sui), comparing against top-tier models like GPT-5.2, Gemini 3.0 Pro Preview, Claude Sonnet 4.5, and Qwen3 Coder.

The outcome not only made 0G's own operational consensus systems more secure but also demonstrated overwhelming superiority:

15 New Logic Deep Bugs Uncovered: Agora successfully discovered 15 previously unknown protocol-level deep logical vulnerabilities. These span high-risk areas such as execution divergence, monotonicity violations, topology flaws, and signature vulnerabilities.

Native Large Models All Score Zero: In contrast, baseline models (even equipped with advanced ReAct dynamic toolchains) completely failed (0/15) against these deep logical vulnerabilities. They consumed massive amounts of tokens but could only find low-level code implementation bugs.

Extremely Low False-Positive Rate and High Cost-Effectiveness: Among all bug reports generated by Agora, genuine logical vulnerabilities accounted for a high 73.9% (false-positive rate only 26.1%). Even more impressive, it costs only about 5.32M tokens (approximately $40) on average to unearth one top-tier logical bug that would make seasoned architects lose their hair, demonstrating extremely high cost-effectiveness.

Results across multiple LLMs are shown below:

5. The Future: High Generalizability, Advancing into More Hardcore "Uncharted Territories"

Agora's success not only injects confidence into the security of distributed systems but also points the way for large model applications in vertical, industrial-grade scenarios.

Critically, Agora's architectural design demonstrates high generalizability and universality. The research team emphasizes that Agora can also be quickly reproduced and used by a broad user base in the form of plugins or skills. Our code (github.com/0gfoundation/agora) provides corresponding skills to aid reproduction. Furthermore, Agora's "Large Model + Multi-Agent Collaboration + Hypothesis-Driven" paradigm is not limited to consensus protocols. Due to the deep decoupling between its underlying workflow control and the upper-layer domain knowledge base and testing harness, the architecture means it can not only help numerous users quickly debug consensus protocols but can also be rapidly extended to other hardcore fields similarly plagued by "deep logical vulnerability hell" in a "plug-and-play" manner:

Database Concurrency Control: For testing complex transaction conflict defects in distributed databases under extreme isolation levels (like Serializable).

Operating System Kernels / Concurrent Systems: For deeply discovering hidden deadlocks and race conditions in multi-threaded infrastructure.

Web3 Smart Contract Auditing: For in-depth security boundary exploration of cross-chain protocols and DeFi logic involving complex economic models. The blockchain security market is projected to reach about $8.5 billion by 2026, and commercial products using "multi-agent security systems" for smart contract auditing, compressing audit cycles from weeks to hours, are already emerging. Market demand is exploding.

The era of AI-automated security for industrial-grade low-level infrastructure may have been officially inaugurated by Agora and its harness architecture.

We have reason to believe that Agora can help better test the capabilities of coding LLMs by discovering more deep bugs across various domains, and the deep bug use cases it finds can also help enhance coding LLMs' code comprehension abilities.

Agora can significantly improve the security of code repositories that form the foundation for financial secure transactions, such as consensus protocols, concurrency control, and smart contracts. Moreover, Agora can help more tech companies discover deeper logic bugs while consuming fewer tokens, saving funds and being more efficient!

More importantly, this precisely aligns with the two hottest current trends: First, multi-agent systems are transitioning from experimentation to production—Gartner predicts that by 2028, over 30% of enterprise software will have agentic AI built-in, and the multi-agent platform market size is expected to surge from the tens of billions to hundreds of billions of dollars within a few years. Second, "using agents to audit agents"—Agentic Quality Control—is becoming the industry standard for 2026.

Against the backdrop where the Veracode 2025 report indicates approximately 45% of AI-generated code contains security vulnerabilities and the agentic AI security market is growing at a ~42% CAGR, Agora enables tech companies to unearth deeper Logic Bugs with lower token costs, upgrading security auditing from a "human-powered task billed by the week" to an "automated capability delivered by the hour."

And as the landscape of this track becomes clearer, those who truly seize the early advantage are often not the loudest giants, but the team that first operationalizes the methodology and can consistently replicate it.

Preguntas relacionadas

QWhat is the core innovation of the Agora framework presented in the article?

AThe core innovation of the Agora framework is the first integration of deep domain knowledge with a large language model (LLM) multi-agent collaboration paradigm for autonomous bug detection in consensus protocols. It specifically uses a hypothesis-driven testing (HDT) approach with three specialized agents (Orchestrator, Strategy, and TestGen) coordinated within an automated test harness architecture to find deep logic bugs.

QHow does Agora's approach differ from traditional methods or using a single large language model (LLM) for bug detection in consensus protocols?

ATraditional methods like fuzzing struggle with state space explosion in industrial codebases. Single LLMs are limited to finding shallow, local implementation bugs and fail at global state and temporal reasoning required for protocol-level deep logic bugs. Agora overcomes this by decomposing the task into specialized agents that collaboratively perform global reasoning, hypothesis generation, and automated test execution with a reflection loop, enabling it to find complex, cross-stage vulnerabilities.

QWhat were the key experimental results of the Agora framework's evaluation on real consensus protocol codebases?

AIn evaluations on four major consensus protocol libraries (including etcd and Sui's components), Agora discovered 15 previously unknown protocol-level deep logic bugs across categories like execution divergence and monotonicity violations. In stark contrast, state-of-the-art single LLM baselines (GPT-5.2, Claude 4.5, etc.) equipped with advanced toolchains found zero such bugs (0/15). Agora achieved this with a high true positive rate (73.9%) and high cost-efficiency, averaging about 5.32M tokens (~$40) per deep bug found.

QWhat is the significance of Agora's design in terms of cost and accessibility compared to other industry approaches mentioned, like Anthropic's Glasswing project?

AAgora's design provides a cost-effective and accessible alternative to heavyweight, proprietary industry approaches. Unlike projects like Glasswing which rely on top-tier commercial models and incur high computational/token costs, Agora uses a streamlined multi-agent architecture with succinct communication. This allows it to achieve state-of-the-art bug detection using more cost-efficient base models, making advanced automated security auditing feasible for startups, SMEs, and open-source communities.

QBeyond consensus protocols, what other hardcore system domains does the article suggest the Agora framework's methodology could be applied to?

AThe article suggests that Agora's plug-and-play architecture, which decouples the core workflow from domain knowledge, can be generalized to other domains plagued by deep logic bugs. These include database concurrency control (e.g., testing transaction conflicts), operating system kernels/concurrent systems (e.g., for deadlocks and race conditions), and Web3 smart contract auditing (e.g., for complex cross-chain or DeFi protocol logic).

Lecturas Relacionadas

From Return to Resignation: Chen Hang's 437 Days at DingTalk

The 437-Day Return and Departure of Chen Hang at DingTalk This article chronicles the 437-day period from March 31, 2025, to June 11, 2026, when Chen Hang (also known as "No Move") returned as CEO of DingTalk, the enterprise communication platform he originally founded, only to later step down. Chen Hang, the creator of DingTalk in 2015, was brought back by Alibaba in 2025 after the company acquired his subsequent startup, HHO. His return was driven by Alibaba's renewed focus on AI and DingTalk's strategic role as its key to-B AI application. However, his aggressive management style, marked by strict work policies like mandatory clock-ins and extended hours, quickly caused internal friction and was criticized as being at odds with Alibaba's culture. Despite the internal turmoil, Chen Hang drove significant product launches. In August 2025, he unveiled "AI DingTalk 1.0," featuring new products like the AI-native entry point "DingTalk ONE." By March 2026, he announced "Wukong," touted as the world's first enterprise-grade AI-native work platform, representing a fundamental rebuild of DingTalk's architecture. The turning point came in early June 2026. A detailed internal post criticizing DingTalk's work culture went viral, followed by a public critique from a former executive. This prompted an unprecedented public rebuke from the Alibaba Partners Committee, which stated such management was not aligned with company values. One day later, on June 11, Alibaba announced Chen Hang's departure. He was succeeded by Chen Yusen, a 32-year-old technical expert known for founding cybersecurity firm Changting Technology. While Chen Hang's tenure laid the technical foundation for DingTalk's AI transformation with "Wukong," his leadership style ultimately led to his replacement as the company seeks a new direction under younger leadership.

marsbitHace 3 min(s)

From Return to Resignation: Chen Hang's 437 Days at DingTalk

marsbitHace 3 min(s)

The 2026 Landscape of Decentralized AI: Why Blockchain is the Inevitable 'Antidote' for AI?

Decentralized AI 2026 Landscape: Why Blockchain is AI's Essential "Antidote" Centralized AI faces structural bottlenecks—expensive compute, concentrated control, unverifiable outputs, and difficult data access—that cannot be solved by capital or code alone. Blockchain offers a path to make intelligence open, verifiable, and economically accessible. The decentralized AI stack comprises: * **Infrastructure:** The foundation with compute, verifiable inference, distributed training, data/storage, and privacy/verification layers. Projects like Akash, Render, and Filecoin provide cheaper, decentralized alternatives for raw resources. * **Middleware:** The coordination layer for agent discovery, identity, and commerce. Key players include Bittensor (a network of specialized AI subnets), Virtuals (an agent economy OS), and frameworks providing agent identity and tooling. * **Applications & Services:** Dominated by Agentic Finance (AI agents executing on-chain actions based on natural language) and Agentic Payments (machine-to-machine transactions using blockchain as a settlement layer). Projects like Giza, Infinit Labs, and x402 are enabling these use cases. Key trends for 2026-2027 show AI demand outgrowing infrastructure, compute becoming an asset class, and tokenomics emerging as a structural advantage for coordinating capital, compute, and data. While still early—with adoption uneven and revenue often trailing token incentives—projects like Bittensor, NEAR, and Venice demonstrate decentralized AI is evolving from a narrative into a new model for coordinating intelligence.

Foresight NewsHace 23 min(s)

The 2026 Landscape of Decentralized AI: Why Blockchain is the Inevitable 'Antidote' for AI?

Foresight NewsHace 23 min(s)

Trading

Spot
Futuros

Artículos destacados

Cómo comprar 0G

¡Bienvenido a HTX.com! Hemos hecho que comprar 0G (0G) sea simple y conveniente. Sigue nuestra guía paso a paso para iniciar tu viaje de criptos.Paso 1: crea tu cuenta HTXUtiliza tu correo electrónico o número de teléfono para registrarte y obtener una cuenta gratuita en HTX. Experimenta un proceso de registro sin complicaciones y desbloquea todas las funciones.Obtener mi cuentaPaso 2: ve a Comprar cripto y elige tu método de pagoTarjeta de crédito/débito: usa tu Visa o Mastercard para comprar 0G (0G) al instante.Saldo: utiliza fondos del saldo de tu cuenta HTX para tradear sin problemas.Terceros: hemos agregado métodos de pago populares como Google Pay y Apple Pay para mejorar la comodidad.P2P: tradear directamente con otros usuarios en HTX.Over-the-Counter (OTC): ofrecemos servicios personalizados y tipos de cambio competitivos para los traders.Paso 3: guarda tu 0G (0G)Después de comprar tu 0G (0G), guárdalo en tu cuenta HTX. Alternativamente, puedes enviarlo a otro lugar mediante transferencia blockchain o utilizarlo para tradear otras criptomonedas.Paso 4: tradear 0G (0G)Tradear fácilmente con 0G (0G) en HTX's mercado spot. Simplemente accede a tu cuenta, selecciona tu par de trading, ejecuta tus trades y monitorea en tiempo real. Ofrecemos una experiencia fácil de usar tanto para principiantes como para traders experimentados.

229 Vistas totalesPublicado en 2025.09.22Actualizado en 2026.06.02

Cómo comprar 0G

Discusiones

Bienvenido a la comunidad de HTX. Aquí puedes mantenerte informado sobre los últimos desarrollos de la plataforma y acceder a análisis profesionales del mercado. A continuación se presentan las opiniones de los usuarios sobre el precio de 0G (0G).

活动图片