Towards Automated Detection of Unethical Behavior in Open-Source Software Projects
Hsu Myat Win, Haibo Wang, Shin Hwei Tan
Abstract
Given the rapid growth of Open-Source Software (OSS) projects, ethical considerations are becoming more important. Past studies focused on specific ethical issues (e.g., gender bias and fairness in OSS). There is little to no study on the different types of unethical behavior in OSS projects. We present the first study of unethical behavior in OSS projects from the stakeholders’ perspective. Our study of 316 GitHub issues provides a taxonomy of 15 types of unethical behavior guided by six ethical principles (e.g., autonomy). Examples of new unethical behavior include soft forking (copying a repository without forking) and self-promotion (promoting a repository without self-identifying as contributor to the repository). We also identify 18 types of software artifacts affected by the unethical behavior. The diverse types of unethical behavior identified in our study (1) call for attentions of developers and researchers when making contributions in GitHub, and (2) point to future research on automated detection of unethical behavior in OSS projects. From our study, we propose Etor, an approach that can automatically detect six types of unethical behavior by using ontological engineering and Semantic Web Rule Language (SWRL) rules to model GitHub attributes and software artifacts. Our evaluation on 195,621 GitHub issues (1,765 GitHub repositories) shows that Etor can automatically detect 548 unethical behavior with 74.8% average true positive rate (up to 100% true positive rate). This shows the feasibility of automated detection of unethical behavior in OSS projects.
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.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers1
Builds on1
Related papers
- The Landscape of Toxicity: An Empirical Investigation of Toxicity on GitHubJaydeb Sarker, Asif Kamal Turzo, Amiangshu BosuFSE 2025 · 1 citation
- Who's Pushing the Code? An Exploration of GitHub ImpersonationYueke Zhang, Anda Liang, Xiaohan Wang, Pamela J. Wisniewski et al.ICSE 2025 · 2 citations
- Beyond Adoption: Examining the Evolution and Impact of Code of Conduct on Open Source CommunitiesJiayi Sun, Hongbo Fang, Junming Zhang, Jiakai Shi et al.ICSE 2026 · 2 citations
- Mining Pull Requests to Detect Process Anomalies in Open Source Software DevelopmentBohan Liu, He Zhang, Weigang Ma, Hongyu Kuang et al.ICSE 2024 · 2 citations
- Fork Entropy: Assessing the Diversity of Open Source Software Projects' ForksLiang Wang, Zhiwen Zheng, Xiangchen Wu, Baihui Sang et al.ASE 2023 · 8 citations
