SHIELD:阻止代码作者身份归属
SHIELD: Thwarting Code Authorship Attribution
AI总结:
本文提出 SHIELD,通过对抗性代码扰动实施定向与非定向攻击,评估六种代码作者归属方法,证明其易被规避或冒充。
摘要:
作者身份归属已变得越来越准确,这给希望保持匿名的程序员带来了严重的隐私风险。在本文中,我们提出 SHIELD,用以检验不同代码作者身份归属方法面对对抗性代码示例时的鲁棒性。我们针对归属技术定义了四种攻击,包括定向攻击和非定向攻击,并通过对抗性代码扰动加以实现。我们使用来自 Google Code Jam 竞赛的 200 名程序员数据集进行实验,以验证我们针对六种最先进作者身份归属方法的方案;这些方法采用多种从源代码中提取作者特征的技术,包括 RNN、CNN 和代码风格计量。实验证明了当前作者身份归属方法在对抗性攻击下的脆弱性。对于非定向攻击,实验表明当前方法在该攻击下存在脆弱性,攻击成功率超过 98.5%,同时识别置信度下降超过 13%。对于定向攻击,我们展示了利用定向对抗性扰动冒充某名程序员的可能性;在若干对抗场景下,针对不同作者身份归属技术,其成功率为 66% 至 88%。
英文摘要:
Authorship attribution has become increasingly accurate, posing a serious privacy risk for programmers who wish to remain anonymous. In this paper, we introduce SHIELD to examine the robustness of different code authorship attribution approaches against adversarial code examples. We define four attacks on attribution techniques, which include targeted and non-targeted attacks, and realize them using adversarial code perturbation. We experiment with a dataset of 200 programmers from the Google Code Jam competition to validate our methods targeting six state-of-the-art authorship attribution methods that adopt a variety of techniques for extracting authorship traits from source-code, including RNN, CNN, and code stylometry. Our experiments demonstrate the vulnerability of current authorship attribution methods against adversarial attacks. For the non-targeted attack, our experiments demonstrate the vulnerability of current authorship attribution methods against the attack with an attack success rate exceeds 98.5\% accompanied by a degradation of the identification confidence that exceeds 13\%. For the targeted attacks, we show the possibility of impersonating a programmer using targeted-adversarial perturbations with a success rate ranging from 66\% to 88\% for different authorship attribution techniques under several adversarial scenarios.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。