SecretHunter: A Large-scale Secret Scanner for Public Git Repositories

计算机科学 元数据 重复数据消除 软件 下载 密码 带宽(计算) 万维网 数据库 操作系统 计算机网络
作者
Elliott Wen,Jia Wang,Jens Dietrich
标识
DOI:10.1109/trustcom56396.2022.00028
摘要

Collaborative software development platforms like GitHub have gained tremendous popularity. Unfortunately, many users have reportedly leaked authentication secrets (e.g., textual passwords and API keys) in public Git repositories and caused security incidents and finical loss. Recently, several tools were built to investigate the secret leakage in GitHub. However, these tools could only discover and scan a limited portion of files in GitHub due to platform API restrictions and band-width limitations. In this paper, we present SecretHunter, a real-time large-scale comprehensive secret scanner for GitHub. SecretHunter resolves the file discovery and retrieval difficulty via two major improvements to the Git cloning process. Firstly, our system will retrieve file metadata from repositories before cloning file contents. The early metadata access can help identify newly committed files and enable many bandwidth optimizations such as filename filtering and object deduplication. Secondly, SecretHunter adopts a reinforcement learning model to analyze file contents being downloaded and infer whether the file is sensitive. If not, the download process can be aborted to conserve bandwidth. We conduct a one-month empirical study to evaluate SecretHunter. Our results show that SecretHunter discovers 57% more leaked secrets than state-of-the-art tools. SecretHunter also reduces 85% bandwidth consumption in the object retrieval process and can be used in low-bandwidth settings (e.g., 4G connections).

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
XY打钉佬发布了新的文献求助10
刚刚
感性的妙菡应助平淡道天采纳,获得10
刚刚
2秒前
李健应助美妮采纳,获得10
2秒前
4nanai完成签到,获得积分10
4秒前
4秒前
踏实的魔镜完成签到,获得积分10
4秒前
4秒前
4秒前
ding应助文聪采纳,获得10
5秒前
Lee发布了新的文献求助10
5秒前
5秒前
wuhuijuan关注了科研通微信公众号
5秒前
七安发布了新的文献求助10
7秒前
乐乐应助4nanai采纳,获得10
7秒前
科研通AI6.2应助害羞天荷采纳,获得10
7秒前
YanqiZhang发布了新的文献求助10
7秒前
8秒前
gaberella完成签到,获得积分10
8秒前
8秒前
怕黑的妙菱完成签到 ,获得积分10
9秒前
yuquan完成签到,获得积分10
9秒前
ALDXL发布了新的文献求助10
9秒前
10秒前
生动的保温杯完成签到,获得积分10
10秒前
10秒前
10秒前
优秀雁山完成签到,获得积分20
11秒前
LAN完成签到,获得积分10
11秒前
机灵夜云完成签到,获得积分10
11秒前
12秒前
多情嫣然发布了新的文献求助10
12秒前
体贴太英完成签到,获得积分10
12秒前
粥周粥发布了新的文献求助10
13秒前
13秒前
风趣的兰完成签到,获得积分10
14秒前
yuquan发布了新的文献求助10
14秒前
ally完成签到,获得积分10
14秒前
美妮发布了新的文献求助10
15秒前
旭日发布了新的文献求助10
15秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Applied Min-Max Approach to Missile Guidance and Control 3000
Metallurgy at high pressures and high temperatures 2000
Inorganic Chemistry Eighth Edition 1200
High Pressures-Temperatures Apparatus 1000
Free parameter models in liquid scintillation counting 1000
Standards for Molecular Testing for Red Cell, Platelet, and Neutrophil Antigens, 7th edition 1000
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6318491
求助须知:如何正确求助?哪些是违规求助? 8134802
关于积分的说明 17053187
捐赠科研通 5373419
什么是DOI,文献DOI怎么找? 2852334
邀请新用户注册赠送积分活动 1830173
关于科研通互助平台的介绍 1681819