2023

TrojanPuzzle: Covertly Poisoning Code-Suggestion Models

Aghakhani, Hojjat, Dai, Wei, Manoel, Andre et al.

Understand

With tools like GitHub Copilot, automatic code suggestion is no longer a dream in software engineering.

  • These tools, based on large language models, are typically trained on massive corpora of code mined from unvetted public sources.
  • As a result, these models are susceptible to data poisoning attacks where an adversary manipulates the model's training by injecting malicious data.
  • Poisoning attacks could be designed to influence the model's suggestions at run time for chosen contexts, such as inducing the model into suggesting insecure code payloads.

Reading the bibliography…