Intelligent and Converged Networks (Sep 2023)

BDGOA: A bot detection approach for GitHub OAuth Apps

  • Zhifang Liao,
  • Xuechun Huang,
  • Bolin Zhang,
  • Jinsong Wu,
  • Yu Cheng

DOI
https://doi.org/10.23919/ICN.2023.0006
Journal volume & issue
Vol. 4, no. 3
pp. 181 – 197

Abstract

Read online

As various software bots are widely used in open source software repositories, some drawbacks are coming to light, such as giving newcomers non-positive feedback and misleading empirical studies of software engineering researchers. Several techniques have been proposed by researchers to perform bot detection, but most of them are limited to identifying bots performing specific activities, let alone distinguishing between GitHub App and OAuth App. In this paper, we propose a bot detection technique for OAuth App, named BDGOA. 24 features are used in BDGOA, which can be divided into three dimensions: account information, account activity, and text similarity. To better explore the behavioral features, we define a fine-grained classification of behavioral events and introduce self-similarity to quantify the repeatability of behavioral sequence. We leverage five machine learning classifiers on the benchmark dataset to conduct bot detection, and finally choose random forest as the classifier, which achieves the highest F1-score of 95.83%. The experimental results comparing with the state-of-the-art approaches also demonstrate the superiority of BDGOA.

Keywords