Technique for determining the author of software code based on multi-view

DOI: 10.21293/1818-0442-2025-28-3-59-65

Download article in PDF format

JATS xml

Abstract: This paper presents a new method for identifying the author of software code based on a multi-view approach. The aim of the study is to improve the accuracy and robustness of authorship identification by combining different representations of soft-ware code: source code, abstract syntax tree, control flow graph, and disassembled code. Modern machine learning meth-ods were used to build models, allowing for the integration and analysis of complex features from different sources. The exper-iments showed that the developed multi-view architecture pro-vides a significant improvement in the quality of identification compared to traditional approaches using only one representa-tion of the code. Thus, in tasks with a closed set of authors, accuracy and F1-macro values of up to 0.97 were achieved, and on open sets, high resistance to the emergence of new authors and variability of programming styles was noted. In the author verification task, complex features made it possible to achieve accuracy of up to 0.98 and reduce the EER error to 0.04.

Keywords: software, source code, disassembler, graph representation, authorship, verification

Funding: The work was carried out with the financial support of the Ministry of Science and Higher Education of the Russian Federation within the framework of the basic part of the state assignment of TUSUR for 2023–2025 (project No. FEWM-2023-0015).

For citation:
Kurtukova A. V. Technique for determining the author of software code based on multi-view. Doklady Tomskogo gosudarstvennogo universiteta sistem upravleniya i radioelektroniki, 2025, vol. 28, no. 3, pp. 59–65. DOI: 10.21293/1818-0442-2025-28-3-59-65

Authors and copyright holders:

  • Kurtukova A. V. , Tomsk State University of Control Systems and Radioelectronics (Tomsk, Russia)

  • 1. Alrabaee S., Debbabi M., Shirani P., Wang L., Youssef A., Rahimian A., Nouh L., Mouheb D., Huang H. Binary code fingerprinting for cybersecurity: Application to malicious code fingerprinting. Cham: Springer, 2020, 249 p.
  • 2. HajiHosseinKhani S., Joshi B., Habibi Lashkari A. AuthAttLyzer-V2: Unveiling Code Authorship Attribution Using Enhanced Ensemble Learning Models and Generating Benchmark Dataset. Data Science. CSCE 2024. Communications in Computer and Information Science. Cham: Springer, 2025, vol. 2253, pp. 148–165.
  • 3. Gurioli A., Gabbrielli M., Zacchiroli S. Stylometry for real-world expert coders: a zero-shot approach. PeerJ Computer Science, 2024, vol. 10, pp. e2429.
  • 4. Alsulami B., Dauber E., Harang R., Mancoridis S., Greenstadt R. Source Code Authorship Attribution Using Long Short-Term Memory Based Networks. Computer Security. Lecture Notes in Computer Science. Cham: Springer, 2017, vol. 10492, pp. 65–82.
  • 5. Caliskan-Islam A., Harang R., Liu A., Narayanan A., Voss C., Yamaguchi F., Greenstadt R. De-anonymizing programmers via code stylometry. Proceedings of the 24th USENIX Security Symposium. Berkeley, CA: USENIX Association, 2015, pp. 255–270.
  • 6. Frantzeskou E., Stamatatos E., Gritzalis S., Chaski C. Source code authorship analysis using byte-level or n-gram features. Journal of Systems and Software / Information and Software Technology, 2006, vol. 6, pp. 508–515.
  • 7. Ilyas M., Zia T., Gull M. Source Code Author Attribution Using Author’s Programming Style and Code Smells. International Journal of Intelligent Systems and Applications, 2017, vol. 9, no. 5, pp. 22–33. DOI:10.5815/ijisa.2017.05.04.
  • 8. Gorchakov A.V., Demidova L.A., Maslennikov V.V. Source Code Embeddings Based on Control Flow Graphs and Markov Chains for Program Classification. Proc. 6th Int. Conf. on Control Systems, Mathematical Modeling, Automation and Energy Efficiency (SUMMA). Lipetsk, Russian Federation, 2024, pp. 328–333.
  • 9. Bogdanova A. Source code authorship attribution using file embeddings. Companion Proceedings of the 2021 ACM SIGPLAN International Conference on Systems, Programming, Languages, and Applications: Software for Humanity. 2021, pp. 31–33.
  • 10. Zhen L. RoPGen: Towards Robust Code Authorship Attribution via Automatic Coding Style Transformation. Proceedings of the 44th IEEE International Conference on Software Engineering (ICSE). Pittsburgh, PA, USA, 2022, pp. 1906–1918.
  • 11. Yang X., Xu G., Li Q., Guo Y., Zhang M. Authorship attribution of source code by using back propagation neural network based on particle swarm optimization. PLoS ONE, 2017, vol. 12, no. 11, pp. e0187204.
  • 12. Mahbub P., Oishie N.Z., Haque S.M.R. Authorship Identification of Source Code Segments Written by Multiple Authors Using Stacking Ensemble Method. Proceedings of the 22nd International Conference on Computer and Information Technology (ICCIT). Dhaka, Bangladesh: IEEE, 2019, pp. 1–6.
  • 13. Álvarez-Fidalgo D., Ortín F. CLAVE: A deep learning model for source code authorship verification with contrastive learning and transformer encoders. Information Processing Management, 2025, vol. 62, рр. 104005.
  • 14. Choi S., Tan Y.K., Meng M.H., Ragab M., Mondal S., Mohaisen D., Aung K.M.M. I Can Find You in Seconds! Leveraging Large Language Models for Code Authorship Attribution. Available at: https://doi.org/10.48550/arXiv.2501.08165 (Accessed: 15.08.2025).
  • 15. Adam I., Waagen A., Warmsley D., Xu J. Learning Explainable Multi-view Representations for Malware Authorship Attribution. Proc. 2023 IEEE Int. Conf. on Big Data (BigData). 2023, pp. 3099–3106.
  • 16. Romanov A.S. Metodologiya identifikacii avtora tekstovoj informacii dlya resheniya zadach kiberbezopasnosti [Methodology for Text Information Authorship Identification for Cybersecurity Tasks]: Dr. Sci. dissertation (manuscript). Tomsk: TUSUR, 2025 (in Russ.). Available at: https://postgraduate.tusur.ru/urls/51p1ctn6 (Accessed: 15 August 2025).
  • 17. GitHub. Available at: https://github.com/ (Accessed: 15 August 2025).
  • 18. Kurtukova A., Romanov A., Shelupanov A., Fedotova A. Complex cases of source code authorship identification using a hybrid deep neural network. Future Internet, 2022, vol. 14, 287.
Editorial office address

Executive Secretary of the Editor’s Office

 Editor’s Office: 40 Lenina Prospect, Tomsk, 634050, Russia

  Phone / Fax: + 7 (3822) 701-582

  journal@tusur.ru

 

Viktor N. Maslennikov

Executive Secretary of the Editor’s Office

 Editor’s Office: 40 Lenina Prospect, Tomsk, 634050, Russia

  Phone / Fax: + 7 (3822) 51-21-21 / 51-43-02

Subscription for updates