arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2408.10334cs.AI
收藏

伪装之狼比无牙之虎更危险:利用用户行为作为触发器的自适应恶意代码注入后门攻击

A Disguised Wolf Is More Harmful Than a Toothless Tiger: Adaptive Malicious Code Injection Backdoor Attack Leveraging User Behavior as Triggers

Beijing Jiaotong University(北京交通大学)

Shangxi Wu, Jitao Sang

AI总结:

本文提出博弈论模型,首次揭示攻击者可利用用户行为作为触发器,通过后门攻击动态调整恶意代码注入时机,对代码生成模型构成重大安全威胁。

摘要:

近年来,大型语言模型(LLMs)在代码生成领域取得了显著进展。然而,随着越来越多的用户依赖这些模型进行软件开发,代码生成模型相关的安全风险也变得越来越重要。研究表明,传统的深度学习鲁棒性问题也对代码生成领域产生了负面影响。在本文中,我们首先提出了一个聚焦于代码生成场景中安全问题的博弈论模型。该框架概述了攻击者可能传播恶意代码模型以制造安全威胁的可能场景和模式。我们还首次指出,攻击者可以利用后门攻击动态调整恶意代码注入的时机,根据用户的技能水平释放不同程度的恶意代码。通过对领先的代码生成模型进行大量实验,我们验证了我们提出的博弈论模型,并强调了这些新型攻击场景对代码模型安全使用所构成的重大威胁。

英文摘要:

In recent years, large language models (LLMs) have made significant progress in the field of code generation. However, as more and more users rely on these models for software development, the security risks associated with code generation models have become increasingly significant. Studies have shown that traditional deep learning robustness issues also negatively impact the field of code generation. In this paper, we first present the game-theoretic model that focuses on security issues in code generation scenarios. This framework outlines possible scenarios and patterns where attackers could spread malicious code models to create security threats. We also pointed out for the first time that the attackers can use backdoor attacks to dynamically adjust the timing of malicious code injection, which will release varying degrees of malicious code depending on the skill level of the user. Through extensive experiments on leading code generation models, we validate our proposed game-theoretic model and highlight the significant threats that these new attack scenarios pose to the safe use of code models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑