From License Understanding to Copyright Violation Detection: A Study of Libraries in GitHub Python Projects

IF 1.6 4区 计算机科学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING
Wenhua Yang, Yuanting Liu, Minxue Pan
{"title":"From License Understanding to Copyright Violation Detection: A Study of Libraries in GitHub Python Projects","authors":"Wenhua Yang,&nbsp;Yuanting Liu,&nbsp;Minxue Pan","doi":"10.1002/smr.70129","DOIUrl":null,"url":null,"abstract":"<div>\n \n <p>Open-source licenses grant developers significant flexibility to use, modify, and distribute code, but they also introduce obligations that may pose legal or compliance risks. Among these, copyright-related terms are especially critical. Ensuring compliance with such terms is challenging due to the widespread use of third-party libraries and the diversity of license types. While license-related issues have attracted research interest, most prior work targets a narrow set of licenses and often overlooks copyright terms. To bridge this gap, we propose an automated approach for detecting copyright term violations in open-source projects that incorporate third-party libraries, covering a wide range of Open Source Initiative-approved licenses. Our method extracts licenses from both projects and their dependencies, uses large language models to interpret key copyright terms, and identifies potential violations. We applied our approach to 500 popular Python projects on GitHub and found that about 10% exhibited at least one violation. These results highlight the complexity of third-party license management and the need for improved compliance tools. By analyzing tens of thousands of licenses, we also uncovered common patterns in license usage. To foster further research and promote proactive compliance, we release our tool and dataset to the community.</p>\n </div>","PeriodicalId":48898,"journal":{"name":"Journal of Software-Evolution and Process","volume":"38 6","pages":""},"PeriodicalIF":1.6000,"publicationDate":"2026-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Software-Evolution and Process","FirstCategoryId":"94","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/smr.70129","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0

Abstract

Open-source licenses grant developers significant flexibility to use, modify, and distribute code, but they also introduce obligations that may pose legal or compliance risks. Among these, copyright-related terms are especially critical. Ensuring compliance with such terms is challenging due to the widespread use of third-party libraries and the diversity of license types. While license-related issues have attracted research interest, most prior work targets a narrow set of licenses and often overlooks copyright terms. To bridge this gap, we propose an automated approach for detecting copyright term violations in open-source projects that incorporate third-party libraries, covering a wide range of Open Source Initiative-approved licenses. Our method extracts licenses from both projects and their dependencies, uses large language models to interpret key copyright terms, and identifies potential violations. We applied our approach to 500 popular Python projects on GitHub and found that about 10% exhibited at least one violation. These results highlight the complexity of third-party license management and the need for improved compliance tools. By analyzing tens of thousands of licenses, we also uncovered common patterns in license usage. To foster further research and promote proactive compliance, we release our tool and dataset to the community.

从许可证理解到版权侵犯检测:GitHub Python项目中的库研究
开源许可授予开发人员使用、修改和分发代码的极大灵活性,但它们也引入了可能带来法律或遵从性风险的义务。其中,与版权相关的术语尤为重要。由于第三方库的广泛使用和许可类型的多样性,确保遵守这些术语是具有挑战性的。虽然与许可证相关的问题已经引起了研究兴趣,但大多数先前的工作都针对一组狭窄的许可证,并且经常忽略版权条款。为了弥补这一差距,我们提出了一种自动化的方法,用于检测包含第三方库的开源项目中的版权条款违规行为,涵盖了广泛的开源倡议批准的许可。我们的方法从两个项目及其依赖项中提取许可,使用大型语言模型来解释关键的版权条款,并识别潜在的违规行为。我们将我们的方法应用于GitHub上500个流行的Python项目,发现大约10%的项目至少有一个违规行为。这些结果突出了第三方许可证管理的复杂性和对改进的遵从性工具的需求。通过分析数以万计的许可证,我们还发现了许可证使用中的常见模式。为了促进进一步的研究和促进主动遵守,我们向社区发布了我们的工具和数据集。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Journal of Software-Evolution and Process
Journal of Software-Evolution and Process COMPUTER SCIENCE, SOFTWARE ENGINEERING-
自引率
10.00%
发文量
109
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书