Lune

ICSE2026Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Detecting Automatic Software Plagiarism via Token Sequence Normalization cites Mossad: defeating software plagiarism detection
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on4

  1. Provable Robust Watermarking for AI-Generated TextXuandong Zhao, Prabhanjan Vijendra Ananth, Lei Li, Yu-Xiang WangICLR 2024 · 312 citations
  2. Evading Watermark based Detection of AI-Generated ContentZhengyuan Jiang, Jinghuai Zhang, Neil Zhenqiang GongCCS 2023 · 46 citations
  3. Mossad: defeating software plagiarism detectionBreanna Devore-McDonald, Emery D. BergerOOPSLA 2020 · 35 citations
  4. Detecting Automatic Software Plagiarism via Token Sequence NormalizationTimur Saglam, Moritz Brödel, Larissa Schmid, Sebastian HahnerICSE 2024 · 6 citations

Related papers

  1. Denoising Programming Knowledge Tracing with a Code Graph-based Tuning AdaptorWeibo Gao, Qi Liu, Rui Li, Yuze Zhao et al.KDD 2025 · 1 citation
  2. A Comprehensive Study of Learning-based Android Malware Detectors under Challenging EnvironmentsCuiying Gao, Gaozhun Huang, Heng Li, Bang Wu et al.ICSE 2024 · 29 citations
  3. 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
  4. 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
  5. Adversarial Math Word Problem GenerationRoy Xie, Chengxuan Huang, Junlin Wang, Bhuwan DhingraEMNLP Findings 2024 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines