Black Hat's Black Hat Asia 2026 | LLM-Empowered Differential Testing for the Ethereum Infrastructure: skim's analysis identifies 11 key moments. Researchers Ningyu He and Jie Ma present two LLM-empowered differential testing frameworks targeting Ethereum's execution and consensus layer clients across a 30-node local testnet.
Category: Tech. Format: Educational. YouTube video analyzed by skim.
skim AI Analysis
Credibility assessment: Peer-Reviewed Security Study. Speakers Ningyu He and Jie Ma present empirical findings from two peer-reviewed papers accepted at ISSTA 25 and OOPSLA 2026. They ground their claims in concrete bug counts, developer confirmation rates, and reproducible case studies across 11 Ethereum clients, while clearly stating that the 98 bugs come from their own testing evaluation.
Bias assessment: Academic Research Advocacy. The presentation maintains an objective, technical focus on software engineering methodology and vulnerability analysis. The slight lean comes from the researchers naturally advocating for their own LLM-assisted differential testing frameworks over prior domain-specific language or manual testing approaches.
Originality: 86% — Novel LLM-Differential Method. Combining interprocedural control flow graphs and specification schemas with Large Language Models to both generate semantically valid Ethereum test inputs and filter false-positive environmental noise represents original, published security research that uncovered 98 previously unknown bugs.
Depth: 84% — Deep Root-Cause Walkthroughs. The speakers move systematically from architectural motivation to methodology and code-level root-cause analysis, walking through shallow-copy state bugs, null pointer dereferences in EVM opcodes, misrouted JSON-RPC exception handling, and upstream specification discrepancies.
Key Points (11)
1. Ningyu He on overlooked Ethereum client security
Timestamp: 00:01:16 to 00:05:25
Ningyu He explains that while Ethereum holds a market cap of roughly $260 billion and hosts over 90 million smart contracts, nearly 60% of academic security papers on Google Scholar focus on smart contracts rather than underlying node infrastructure. He likens smart contracts to the tip of an iceberg, arguing that the massive client infrastructure beneath the water receives far less scrutiny despite Ethereum leading blockchains in financial damage from exploits.
Significance (Medium): Highlights a major blind spot in blockchain security research where the foundational software running the network gets far less attention than application-level contracts.
Sources in support: Ningyu He (Research Assistant Professor, The Hong Kong Polytechnic University; Security Consultant, Amber Group)
2. Geth and Prysm bugs show client failure risks
Timestamp: 00:05:25 to 00:10:11
Using two real-world incidents, Ningyu He illustrates how bugs in consensus and execution layer clients threaten the entire network. A shallow-copy bug in the popular Geth execution client caused a chain fork affecting MetaMask and Binance, while a state-replay disk I/O bug in the Prysm consensus client during the December Fusaka upgrade dropped network participation to 75%, narrowly staying above the 66% two-thirds finality threshold.
Significance (High): Shows that a single implementation flaw in a widely used client can split the blockchain or push consensus dangerously close to halting block finality.
Sources in support: Ningyu He (Research Assistant Professor, The Hong Kong Polytechnic University; Security Consultant, Amber Group)
3. 30-node differential testing across 11 clients
Timestamp: 00:10:11 to 00:13:51
Because the Ethereum Foundation promotes client diversity across languages like Go, Rust, Java, and C#, writing language-specific fuzzers or static analyzers for every upgrade is unscalable. Ningyu He explains that their team instead pairs six consensus clients with five execution clients to build a 30-node local testnet, sending identical inputs to all 30 nodes and flagging divergent outputs or states as potential bugs.
Significance (High): Turns client diversity from a testing obstacle into an oracle, bypassing the need to rebuild static analysis tools for each programming language.
Sources in support: Ningyu He (Research Assistant Professor, The Hong Kong Polytechnic University; Security Consultant, Amber Group)
4. Why existing smart contracts fail as EVM test inputs
Timestamp: 00:13:51 to 00:17:25
Turning to their ISSTA 25 study on EVM testing, Ningyu He explains why existing on-chain contracts cannot adequately test every opcode path in the specification. Fewer than 1% of deployed smart contracts are open source, most are repetitive ERC20 tokens that rarely trigger corner cases, and traditional fuzzing mutations of compiled bytecode frequently break semantic rules such as requiring JUMP and JUMPDEST opcodes to pair correctly.
Significance (Medium): Explains why standard corpus-based fuzzing struggles to reach deep execution paths inside virtual machine opcode implementations.
Sources in support: Ningyu He (Research Assistant Professor, The Hong Kong Polytechnic University; Security Consultant, Amber Group)
5. Combining ICFG extraction with LLMs for EVM testing
Timestamp: 00:17:25 to 00:20:47
To generate diverse and semantically valid EVM inputs, Ningyu He's team prompts an LLM to create a minimal bytecode seed for each target opcode and extracts an interprocedural control flow graph (ICFG) from the specification to capture stack, gas, and program counter helper functions.
Significance (High): Demonstrates how pairing static specification graphs with LLMs automates both path-complete input generation and cross-language bug localization.
Sources in support: Ningyu He (Research Assistant Professor, The Hong Kong Polytechnic University; Security Consultant, Amber Group)
6. Jie Ma on Etherscan API bugs and testing hurdles
Timestamp: 00:20:47 to 00:24:52
Introducing their OOPSLA 2026 paper on client APIs, Jie Ma shows how an API bug in the Erigon client caused Etherscan to display 0.1 ETH on one page and 0.01 ETH on another for the exact same transaction because `debug_traceTransaction` and `trace_transaction` returned conflicting values, while the Rust client Reth had the exact opposite bug.
Significance (High): Illustrates that even when blockchain consensus holds, flawed client APIs can feed false transaction balances to block explorers and user wallets.
Sources in support: Jie Ma (Eng.D Candidate, Beihang University; Zhongguancun Laboratory)
7. Using spec schemas and LLM-as-a-judge for APIs
Timestamp: 00:24:52 to 00:29:03
To overcome manual test maintenance in prior tools, Jie Ma presents APIDiffer, which uses specification schemas enriched with real on-chain data to generate syntactically and semantically valid and invalid API requests.
Significance (High): Solves the main bottleneck of distributed differential testing by separating benign phrasing or peer-ID differences from genuine protocol violations.
Sources in support: Jie Ma (Eng.D Candidate, Beihang University; Zhongguancun Laboratory)
8. 98 bugs found and a Geth PREVRANDAO crash case
Timestamp: 00:29:03 to 00:32:05
Jie Ma reports that their frameworks uncovered 98 bugs in total, comprising 26 EVM bugs and 72 API bugs across all 11 mainstream Ethereum clients, with over 85% confirmed or fixed. In a first case study, he details a null pointer dereference in Geth's `opRandom` implementation for the `PREVRANDAO` opcode that causes an EVM crash and denial of service, noting that downstream blockchains like Neo X that forked Geth inherited the exact same node-crashing vulnerability.
Significance (High): Proves the empirical effectiveness of the methodology and shows how a bug in a dominant client like Geth silently propagates to downstream blockchain forks.
Sources in support: Jie Ma (Eng.D Candidate, Beihang University; Zhongguancun Laboratory)
9. Besu error handling and Beacon API spec flaws
Timestamp: 00:32:05 to 00:34:35
Continuing through the case studies, Jie Ma explains how the Java-based Besu client caught an invalid parameter exception and returned an `INVALID` payload status instead of the required `-32602` JSON-RPC error, an issue escalated to an Ethereum project management meeting due to consensus confusion risks.
Significance (High): Demonstrates that differential testing can catch flaws not only in client implementations but also in the upstream reference specifications that all developers rely on.
Sources in support: Jie Ma (Eng.D Candidate, Beihang University; Zhongguancun Laboratory)
10. Actionable reporting and remaining attack vectors
Timestamp: 00:34:35 to 00:37:26
Jie Ma summarizes how their cross-client reports help developers reproduce bugs, protect node-to-wallet interactions, and preserve client diversity. He emphasizes that prioritizing client security is just as vital as auditing smart contracts, pointing researchers toward unexplored client attack surfaces including Proof of Stake consensus logic, state storage, transaction pools, P2P networking, gas mechanisms, and software supply chains.
Significance (Medium): Maps out a concrete research agenda for security teams looking to audit blockchain infrastructure beyond EVM opcodes and RPC endpoints.
Sources in support: Jie Ma (Eng.D Candidate, Beihang University; Zhongguancun Laboratory)
11. Proof of Stake inner logic left outside test scope
Timestamp: 00:37:26 to 00:39:00
During the Q&A session, an audience member asks whether the 30-node differential testing framework incorporates Proof of Stake or Proof of Work consensus logic when evaluating node responses. Jie Ma clarifies that while the local testnet runs standard mainstream Proof of Stake consensus to operate, the inner logic of Proof of Stake itself is not tested, as the framework strictly compares execution and API response consistency across clients.
Significance (Low): Clarifies the exact boundary of the research, confirming that consensus-algorithm attacks remain outside the scope of these two testing tools.
Sources in support: Jie Ma (Eng.D Candidate, Beihang University; Zhongguancun Laboratory)
Neutral sources: YouTube: Black Hat (Conference Session Channel)
This analysis was generated by skim (skim.plus), an AI-powered content analysis platform by Credible AI. Scores and classifications represent the platform's AI-generated assessment and should be considered alongside other sources.