{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T18:53:41Z","timestamp":1782845621475,"version":"3.54.5"},"reference-count":52,"publisher":"Association for Computing Machinery (ACM)","issue":"FSE","license":[{"start":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T00:00:00Z","timestamp":1782777600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"crossref","award":["U24A20337"],"award-info":[{"award-number":["U24A20337"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"crossref"}]},{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"crossref","award":["62372228"],"award-info":[{"award-number":["62372228"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2026,6,30]]},"abstract":"<jats:p>\n                    The proliferation of large language models for code (CodeLMs) and open-source contributions has heightened concerns over unauthorized use of source code datasets. While watermarking provides a viable protection mechanism by embedding ownership signals, existing methods rely on detectable trigger-target patterns and are limited to source-code tasks, overlooking other scenarios such as decompilation tasks. In this paper, we propose DuCodeMark, a stealthy and robust dual-purpose watermarking method for code datasets that generalizes across both source-code tasks and decompilation tasks. DuCodeMark parses each code sample into an abstract syntax tree (AST), applies language-specific style transformations to construct stealthy trigger-target pairs, and injects repressible poisoned features into a subset of return-typed samples to enhance robustness against watermark removal or evasion. These features remain inactive during normal training but are activated upon watermark removal, degrading model performance. For verification, DuCodeMark employs a black-box method based on the independent-samples\n                    <jats:italic toggle=\"yes\">t<\/jats:italic>\n                    -test. We conduct a comprehensive evaluation of DuCodeMark across 72 settings spanning two code tasks, two programming languages, three CodeLMs, and six decoding temperatures. The results demonstrate that it consistently achieves strong verifiability (\n                    <jats:italic toggle=\"yes\">p<\/jats:italic>\n                    &lt; 0.05), high stealthiness (suspicion rate \u2264 0.36), robustness against both watermark and poisoning attacks (recall \u2264 0.57), and a substantial drop in model performance upon watermark removal (Pass@1 drops by 28.6\n                  <\/jats:p>","DOI":"10.1145\/3797076","type":"journal-article","created":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T17:06:14Z","timestamp":1782839174000},"page":"1059-1081","source":"Crossref","is-referenced-by-count":0,"title":["DuCodeMark: Dual-Purpose Code Dataset Watermarking via Style-Aware Watermark-Poison Design"],"prefix":"10.1145","volume":"3","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-3380-5564","authenticated-orcid":false,"given":"Yuchen","family":"Chen","sequence":"first","affiliation":[{"name":"Nanjing University, Nanjing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0009-3166-8007","authenticated-orcid":false,"given":"Yuan","family":"Xiao","sequence":"additional","affiliation":[{"name":"Nanjing University, Nanjing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9930-7111","authenticated-orcid":false,"given":"Chunrong","family":"Fang","sequence":"additional","affiliation":[{"name":"Nanjing University, Nanjing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9592-7022","authenticated-orcid":false,"given":"Zhenyu","family":"Chen","sequence":"additional","affiliation":[{"name":"Nanjing University, Nanjing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7743-1296","authenticated-orcid":false,"given":"Baowen","family":"Xu","sequence":"additional","affiliation":[{"name":"Nanjing University, Nanjing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,6,30]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/3597503.3639133"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.48550\/ARXIV.2301.03988"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/3212695"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-45123-4_1"},{"key":"e_1_2_1_5_1","volume-title":"Workshop on Artificial Intelligence Safety 2019 co-located with the Thirty-Third AAAI Conference on Artificial Intelligence 2019 (AAAI-19)","author":"Chen Bryant","year":"2019","unstructured":"Bryant Chen, Wilka Carvalho, Nathalie Baracaldo, Heiko Ludwig, Benjamin Edwards, Taesung Lee, Ian M. Molloy, and Biplav Srivastava. 2019. Detecting Backdoor Attacks on Deep Neural Networks by Activation Clustering. In Workshop on Artificial Intelligence Safety 2019 co-located with the Thirty-Third AAAI Conference on Artificial Intelligence 2019 (AAAI-19)"},{"key":"e_1_2_1_6_1","volume-title":"Workshop Proceedings","volume":"18","author":"CEUR","unstructured":"CEUR Workshop Proceedings, Vol. 2301). CEUR-WS.org, Honolulu, Hawaii. https:\/\/ceur-ws.org\/Vol-2301\/paper_18.pdf"},{"key":"e_1_2_1_7_1","volume-title":"Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et al.","author":"Chen Mark","year":"2021","unstructured":"Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Pond\u00e9 de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et al. 2021. Evaluating Large Language Models Trained on Code. arXiv abs\/2107.03374 (2021). https:\/\/arxiv.org\/abs\/2107.03374"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.48550\/ARXIV.2410.15631"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1109\/CGO51591.2021.9370322"},{"key":"e_1_2_1_10_1","unstructured":"DuCodeMark. 2025. DuCodeMark. site: https:\/\/github.com\/yuc-chen\/DuCodeMark."},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2024.3422274"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.18653\/V1\/2020.FINDINGS-EMNLP.139"},{"key":"e_1_2_1_13_1","unstructured":"Free Software Foundation. 2024. GNU Coding Standards. site: https:\/\/www.gnu.org\/prep\/standards\/."},{"key":"e_1_2_1_14_1","unstructured":"GitHub Inc. 2021. GitHub Copilot research recitation. https:\/\/github.blog\/2021-06-30-github-copilot-researchrecitation\/."},{"key":"e_1_2_1_15_1","unstructured":"GitHub Inc. 2022. GitHub Copilot. https:\/\/copilot.github.com\/."},{"key":"e_1_2_1_16_1","unstructured":"GitHub Inc. 2025. CodeQL: Code Analysis Engine. https:\/\/codeql.github.com\/."},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.48550\/ARXIV.2401.14196"},{"key":"e_1_2_1_18_1","volume-title":"Proceedings of the 31st Annual Network and Distributed System Security Symposium. The Internet Society","author":"Hu Peiwei","year":"2024","unstructured":"Peiwei Hu, Ruigang Liang, and Kai Chen. 2024. DeGPT: Optimizing Decompiler Output with LLM. In Proceedings of the 31st Annual Network and Distributed System Security Symposium. The Internet Society, San Diego, California, USA. https:\/\/www.ndss-symposium.org\/ndss-paper\/degpt-optimizing-decompiler-output-with-llm\/"},{"key":"e_1_2_1_19_1","unstructured":"Hugging Face Inc. 2016. Hugging Face. site: https:\/\/huggingface.co\/."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","unstructured":"Aaron Hurst Adam Lerer Adam P. Goucher Adam Perelman Aditya Ramesh Aidan Clark AJ Ostrow Akila Welihinda Alan Hayes Alec Radford et al. 2024. GPT-4o System Card. arXiv abs\/2410.21276 (2024). https:\/\/doi.org\/10.48550\/ ARXIV.2410.21276 10.48550\/ARXIV.2410.21276","DOI":"10.48550\/ARXIV.2410.21276"},{"key":"e_1_2_1_21_1","volume-title":"CodeSearchNet Challenge: Evaluating the State of Semantic Code Search. arXiv abs\/1909.09436","author":"Husain Hamel","year":"2019","unstructured":"Hamel Husain, Ho-Hsiang Wu, Tiferet Gazit, Miltiadis Allamanis, and Marc Brockschmidt. 2019. CodeSearchNet Challenge: Evaluating the State of Semantic Code Search. arXiv abs\/1909.09436 (2019). http:\/\/arxiv.org\/abs\/1909.09436"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.18653\/V1\/2024.ACL-LONG.268"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.48550\/ARXIV.2402.07518"},{"key":"e_1_2_1_24_1","volume-title":"Yangtian Zi, Niklas Muennighoff, Denis Kocetkov, Chenghao Mou, Marc Marone, Christopher Akiki, Jia Li, Jenny Chim, et al.","author":"Li Raymond","year":"2023","unstructured":"Raymond Li, Loubna Ben Allal, Yangtian Zi, Niklas Muennighoff, Denis Kocetkov, Chenghao Mou, Marc Marone, Christopher Akiki, Jia Li, Jenny Chim, et al. 2023. StarCoder: may the source be with you! Transactions on Machine Learning Research 2023 (2023). https:\/\/openreview.net\/forum?id=KoFOg41haE"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/3691626"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/3324884.3416591"},{"key":"e_1_2_1_27_1","volume-title":"Clang Static Analyzer. https:\/\/clang.llvm.org\/docs\/ClangStaticAnalyzer.html. Accessed","author":"LLVM.","year":"2025","unstructured":"LLVM. 2008. Clang Static Analyzer. https:\/\/clang.llvm.org\/docs\/ClangStaticAnalyzer.html. Accessed: 2025."},{"key":"e_1_2_1_28_1","volume-title":"https:\/\/clang.llvm.org\/docs\/ClangFormat.html. Accessed","author":"LLVM.","year":"2025","unstructured":"LLVM. 2013. Clang-format. https:\/\/clang.llvm.org\/docs\/ClangFormat.html. Accessed: 2025."},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/3196398.3196464"},{"key":"e_1_2_1_30_1","volume-title":"Tree-sitter: An incremental parsing system for programming tools. https:\/\/github. com\/tree-sitter\/tree-sitter.","author":"Brunsfeld Max","year":"2018","unstructured":"Max Brunsfeld and others. 2018. Tree-sitter: An incremental parsing system for programming tools. https:\/\/github. com\/tree-sitter\/tree-sitter."},{"key":"e_1_2_1_31_1","first-page":"224","volume-title":"Proceedings of the 3rd Workshop on Natural Language Generation, Evaluation, and Metrics. Association for Computational Linguistics","author":"McDanel Bradley","year":"2023","unstructured":"Bradley McDanel and Zhanhao Liu. 2023. ChatGPT as a Java Decompiler. In Proceedings of the 3rd Workshop on Natural Language Generation, Evaluation, and Metrics. Association for Computational Linguistics, Singapore, 224-232. https:\/\/aclanthology.org\/2023.gem-1.19\/"},{"key":"e_1_2_1_32_1","volume-title":"Proceedings of the 11st International Conference on Learning Representations. OpenReview.net, Kigali, Rwanda. https:\/\/openreview.net\/ forum?id=iaYcJKpY2B_","author":"Nijkamp Erik","year":"2023","unstructured":"Erik Nijkamp, Bo Pang, Hiroaki Hayashi, Lifu Tu, Huan Wang, Yingbo Zhou, Silvio Savarese, and Caiming Xiong. 2023. CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis. In Proceedings of the 11st International Conference on Learning Representations. OpenReview.net, Kigali, Rwanda. https:\/\/openreview.net\/ forum?id=iaYcJKpY2B_"},{"key":"e_1_2_1_33_1","volume-title":"Code Conventions for the Java Programming Language. site: https:\/\/www.oracle.com\/java\/technologies\/ javase\/codeconventions-contents.html.","year":"1999","unstructured":"Oracle. 1999. Code Conventions for the Java Programming Language. site: https:\/\/www.oracle.com\/java\/technologies\/ javase\/codeconventions-contents.html."},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.48550\/ARXIV.2308.12950"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.18653\/V1\/2023"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE55347.2025.00247"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/3510003.3510140"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/3632742"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/3611643.3616297"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/3485447.3512225"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/3292500.3330699"},{"key":"e_1_2_1_42_1","first-page":"3473","volume-title":"Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics","author":"Tan Hanzhuo","year":"2024","unstructured":"Hanzhuo Tan, Qi Luo, Jing Li, and Yuqun Zhang. 2024. LLM4Decompile: Decompiling Binary Code with Large Language Models. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, Miami, FL, USA, 3473-3487. https:\/\/aclanthology.org\/2024.emnlp-main.203"},{"key":"e_1_2_1_43_1","first-page":"8011","volume-title":"Spectral Signatures in Backdoor Attacks. In Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems","author":"Tran Brandon","year":"2018","unstructured":"Brandon Tran, Jerry Li, and Aleksander Madry. 2018. Spectral Signatures in Backdoor Attacks. In Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems. Montr\u00e9al, Canada, 8011-8021. https:\/\/proceedings.neurips.cc\/paper\/2018\/hash\/280cf18baf4311c92aa5a042336587d3-Abstract.html"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1109\/ASE.2019.00012"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1093\/biomet\/34.1-2.28"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1145\/3728952"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.48550\/ARXIV.2309.00860"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1145\/3510003.3510146"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.48550\/ARXIV.2403.07506"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2024.3361661"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1145\/3597503.3639074"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/3580305.3599790"}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3797076","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T17:53:18Z","timestamp":1782841998000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3797076"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,6,30]]},"references-count":52,"journal-issue":{"issue":"FSE","published-print":{"date-parts":[[2026,6,30]]}},"alternative-id":["10.1145\/3797076"],"URL":"https:\/\/doi.org\/10.1145\/3797076","relation":{},"ISSN":["2994-970X"],"issn-type":[{"value":"2994-970X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,6,30]]}}}