Paper 2026/3050

MechCrypto: Agent-Assisted Cryptanalysis of the First-Round NGCC Candidates

Zhengyang Wang, State Key Laboratory of Mathematical Sciences, Academy of Mathematics and Systems Science, Chinese Academy of Sciences; University of Chinese Academy of Sciences
Yichuan Cao, State Key Laboratory of Mathematical Sciences, Academy of Mathematics and Systems Science, Chinese Academy of Sciences; University of Chinese Academy of Sciences
Kunyu Wu, State Key Laboratory of Mathematical Sciences, Academy of Mathematics and Systems Science, Chinese Academy of Sciences; University of Chinese Academy of Sciences
Hongbo Li, State Key Laboratory of Mathematical Sciences, Academy of Mathematics and Systems Science, Chinese Academy of Sciences; University of Chinese Academy of Sciences
Xiao-Shan Gao, State Key Laboratory of Mathematical Sciences, Academy of Mathematics and Systems Science, Chinese Academy of Sciences; University of Chinese Academy of Sciences
Abstract

Evaluating large batches of cryptographic submissions demands sustained scrutiny across mathematical design, security proofs, concrete parameters, and implementation code. Although large language model (LLM) agents have begun uncovering genuine flaws in public competitions, general-purpose coding agents remain brittle in cryptanalysis: they routinely miss implicit security notions and community conventions, drift outside the intended parameter or threat-model scope, and lose consistency across coupled proofs, complexity estimates, code, and prior literature. We present MechCrypto, a cryptanalytic research agent built on a persistent graph-structured framework. MechCrypto combines explicit task contracts, typed cross-artifact provenance, adaptively loaded cryptographic knowledge packs, and an independent verification gate that checks both evidential soundness and contract coverage before releasing reproducible artifacts. We evaluate MechCrypto blind on all 119 first-round candidates of the Next-generation Commercial Cryptographic Algorithms (NGCC) program (34 digital signatures, 41 key encapsulation mechanisms, 9 key exchange protocols, and 35 hash functions) without access to existing NGCC attack reports. The campaign with DeepSeek V4.1 Flash-1017 produces 115 comparable principal results, including 23 Critical findings. Against the 24 November 2026 public-results snapshot, MechCrypto achieves higher candidate-level severity on five submissions and identifies 57 principal findings whose underlying mechanisms have no matching public entry. Notably, for MEGASCON, MechCrypto derives an explicit, zero-search collision in the AVX-512 S-box compiled from Listing~3 of the specification, raising the candidate from the public tracker's High rating to Critical. Reports, proofs, code, and campaign data are available at https://github.com/MechMath/NGCC-results.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
Keywords
AI-assisted cryptanalysisResearch agentsCryptographic verificationNGCCReproducible evaluation
Contact author(s)
wangzhengyang22 @ mails ucas ac cn
caoyichuan @ amss ac cn
wukunyu @ amss ac cn
hli @ mmrc iss ac cn
xgao @ mmrc iss ac cn
History
2026-11-27: approved
2026-11-25: received
See all versions
Short URL
https://ia.cr/2026/3050
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2026/3050,
      author = {Zhengyang Wang and Yichuan Cao and Kunyu Wu and Hongbo Li and Xiao-Shan Gao},
      title = {{MechCrypto}: Agent-Assisted Cryptanalysis of the First-Round {NGCC} Candidates},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/3050},
      year = {2026},
      url = {https://eprint.iacr.org/2026/3050}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.