AI Paper Atlas

Research map / Adversarial robustness and security / Attacks on text and graphs

Vulnerable Code Search: Transferable Attack for Code Language Models

Kaicheng Wang, Liyan Huang, Jesse Thomason, Weihang Wang

EMNLP 2026Adversarial robustness and security › Attacks on text and graphsapproach: LLM jailbreak and injection defenseopen problems in this approach0 citations (OpenAlex)

University of Southern California

Read the paperPlace an idea next to itCheck your own paper ↗

13measured effects
7improved
2no clear effect
4hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace 10% of irrelevant candidates with adversarial snippetsCodeT5+ / OASIS / Nomic / Voyage-code-3 · CosQAMRR: e.g. Nomic 83.03 -> 5.95; Voyage 87.06 -> 9.52Hurt
use transferred attack instead of DAMP (white-box)OASIS · CosQADelta Sim: 10.45 -> 18.66, 81 mins -> 47 minsImproved
use transferred attack instead of CodeAttack (black-box)Voyage-code-3 · CosQADelta Sim: 5.18 -> 28.03; ~10.8M calls -> 1k callsImproved
insert two adversarial candidate snippetsGPT-5.4-mini · RepoQA (Python)accuracy: 96 -> 81Hurt
insert two adversarial candidate snippetsGemini-3.1-Pro · RepoQA (C++)accuracy: 92 -> 72Hurt
add gradient guidance (ablation)attack · CosQA, eval CodeT5+Delta Sim: 30.91 -> 38.86Improved
add style preservation (ablation)attack · CosQA, eval CodeT5+Delta Sim: 39.48 (w/o) vs 38.86No clear effect
add style preservation (ablation)attack on LLMs · RepoQA (Python, GPT-5.4-mini)accuracy: 93 -> 81 (accuracy lowered more with style)Improved
add query token similarity (ablation)attack · CosQA, eval Nomic-embed-codeDelta Sim: 22.68 -> 39.25Improved
add query token similarity (ablation)attack on LLMs · RepoQA (Python, GPT-5.4-mini)accuracy: 89 -> 81 (accuracy lowered more with QTS)Improved
robust-only finetuningCodeT5+ · CosQA retrievalR@5: 88.0 -> 42.6Hurt
mixed finetuningCodeT5+ · adaptive attack on finetuned checkpointDelta Sim: FT-CodeT5+ attack 34.70 (still vulnerable)No clear effect

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy