Cyber-guided Deep Neural Network for Malicious Repository Detection in GitHub

Yiming Zhang, Yujie Fan, Shifu Hou, Yanfang Ye, Xusheng Xiao, Pan Li, Chuan Shi, Liang Zhao, Shouhuai Xu

Research output: Chapter in Book/Report/Conference proceedingConference contribution

14 Scopus citations

Abstract

As the largest source code repository, GitHub has played a vital role in modern social coding ecosystem to generate production software. Despite the apparent benefits of such social coding paradigm, its potential security risks have been largely overlooked (e.g., malicious codes or repositories could be easily embedded and distributed). To address this imminent issue, in this paper, we propose a novel framework (named GitCyber) to automate malicious repository detection in GitHub at the first attempt. In GitCyber, we first extract code contents from the repositories hosted in GitHub as the inputs for deep neural network (DNN), and then we incorporate cybersecurity domain knowledge modeled by heterogeneous information network (HIN) to design cyber-guided loss function in the learning objective of the DNN to assure the classification performance while preserving consistency with the observational domain knowledge. Comprehensive experiments based on the large-scale data collected from GitHub demonstrate that our proposed GitCyber outperforms the state-of-the-arts in malicious repository detection.

Original languageEnglish (US)
Title of host publicationProceedings - 11th IEEE International Conference on Knowledge Graph, ICKG 2020
EditorsEnhong Chen, Grigoris Antoniou, Xindong Wu, Vipin Kumar
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages458-465
Number of pages8
ISBN (Electronic)9781728181561
DOIs
StatePublished - Aug 2020
Externally publishedYes
Event11th IEEE International Conference on Knowledge Graph, ICKG 2020 - Virtual, Nanjing, China
Duration: Aug 9 2020Aug 11 2020

Publication series

NameProceedings - 11th IEEE International Conference on Knowledge Graph, ICKG 2020

Conference

Conference11th IEEE International Conference on Knowledge Graph, ICKG 2020
Country/TerritoryChina
CityVirtual, Nanjing
Period8/9/208/11/20

Keywords

  • Cyber-guided DNN
  • Heterogeneous information network
  • Malicious repository detection

ASJC Scopus subject areas

  • Statistics, Probability and Uncertainty
  • Control and Optimization
  • Discrete Mathematics and Combinatorics
  • Statistics and Probability
  • Artificial Intelligence
  • Decision Sciences (miscellaneous)

Fingerprint

Dive into the research topics of 'Cyber-guided Deep Neural Network for Malicious Repository Detection in GitHub'. Together they form a unique fingerprint.

Cite this