17 papers
Understanding and Improving Model Editing for Secure Code Generation
Weifeng Sun, Quanjun Zhang, Yuchen Chen +3
Large language models (LLMs) are widely used for code generation, yet they can reproduce vulnerable implementations learned from insecure training patterns. Prior work has mainly e…
How Reasoning Shapes Social Bias in LLM-Generated Code?
Weifeng Sun, Jieke Shi, Zhou Yang +4
Large language models (LLMs) are increasingly used for code generation, yet generated programs may exhibit social bias through unfair or differential treatment of sensitive demogra…
Breaking Customized LLMs for Coding: Automated Red Teaming for Instruction Backdoor Attacks
Yuchen Chen, Wei Cheng, Yuan Xiao +5
LLM customization platforms allow users to build task-specific models for code intelligence tasks by embedding instructions into system prompts, without modifying the underlying mo…
SciCodePile: A 128GB Corpus and Executable Benchmark for Challenging Scientific Code Generation
Weifeng Sun, Ye Fan, Yuchen Chen +6
Large language models (LLMs) excel at general-purpose code generation, yet how well they handle scientific code remains an open question. Existing datasets and benchmarks are limit…
Insecure Coding Preferences in Long-Term Memory: Security Risks for LLM-based Code Generation
Yuchen Chen, Wei Cheng, Yuan Xiao +7
LLM-based systems increasingly incorporate long-term memory to improve cross-session continuity. However, once insecure coding preferences are stored, they may silently influence s…
Securing Code Understanding: Detecting Natural Backdoor Vulnerability in Code Language Models
Yuchen Chen, Weisong Sun, Haocheng Huang +11
Code Language Models (CodeLMs) have become integral to software engineering, significantly advancing code intelligence tasks. However, their widespread adoption has raised critical…