Skip to content

CodeMirage: a multilingual benchmark for detecting source code generated and rewritten by production-grade LLMsCodeMirage: A Multi-Lingual Benchmark for Detecting AI-Generated and Paraphrased Source Code from Production-Level LLMs

arXiv· arXiv:2506.11059· Hanxi Guo, Siyuan Cheng, Kaiyuan Zhang, Guangyu Shen, Xiangyu Zhang·Indexed by this site · 22 days ago· Originally publishedEvaluation
AI summary

The researchers propose CodeMirage, a multilingual benchmark covering 10 programming languages and containing both original and rewritten code, for detecting source code generated by production-grade LLMs. The benchmark incorporates outputs from 10 production-grade LLMs from 6 major providers, covering both reasoning and non-reasoning models; the authors evaluate 10 representative detectors under 4 evaluation settings using 3 metrics and summarize 9 findings. The work targets risks such as code plagiarism, license violations and the spread of unsafe code, and seeks to address the limited language coverage and weak generative model capabilities of existing benchmarks.

Read originalarxiv.org