English

Same Same But Different: Preventing Refactoring Attacks on Software Plagiarism Detection

Software Engineering 2025-10-30 v1

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.

Keywords

Cite

@article{arxiv.2510.25057,
  title  = {Same Same But Different: Preventing Refactoring Attacks on Software Plagiarism Detection},
  author = {Robin Maisch and Larissa Schmid and Timur Sağlam and Nils Niehues},
  journal= {arXiv preprint arXiv:2510.25057},
  year   = {2025}
}

Comments

To be published at ICSE'26. 13 pages, 6 figures

R2 v1 2026-07-01T07:10:50.675Z