A Survey on Large Language Models in Software Security: Opportunities and Threats

作者
Md. Bajlur Rashid,Mohammad Shafayet Jamil Hossain,Mohammad Ishtiaque Khan,Sharaban Tahora,Aiasha Siddika,Mahmudul Islam Prakash,Sharmin Yeasmin,Hossain Shahriar
出处
期刊:Computers [Multidisciplinary Digital Publishing Institute]
卷期号:15 (4): 226-226 被引量:4
标识
DOI:10.3390/computers15040226
摘要

The rise of large language models (LLMs), such as GPT-4, Codex, Code Llama, Claude 3, CodeGemma and DeepSeek, etc., is changing the way software development is approached. These models provide strong support for tasks like writing codes, analyzing bugs, and automation. At the same time, their use in software development creates both opportunities and new risks. This survey reviews how LLMs are being used to improve security practices in software development, including vulnerability detection, secure code generation, threat analysis, and patch development. It also discusses how attackers may exploit LLMs for malicious purposes, such as writing malware, carrying out phishing campaigns, or bypassing defenses. We draw on case studies that show LLMs can help uncover zero-day vulnerabilities and speed up secure coding but also highlight cases where they have been misused to generate harmful code, sometimes unintentionally. The paper examines technical challenges like bias in training data, the difficulty of interpreting model outputs, and the risks of adversarial attacks. It also considers ethical and regulatory issues related to accountability, compliance, and responsible use. By bringing together findings from recent research and industry practice, the survey outlines future directions for building safer models, developing stronger defensive frameworks, and shaping policies that balance innovation with security. Overall, the paper argues for a careful approach where LLMs are used to strengthen software security while addressing the risks they introduce through collaboration, oversight, and ongoing improvements.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
幸会发布了新的文献求助10
刚刚
1秒前
1秒前
打打的应助被天天采纳,获得10
1秒前
传奇3的应助被一定要早睡早起采纳,获得10
1秒前
1秒前
1秒前
yinchuo完成签到,获得积分10
1秒前
Alano完成签到,获得积分10
1秒前
今日阅读量几何完成签到,获得积分20
2秒前
3秒前
星星完成签到,获得积分10
3秒前
2568269431完成签到 ,获得积分0
3秒前
4秒前
4秒前
lm发布了新的文献求助10
4秒前
4秒前
4秒前
Emdi发布了新的文献求助10
4秒前
4秒前
NexusExplorer的应助被独特背包采纳,获得10
5秒前
5秒前
5秒前
鸢尾发布了新的文献求助10
5秒前
博士生小孙完成签到,获得积分10
5秒前
5秒前
anM完成签到,获得积分10
5秒前
04d的应助被lpy采纳,获得10
6秒前
kimodi完成签到 ,获得积分10
6秒前
霓霓完成签到,获得积分10
6秒前
6秒前
6秒前
冷眼观潮完成签到,获得积分10
6秒前
gdsfgdf完成签到 ,获得积分10
7秒前
超级秋灵完成签到,获得积分10
7秒前
leonex完成签到,获得积分10
7秒前
7秒前
上官若男的应助被脑洞大开采纳,获得10
7秒前
黑夜发布了新的文献求助10
8秒前
chy发布了新的文献求助10
8秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Energie-Contracting 1500
Représentation chimique de la structure des kérogènes et des asphaltènes en fonction de leur origine et de leur degré d'évolution 1000
Klimaschutzrecht durch den Energiesektor im Mehrebenensystem – Ein Rechtsvergleich 1000
Oncology Clinical Trials: Successful Design, Conduct, and Analysis, Second Edition 800
Ecotourism 400
Comprehensive Heterocyclic Chemistry IV 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8060218
求助须知:如何正确求助?哪些是违规求助? 9484830
关于积分的说明 21328007
捐赠科研通 7628689
什么是DOI,文献DOI怎么找? 3395577
关于科研通互助平台的介绍 2526417
邀请新用户注册赠送积分活动 2434111