Insecure Coding Preferences in Long-Term Memory: Security Risks for LLM-based Code Generation

arXiv:2607.17619 · cs.CR · Submitted 2026-07-20 · Read on arXiv

Yuchen Chen, Wei Cheng, Yuan Xiao, Zhou Yang, Weifeng Sun, Chunrong Fang, Xiang Chen, Baowen Xu, David Lo, Zhenyu Chen

cs.CR

Submitted: 2026-07-20

Comments: Accepted to the 35th ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA 2026)

Code: https://github.com/filestack/filestack-python

License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/

Terminology

Sources

Related papers