Lune

USENIX Security2023顶会

CodexLeaks: Privacy Leaks from Code Generation Language Models in GitHub Copilot

Liang Niu, Muhammad Shujaat Mirza, Zayd Maradni, Christina Pöpper

出版方
2023年份
18顶会引用

摘要

Code generation language models are trained on billions of lines of source code to provide code generation and autocompletion features, like those offered by code assistant GitHub Copilot with more than a million users. These datasets may contain sensitive personal information-personally identifiable, private, or secret-that these models may regurgitate. This paper introduces and evaluates a semi-automated pipeline for extracting sensitive personal information from the Codex model used in GitHub Copilot. We employ carefullydesigned templates to construct prompts that are more likely to result in privacy leaks. To overcome the non-public training data, we propose a semi-automated filtering method using a blind membership inference attack. We validate the effectiveness of our membership inference approach on different code generation models. We utilize hit rate through the GitHub Search API as a distinguishing heuristic followed by humanin-the-loop evaluation, uncovering that approximately 8% (43) of the prompts yield privacy leaks. Notably, we observe that the model tends to produce indirect leaks, compromising privacy as contextual integrity by generating information from individuals closely related to the queried subject in the training corpus.

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

引用它的顶会 Paper18

问问它们各自怎么用它

它引用的顶会 Paper19

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖