paper-with-me

홈 › Papers

Casting a SPELL: Sentence Pairing Exploration for LLM Limitation-breaking

2025-12-24 · Yifan Huang, Xiaojun Jia, Wenbo Guo, Yuqiang Sun, Yihao Huang, Chong Wang, Yang Liu arxiv

Large language models (LLMs) have revolutionized software development through AI-assisted coding tools, enabling developers with limited programming expertise to create sophisticated applications. However, this accessibility extends to malicious actors who may exploit these powerful tools to generate harmful software. Existing jailbreaking research primarily focuses on general attack scenarios against LLMs, with limited exploration of malicious code generation as a jailbreak target. To address this gap, we propose SPELL, a comprehensive testing framework specifically designed to evaluate the weakness of security alignment in malicious code generation. Our framework employs a time-division selection strategy that systematically constructs jailbreaking prompts by intelligently combining sentences from a prior knowledge dataset, balancing exploration of novel attack patterns with exploitation of successful techniques. Extensive evaluation across three advanced code models (GPT-4.1, Claude-3.5, and Qwen2.5-Coder) demonstrates SPELL's effectiveness, achieving attack success rates of 83.75%, 19.38%, and 68.12% respectively across eight malicious code categories. The generated prompts successfully produce malicious code in real-world AI development tools such as Cursor, with outputs confirmed as malicious by state-of-the-art detection systems at rates exceeding 73%. These findings reveal significant security gaps in current LLM implementations and provide valuable insights for improving AI safety alignment in code generation applications.

📄 PDF Abstract BibTeX arXiv:2512.21236

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

EdaCSC: Two Easy Data Augmentation Methods for Chinese Spelling Correction

2024-09-08 · Lei Sheng, Shuai-Shuai Xu

Chinese Spelling Correction (CSC) aims to detect and correct spelling errors in Chinese sentences caused by phonetic or visual similarities. While current CSC models integrate pinyin or glyph features and have shown sign…

Data AugmentationSpelling Correction

Exploration and Exploitation: Two Ways to Improve Chinese Spelling Correction Models

2021-05-31 · ACL 2021 5 · Chong Li, Cenyuan Zhang, Xiaoqing Zheng, Xuanjing Huang

A sequence-to-sequence learning with neural networks has empirically proven to be an effective framework for Chinese Spelling Correction (CSC), which takes a sentence with some spelling errors as input and outputs the co…

SentenceSpelling CorrectionVocal Bursts Valence Prediction

ChatBCI: A P300 Speller BCI Leveraging Large Language Models for Improved Sentence Composition in Realistic Scenarios

2024-11-23 · Jiazhen Hong, Weinan Wang, Laleh Najafizadeh

P300 speller BCIs allow users to compose sentences by selecting target keys on a GUI through the detection of P300 component in their EEG signals following visual stimuli. Most P300 speller BCIs require users to spell wo…

EEGSentenceTask 2Zero-Shot Learning

Unveiling the Impact of Multimodal Features on Chinese Spelling Correction: From Analysis to Design

2025-04-10 · Xiaowu Zhang, Hongfei Zhao, Jingyi Hou, Zhijie Liu

The Chinese Spelling Correction (CSC) task focuses on detecting and correcting spelling errors in sentences. Current research primarily explores two approaches: traditional multimodal pre-trained models and large languag…

Spelling Correction

MDCSpell: A Multi-task Detector-Corrector Framework for Chinese Spelling Correction

2022-05-01 · Findings (ACL) 2022 5 · Chenxi Zhu, Ziqiang Ying, Boyu Zhang, Feng Mao

Chinese Spelling Correction (CSC) is a task to detect and correct misspelled characters in Chinese texts. CSC is challenging since many Chinese characters are visually or phonologically similar but with quite different s…

SentenceSpelling Correction