Same Same But Different: Preventing Refactoring Attacks on Software Plagiarism Detection
Robin Maisch, Larissa Schmid, Timur Sağlam, Nils Niehues
Abstract
Plagiarism detection in programming education faces growing challenges due to increasingly sophisticated obfuscation techniques, particularly automated refactoring-based attacks. While code plagiarism detection systems used in education practice are resilient against basic obfuscation, they struggle against structural modifications that preserve program behavior, especially caused by refactoring-based obfuscation. This paper presents a novel and extensible framework that enhances state-of-the-art detectors by leveraging code property graphs and graph transformations to counteract refactoring-based obfuscation. Our comprehensive evaluation of real-world student submissions, obfuscated using both algorithmic and AI-based obfuscation attacks, demonstrates a significant improvement in detecting plagiarized code.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 9a538f4d-98c0-4b8f-b5c8-c55bc626ea5bBuilds on4
- Provable Robust Watermarking for AI-Generated TextXuandong Zhao, Prabhanjan Vijendra Ananth, Lei Li, Yu-Xiang WangICLR 2024 · 312 citations
- Evading Watermark based Detection of AI-Generated ContentZhengyuan Jiang, Jinghuai Zhang, Neil Zhenqiang GongCCS 2023 · 46 citations
- Mossad: defeating software plagiarism detectionBreanna Devore-McDonald, Emery D. BergerOOPSLA 2020 · 35 citations
- Detecting Automatic Software Plagiarism via Token Sequence NormalizationTimur Saglam, Moritz Brödel, Larissa Schmid, Sebastian HahnerICSE 2024 · 6 citations
Related papers
- Denoising Programming Knowledge Tracing with a Code Graph-based Tuning AdaptorWeibo Gao, Qi Liu, Rui Li, Yuze Zhao et al.KDD 2025 · 1 citation
- AI Wrote My Paper and All I Got was This False Negative:* Measuring the Efficacy of Commercial AI Text DetectorsSeth Layton, Bernardo B. P. Medeiros, Kevin R. B. Butler, Patrick TraynorS&P 2026 · 3 citations
- Hidding the Ghostwriters: An Adversarial Evaluation of AI-Generated Student Essay DetectionXinlin Peng, Ying Zhou, Ben He, Le Sun et al.EMNLP 2023 · 9 citations
- CCGraph: a PDG-based code clone detector with approximate graph matchingYue Zou, Bihuan Ban, Yinxing Xue, Yun XuASE 2020 · 46 citations
- Towards Learning (Dis)-Similarity of Source Code from Program ContrastsYangruibo Ding, Luca Buratti, Saurabh Pujar, Alessandro Morari et al.ACL 2022
