paper-with-me

Papers

Fun-tuning: Characterizing the Vulnerability of Proprietary LLMs to Optimization-based Prompt Injection Attacks via the Fine-Tuning Interface

2025-01-16 · Andrey Labunets, Nishit V. Pandya, Ashish Hooda, Xiaohan Fu, Earlence Fernandes

We surface a new threat to closed-weight Large Language Models (LLMs) that enables an attacker to compute optimization-based prompt injections. Specifically, we characterize how an attacker can leverage the loss-like information returned from the remote fine-tuning interface to guide the search for adversarial prompts. The fine-tuning interface is hosted by an LLM vendor and allows developers to fine-tune LLMs for their tasks, thus providing utility, but also exposes enough information for an attacker to compute adversarial prompts. Through an experimental analysis, we characterize the loss-like values returned by the Gemini fine-tuning API and demonstrate that they provide a useful signal for discrete optimization of adversarial prompts using a greedy search algorithm. Using the PurpleLlama prompt injection benchmark, we demonstrate attack success rates between 65% and 82% on Google's Gemini family of LLMs. These attacks exploit the classic utility-security tradeoff - the fine-tuning interface provides a useful feature for developers but also exposes the LLMs to powerful attacks.

📄 PDF Abstract BibTeX arXiv:2501.09798

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Can You Really Trust Code Copilots? Evaluating Large Language Models from a Code Security Perspective

2025-05-15 · Yutao Mou, Xiao Deng, Yuxiao Luo, Shikun Zhang 외

Code security and usability are both essential for various coding assistant applications driven by large language models (LLMs). Current code security benchmarks focus solely on single evaluation task and paradigm, such …

Code CompletionCode GenerationVulnerability Detection

Evaluating Large Language Models for Security Bug Report Prediction

2026-01-30 · Farnaz Soltaniani, Shoaib Razzaq, Mohammad Ghafari arxiv

Early detection of security bug reports (SBRs) is critical for timely vulnerability mitigation. We present an evaluation of prompt-based engineering and fine-tuning approaches for predicting SBRs using Large Language Mod…

Improving LLM Reasoning for Vulnerability Detection via Group Relative Policy Optimization

2025-07-03 · Marco Simoni, Aleksandar Fontana, Giulio Rossolini, Andrea Saracino arxiv

Improving and understanding the training dynamics and reasoning of Large Language Models (LLMs) has become essential for their deployment in AI-based security tools, such as software vulnerability detection. In this work…

Vulnerability Detection

Boosting Vulnerability Detection of LLMs via Curriculum Preference Optimization with Synthetic Reasoning Data

2025-06-09 · Xin-Cheng Wen, Yijun Yang, Cuiyun Gao, Yang Xiao 외

Large language models (LLMs) demonstrate considerable proficiency in numerous coding-related tasks; however, their capabilities in detecting software vulnerabilities remain limited. This limitation primarily stems from t…

Learning Semantic RepresentationsTripletVulnerability Detection

Security Assessment of DeepSeek and GPT Series Models against Jailbreak Attacks

2025-06-23 · Xiaodong Wu, Xiangman Li, Jianbing Ni

The widespread deployment of large language models (LLMs) has raised critical concerns over their vulnerability to jailbreak attacks, i.e., adversarial prompts that bypass alignment mechanisms and elicit harmful or polic…

Mixture-of-ExpertsSafety Alignment