Detecting Functionality-Specific Vulnerabilities via Retrieving Individual Functionality-Equivalent APIs in Open-Source Repositories

计算机科学 图形 卷积神经网络 可扩展性 人工智能 编码 边距(机器学习) 理论计算机科学 模式识别(心理学) 机器学习 生物化学 数据库 基因 化学
作者
Thomas Kipf,Max Welling
标识
DOI:10.4230/lipics.ecoop.2025.6
摘要

Functionality-specific vulnerabilities, which mainly occur in Application Programming Interfaces (APIs) with specific functionalities, are crucial for software developers to detect and avoid. When detecting individual functionality-specific vulnerabilities, the existing two categories of approaches are ineffective because they consider only the API bodies and are unable to handle diverse implementations of functionality-equivalent APIs. To effectively detect functionality-specific vulnerabilities, we propose APISS, the first approach to utilize API doc strings and signatures instead of API bodies. APISS first retrieves functionality-equivalent APIs for APIs with existing vulnerabilities and then migrates Proof-of-Concepts (PoCs) of the existing vulnerabilities for newly detected vulnerable APIs. To retrieve functionality-equivalent APIs, we leverage a Large Language Model for API embedding to improve the accuracy and address the effectiveness and scalability issues suffered by the existing approaches. To migrate PoCs of the existing vulnerabilities for newly detected vulnerable APIs, we design a semi-automatic schema to substantially reduce manual costs. We conduct a comprehensive evaluation to empirically compare APISS with four state-of-the-art approaches of detecting vulnerabilities and two state-of-the-art approaches of retrieving functionality-equivalent APIs. The evaluation subjects include 180 widely used Java repositories using 10 existing vulnerabilities, along with their PoCs. The results show that APISS effectively retrieves functionality-equivalent APIs, achieving a Top-1 Accuracy of 0.81 while the best of the baselines under comparison achieves only 0.55. APISS is highly efficient: the manual costs are within 10 minutes per vulnerability and the end-to-end runtime overhead of testing one candidate API is less than 2 hours. APISS detects 179 new vulnerabilities and receives 60 new CVE IDs, bringing high value to security practice.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
拾壹完成签到,获得积分10
4秒前
janice116688完成签到,获得积分10
5秒前
FCH2023完成签到,获得积分10
7秒前
Tonald Yang完成签到 ,获得积分20
9秒前
Jason完成签到 ,获得积分10
10秒前
t铁核桃1985完成签到 ,获得积分10
11秒前
13秒前
海丽完成签到 ,获得积分10
16秒前
不秃燃的小老弟完成签到 ,获得积分10
19秒前
海之恋心完成签到 ,获得积分10
20秒前
量子星尘发布了新的文献求助10
22秒前
止咳宝完成签到,获得积分10
23秒前
26秒前
眠眠清完成签到 ,获得积分0
26秒前
小米的稻田完成签到 ,获得积分10
28秒前
帆帆帆发布了新的文献求助10
28秒前
稳重紫蓝完成签到 ,获得积分10
29秒前
九日完成签到,获得积分10
30秒前
abab小王完成签到,获得积分10
31秒前
江十三发布了新的文献求助10
31秒前
zzznznnn发布了新的文献求助10
31秒前
32秒前
铜豌豆完成签到 ,获得积分10
34秒前
阿白完成签到 ,获得积分10
34秒前
cuddly完成签到 ,获得积分10
35秒前
量子星尘发布了新的文献求助10
38秒前
cdd完成签到,获得积分10
40秒前
moyeon完成签到,获得积分10
43秒前
争当科研巨匠完成签到,获得积分10
44秒前
票子完成签到 ,获得积分10
44秒前
火星上醉山完成签到 ,获得积分10
45秒前
45秒前
彩色亿先完成签到 ,获得积分10
46秒前
bobo完成签到 ,获得积分10
47秒前
步步高完成签到,获得积分10
48秒前
yulian完成签到,获得积分10
49秒前
自由的凌雪完成签到,获得积分10
50秒前
ChatGPT完成签到,获得积分10
51秒前
不想看文献完成签到 ,获得积分10
51秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Clinical Microbiology Procedures Handbook, Multi-Volume, 5th Edition 1000
扫描探针电化学 1000
Teaching Language in Context (Third Edition) 1000
Identifying dimensions of interest to support learning in disengaged students: the MINE project 1000
Introduction to Early Childhood Education 1000
List of 1,091 Public Pension Profiles by Region 941
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 遗传学 催化作用 冶金 量子力学 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 5438821
求助须知:如何正确求助?哪些是违规求助? 4549927
关于积分的说明 14221215
捐赠科研通 4470924
什么是DOI,文献DOI怎么找? 2450090
邀请新用户注册赠送积分活动 1441058
关于科研通互助平台的介绍 1417594